diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-12 20:23:36 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:48 +0000 |
commit | 6e5fbea644646afa82130be9bf366d866c9838ca (patch) | |
tree | a671d873b76bf8ca581b733b96f9148c52e4b7da /src/cgame/cg_main.c | |
parent | ea793aff3bddd1792dc223cf946b33ed1318fd7f (diff) |
* Move more things to cgame
* Bring back "teamoverlay" cvar and default it to 1
* Add "cg_chatTeamPrefix" cvar
Diffstat (limited to 'src/cgame/cg_main.c')
-rw-r--r-- | src/cgame/cg_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 3be1782f..d7076a10 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -153,6 +153,7 @@ vmCvar_t cg_synchronousClients; vmCvar_t cg_stats; vmCvar_t cg_paused; vmCvar_t cg_blood; +vmCvar_t cg_teamOverlayUserinfo; vmCvar_t cg_teamChatsOnly; vmCvar_t cg_noPrintDuplicate; vmCvar_t cg_noVoiceChats; @@ -214,6 +215,7 @@ vmCvar_t cg_voice; vmCvar_t cg_emoticons; +vmCvar_t cg_chatTeamPrefix; typedef struct { @@ -268,6 +270,7 @@ static cvarTable_t cvarTable[ ] = { &cg_thirdPersonPitchFollow, "cg_thirdPersonPitchFollow", "0", 0 }, { &cg_thirdPersonShoulderViewMode, "cg_thirdPersonShoulderViewMode", "1", CVAR_ARCHIVE }, { &cg_stats, "cg_stats", "0", 0 }, + { &cg_teamOverlayUserinfo, "teamoverlay", "1", CVAR_ARCHIVE|CVAR_USERINFO }, { &cg_teamChatsOnly, "cg_teamChatsOnly", "0", CVAR_ARCHIVE }, { &cg_noPrintDuplicate, "cg_noPrintDuplicate", "0", CVAR_ARCHIVE }, { &cg_noVoiceChats, "cg_noVoiceChats", "0", CVAR_ARCHIVE }, @@ -341,7 +344,9 @@ static cvarTable_t cvarTable[ ] = { &cg_voice, "voice", "default", CVAR_USERINFO|CVAR_ARCHIVE}, - { &cg_emoticons, "cg_emoticons", "1", CVAR_LATCH|CVAR_ARCHIVE} + { &cg_emoticons, "cg_emoticons", "1", CVAR_LATCH|CVAR_ARCHIVE}, + + { &cg_chatTeamPrefix, "cg_chatTeamPrefix", "1", CVAR_ARCHIVE} }; static int cvarTableSize = sizeof( cvarTable ) / sizeof( cvarTable[0] ); |