summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-04-09 22:05:35 +0000
committerTim Angus <tim@ngus.net>2006-04-09 22:05:35 +0000
commit25fcd1f90c39ce5c7eb4dfab0fedb4388ad4289c (patch)
tree9680d9ae32cd6fb4cfcfc175a2c4446d237c969c /src/game/g_local.h
parentcf9b7835e0f7021739bc620ac51c6081036faaee (diff)
* Removed CS_SCORE? config strings -- they were unused
* Moved server command queuing from game to server -- sv_dequeuePeriod probably needs to be lowered * Added g_friendlyBuildableFire to enable friendly buildable fire
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 82f294b0..874afeee 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -717,30 +717,7 @@ void AddRemap(const char *oldShader, const char *newShader, float timeOff
const char *BuildShaderStateConfig( void );
-#define MAX_QUEUE_COMMANDS 64 //should be MAX_RELIABLE_COMMANDS/server.h
-
-typedef struct commandQueueElement_s
-{
- qboolean used;
- struct commandQueueElement_s *next;
- char command[ MAX_TOKEN_CHARS ];
-} commandQueueElement_t;
-
-typedef struct commandQueue_s
-{
- int nextCommandTime; //next time that the queue can be popped
-
- int numElements;
- commandQueueElement_t *front;
- commandQueueElement_t *back;
-
- commandQueueElement_t pool[ MAX_QUEUE_COMMANDS ];
-} commandQueue_t;
-
qboolean G_ClientIsLagging( gclient_t *client );
-void G_ProcessCommandQueues( void );
-void G_SendCommandFromServer( int clientNum, const char *cmd );
-void G_InitCommandQueue( int clientNum );
void G_TriggerMenu( int clientNum, dynMenu_t menu );
void G_CloseMenus( int clientNum );
@@ -1034,6 +1011,7 @@ extern vmCvar_t g_minCommandPeriod;
extern vmCvar_t g_timelimit;
extern vmCvar_t g_suddenDeathTime;
extern vmCvar_t g_friendlyFire;
+extern vmCvar_t g_friendlyBuildableFire;
extern vmCvar_t g_password;
extern vmCvar_t g_needpass;
extern vmCvar_t g_gravity;