diff options
Diffstat (limited to 'code/game')
-rw-r--r-- | code/game/be_ai_move.h | 2 | ||||
-rw-r--r-- | code/game/g_local.h | 2 | ||||
-rw-r--r-- | code/game/g_main.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/code/game/be_ai_move.h b/code/game/be_ai_move.h index fb80819..0aed6d7 100644 --- a/code/game/be_ai_move.h +++ b/code/game/be_ai_move.h @@ -100,6 +100,8 @@ typedef struct bot_moveresult_s vec3_t ideal_viewangles; //ideal viewangles for the movement } bot_moveresult_t; +#define bot_moveresult_t_cleared(x) bot_moveresult_t (x) = {0, 0, 0, 0, 0, 0, 0, {0, 0, 0}, {0, 0, 0}} + // bk001204: from code/botlib/be_ai_move.c // TTimo 04/12/2001 was moved here to avoid dup defines typedef struct bot_avoidspot_s diff --git a/code/game/g_local.h b/code/game/g_local.h index 0157d24..4ae76fc 100644 --- a/code/game/g_local.h +++ b/code/game/g_local.h @@ -490,7 +490,7 @@ void G_AddPredictableEvent( gentity_t *ent, int event, int eventParm ); void G_AddEvent( gentity_t *ent, int event, int eventParm ); void G_SetOrigin( gentity_t *ent, vec3_t origin ); void AddRemap(const char *oldShader, const char *newShader, float timeOffset); -const char *BuildShaderStateConfig(); +const char *BuildShaderStateConfig( void ); // // g_combat.c diff --git a/code/game/g_main.c b/code/game/g_main.c index c8771b4..d292da1 100644 --- a/code/game/g_main.c +++ b/code/game/g_main.c @@ -316,7 +316,7 @@ void G_FindTeams( void ) { G_Printf ("%i teams with %i entities\n", c, c2); } -void G_RemapTeamShaders() { +void G_RemapTeamShaders( void ) { #ifdef MISSIONPACK char string[1024]; float f = level.time * 0.001; |