[quake3-commits] r2263 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 18 12:23:44 EDT 2012


Author: ztm
Date: 2012-06-18 12:23:43 -0400 (Mon, 18 Jun 2012)
New Revision: 2263

Modified:
   trunk/code/game/g_local.h
   trunk/code/game/g_mover.c
Log:
remove a bunch of unused stuff from game

>From /dev/humancontroller.

Modified: trunk/code/game/g_local.h
===================================================================
--- trunk/code/game/g_local.h	2012-06-18 16:17:39 UTC (rev 2262)
+++ trunk/code/game/g_local.h	2012-06-18 16:23:43 UTC (rev 2263)
@@ -118,7 +118,6 @@
 
 	int			timestamp;		// body queue sinking, etc
 
-	float		angle;			// set in editor, -1 = up, -2 = down
 	char		*target;
 	char		*targetname;
 	char		*team;
@@ -214,11 +213,6 @@
 	float		lastfraggedcarrier;
 } playerTeamState_t;
 
-// the auto following clients don't follow a specific client
-// number, but instead follow the first two active players
-#define	FOLLOW_ACTIVE1	-1
-#define	FOLLOW_ACTIVE2	-2
-
 // client data that stays across multiple levels or tournament restarts
 // this is achieved by writing all the data to cvar strings at game shutdown
 // time and reading them back at connection time.  Anything added here
@@ -479,7 +473,6 @@
 qboolean	G_EntitiesFree( void );
 
 void	G_TouchTriggers (gentity_t *ent);
-void	G_TouchSolids (gentity_t *ent);
 
 float	*tv (float x, float y, float z);
 char	*vtos( const vec3_t v );
@@ -575,8 +568,6 @@
 void CopyToBodyQue( gentity_t *ent );
 void ClientRespawn(gentity_t *ent);
 void BeginIntermission (void);
-void InitClientPersistant (gclient_t *client);
-void InitClientResp (gclient_t *client);
 void InitBodyQue (void);
 void ClientSpawn( gentity_t *ent );
 void player_die (gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int mod);
@@ -600,24 +591,14 @@
 #endif
 
 //
-// p_hud.c
-//
-void MoveClientToIntermission (gentity_t *client);
-void G_SetStats (gentity_t *ent);
-void DeathmatchScoreboardMessage (gentity_t *client);
-
-//
 // g_cmds.c
 //
+void DeathmatchScoreboardMessage( gentity_t *ent );
 
 //
-// g_pweapon.c
-//
-
-
-//
 // g_main.c
 //
+void MoveClientToIntermission( gentity_t *ent );
 void FindIntermissionPoint( void );
 void SetLeader(int team, int client);
 void CheckTeamLeader( int team );

Modified: trunk/code/game/g_mover.c
===================================================================
--- trunk/code/game/g_mover.c	2012-06-18 16:17:39 UTC (rev 2262)
+++ trunk/code/game/g_mover.c	2012-06-18 16:23:43 UTC (rev 2263)
@@ -33,8 +33,6 @@
 ===============================================================================
 */
 
-void MatchTeam( gentity_t *teamLeader, int moverState, int time );
-
 typedef struct {
 	gentity_t	*ent;
 	vec3_t	origin;



More information about the quake3-commits mailing list