summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 11:44:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:17 +0000
commit6423db17d25884730ec3d8d87c6e4f17b7ae1f84 (patch)
tree0312f955730888e19353f3805c1f1a6eb214e81d /src/game/g_local.h
parent122de31ac2834809fb15088eda6f5278d4525fb1 (diff)
* Remove some unused state structures from game
* Remove some unused (mainly baseq3) cgame cvars
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 8f5a19a9..cc15d89b 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -258,31 +258,6 @@ typedef enum
CON_CONNECTED
} clientConnected_t;
-typedef enum
-{
- TEAM_BEGIN, // Beginning a team game, spawn at base
- TEAM_ACTIVE // Now actively playing
-} playerTeamStateState_t;
-
-typedef struct
-{
- playerTeamStateState_t state;
-
- int location;
-
- int captures;
- int basedefense;
- int carrierdefense;
- int flagrecovery;
- int fragcarrier;
- int assists;
-
- float lasthurtcarrier;
- float lastreturnedflag;
- float flagsince;
- 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
@@ -325,7 +300,7 @@ typedef struct
char netname[ MAX_NETNAME ];
int maxHealth; // for handicapping
int enterTime; // level.time the client entered the game
- playerTeamState_t teamState; // status in teamplay games
+ int location; // player locations
int voteCount; // to prevent people from constantly calling votes
qboolean teamInfo; // send team overlay updates?