aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-02 20:13:47 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-02 20:13:47 +0000
commit122fe646235067bae2a620f877a6d76af067d7f3 (patch)
tree136082c7dd759e9bb4cfab0a1668d3b43af984c1 /code/game
parentf5de4773415589c3e6ed64f9f67479b4f8bb9668 (diff)
downloadioquake3-aero-122fe646235067bae2a620f877a6d76af067d7f3.tar.gz
ioquake3-aero-122fe646235067bae2a620f877a6d76af067d7f3.zip
Cleanups from pomac!
git-svn-id: svn://svn.icculus.org/quake3/trunk@67 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/game')
-rw-r--r--code/game/be_ai_move.h2
-rw-r--r--code/game/g_local.h2
-rw-r--r--code/game/g_main.c2
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;