Cleanups from pomac!

This commit is contained in:
Zachary Slater 2005-09-02 20:13:47 +00:00
parent b0fc4a7b6e
commit f327407bb8
36 changed files with 155 additions and 195 deletions

View file

@ -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

View file

@ -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

View file

@ -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;