diff options
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index 01b6ef5c..f1fa6b11 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -304,6 +304,7 @@ typedef struct int location; // player locations int voteCount; // to prevent people from constantly calling votes qboolean teamInfo; // send team overlay updates? + float flySpeed; // for spectator/noclip moves class_t classSelection; // player class (copied to ent->client->ps.stats[ STAT_CLASS ] once spawned) float evolveHealthFraction; @@ -637,14 +638,15 @@ typedef struct int emoticonCount; } level_locals_t; -#define CMD_CHEAT 0x01 -#define CMD_MESSAGE 0x02 // sends message to others (skip when muted) -#define CMD_TEAM 0x04 // must be on a team -#define CMD_SPEC 0x08 // must be in spectator mode -#define CMD_ALIEN 0x10 -#define CMD_HUMAN 0x20 -#define CMD_LIVING 0x40 -#define CMD_INTERMISSION 0x80 // valid during intermission +#define CMD_CHEAT 0x0001 +#define CMD_CHEAT_TEAM 0x0002 // is a cheat when used on a team +#define CMD_MESSAGE 0x0004 // sends message to others (skip when muted) +#define CMD_TEAM 0x0008 // must be on a team +#define CMD_SPEC 0x0010 // must be in spectator mode +#define CMD_ALIEN 0x0020 +#define CMD_HUMAN 0x0040 +#define CMD_LIVING 0x0080 +#define CMD_INTERMISSION 0x0100 // valid during intermission typedef struct { @@ -730,7 +732,7 @@ gentity_t *G_CheckSpawnPoint( int spawnNum, vec3_t origin, vec3_t normal buildable_t G_IsPowered( vec3_t origin ); qboolean G_IsDCCBuilt( void ); int G_FindDCC( gentity_t *self ); -qboolean G_IsOvermindBuilt( void ); +qboolean G_FindOvermind( gentity_t *self ); qboolean G_FindCreep( gentity_t *self ); void G_BuildableThink( gentity_t *ent, int msec ); |