From 122de31ac2834809fb15088eda6f5278d4525fb1 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Sat, 3 Oct 2009 11:44:02 +0000 Subject: * voice chat stuff (no, not like TeamSpeak) --- src/game/g_local.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/game/g_local.h') 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; -- cgit