sr for disturbing you once more
but i got a probl in adding waypoints:
- in cgme he tells me this:
cg_commandmap.c
C:\etmoding\sf\src\cgame\cg_commandmap.c(1146) : error C2065: ‘WAYP_ATTACK’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_commandmap.c(1146) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_commandmap.c(1147) : error C2065: ‘WAYP_DEFEND’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_commandmap.c(1147) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_commandmap.c(1148) : error C2065: ‘WAYP_REGROUP’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_commandmap.c(1148) : error C2051: case expression not constant
cg_draw.c
C:\etmoding\sf\src\cgame\cg_draw.c(3862) : error C2065: ‘WAYP_ATTACK’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_draw.c(3862) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_draw.c(3865) : error C2065: ‘WAYP_DEFEND’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_draw.c(3865) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_draw.c(3868) : error C2065: ‘WAYP_REGROUP’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_draw.c(3868) : error C2051: case expression not constant
cg_ents.c
C:\etmoding\sf\src\cgame\cg_ents.c(1487) : error C2065: ‘WAYP_ATTACK’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_ents.c(1487) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_ents.c(1490) : error C2065: ‘WAYP_DEFEND’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_ents.c(1490) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_ents.c(1493) : error C2065: ‘WAYP_REGROUP’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_ents.c(1493) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_ents.c(1498) : error C2065: ‘WAYP_BOT’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_ents.c(1498) : error C2051: case expression not constant
C:\etmoding\sf\src\cgame\cg_ents.c(1502) : error C2065: ‘WAYP_BOTQUEUED’ : undeclared identifier
C:\etmoding\sf\src\cgame\cg_ents.c(1502) : error C2051: case expression not constant
as what do ive to declare these?
then in game:
c:\etmoding\sf\src\game\g_local.h(2089) : error C2146: syntax error : missing ‘)’ before identifier ‘wayPointType’
c:\etmoding\sf\src\game\g_local.h(2089) : error C2081: ‘wayPointType_t’ : name in formal parameter list illegal
c:\etmoding\sf\src\game\g_local.h(2089) : error C2061: syntax error : identifier ‘wayPointType’
c:\etmoding\sf\src\game\g_local.h(2089) : error C2059: syntax error : ‘;’
he tells me this over 290 times and refers to
void G_SetWayPoint( gentity_t* ent, wayPointType_t wayPointType, vec3_t loc );
is anybody able to give an advise? [/quote]