summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index d4e5b61a..8f5a19a9 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -356,6 +356,7 @@ typedef struct
qboolean muted;
qboolean denyBuild;
int adminLevel;
+ char voice[ MAX_VOICE_NAME_LEN ];
} clientPersistant_t;
#define MAX_UNLAGGED_MARKERS 10
@@ -452,6 +453,9 @@ struct gclient_s
unlagged_t unlaggedBackup;
unlagged_t unlaggedCalc;
int unlaggedTime;
+
+ float voiceEnthusiasm;
+ char lastVoiceCmd[ MAX_VOICE_CMD_LEN ];
int lcannonStartTime;
@@ -638,6 +642,8 @@ typedef struct
char layout[ MAX_QPATH ];
team_t surrenderTeam;
+
+ voice_t *voices;
} level_locals_t;
#define CMD_CHEAT 0x01
@@ -1151,6 +1157,9 @@ extern vmCvar_t g_currentMap;
extern vmCvar_t g_initialMapRotation;
extern vmCvar_t g_chatTeamPrefix;
+extern vmCvar_t g_debugVoices;
+extern vmCvar_t g_voiceChats;
+
extern vmCvar_t g_shove;
extern vmCvar_t g_mapConfigs;