summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorPaweł Redman <trem.redman@gmail.com>2013-09-09 23:24:54 +0200
committerPaweł Redman <trem.redman@gmail.com>2013-09-09 23:24:54 +0200
commit37b8af1e6eb90378f1290b5130c8b6882b06a219 (patch)
tree1f8c00819cf59b7147e657dcb90d9ccc2e0d7989 /src/game/g_local.h
parent27a16fb1fa69d458fb10e6437eb07b85496b46b8 (diff)
0.1.3
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index a8c78b0..f836875 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -597,6 +597,7 @@ typedef struct
int voteYes[ NUM_TEAMS ];
int voteNo[ NUM_TEAMS ];
int numVotingClients[ NUM_TEAMS ];// set by CalculateRanks
+ qboolean voteAborted[ NUM_TEAMS ]; // true if ended by an admin
// spawn variables
qboolean spawning; // the G_Spawn*() functions are valid
@@ -833,6 +834,7 @@ void G_BuildLogAuto( gentity_t *actor, gentity_t *buildable, buildF
void G_BuildLogRevert( int id );
const char *G_CuboidName(buildable_t buildable, const vec3_t cuboidSize, qboolean verbose);
void G_LayoutBuildItem( buildable_t buildable, vec3_t origin, vec3_t angles, vec3_t origin2, vec3_t angles2 );
+void G_RemoveUnbuiltBuildables( gentity_t *self );
//
// g_utils.c
@@ -1143,6 +1145,11 @@ extern vmCvar_t g_allowVote;
extern vmCvar_t g_voteLimit;
extern vmCvar_t g_suddenDeathVotePercent;
extern vmCvar_t g_suddenDeathVoteDelay;
+extern vmCvar_t g_mapVotePercent;
+extern vmCvar_t g_mapVoteTimelimit;
+extern vmCvar_t g_restartVotePercent;
+extern vmCvar_t g_restartVoteTimelimit;
+extern vmCvar_t g_drawVotePercent;
extern vmCvar_t g_teamForceBalance;
extern vmCvar_t g_smoothClients;
extern vmCvar_t pmove_fixed;
@@ -1217,6 +1224,7 @@ extern vmCvar_t g_cuboidSizeLimit;
extern vmCvar_t g_buildableDensityLimit;
extern vmCvar_t g_buildableDensityLimitRange;
+
void trap_Print( const char *fmt );
void trap_Error( const char *fmt );
int trap_Milliseconds( void );