Re-format code/game/g_main.c
This commit is contained in:
@@ -144,7 +144,7 @@ vmCvar_t g_elimination_ctf_oneway;
|
||||
vmCvar_t g_awardpushing; // The server can decide if players are awarded for pushing people in lave etc.
|
||||
vmCvar_t g_persistantpowerups; // Allow missionpack style persistant powerups?
|
||||
|
||||
vmCvar_t g_catchup; //Favors the week players
|
||||
vmCvar_t g_catchup; // Favors the weak players
|
||||
|
||||
vmCvar_t g_autonextmap; // Autochange map
|
||||
vmCvar_t g_mappools; // mappools to be used for autochange
|
||||
@@ -160,7 +160,7 @@ vmCvar_t g_maxvotes;
|
||||
|
||||
vmCvar_t g_humanplayers;
|
||||
|
||||
//used for voIP
|
||||
// Used for voIP
|
||||
vmCvar_t g_redTeamClientNumbers;
|
||||
vmCvar_t g_blueTeamClientNumbers;
|
||||
|
||||
@@ -268,7 +268,7 @@ static cvarTable_t gameCvarTable[] = {
|
||||
// Votes start:
|
||||
{ &g_allowVote, "g_allowVote", "1", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qfalse },
|
||||
{ &g_maxvotes, "g_maxVotes", MAX_VOTE_COUNT, CVAR_ARCHIVE, 0, qfalse },
|
||||
{ &g_voteNames, "g_voteNames", "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/shuffle/", CVAR_ARCHIVE, 0, qfalse }, //clientkick g_doWarmup timelimit fraglimit
|
||||
{ &g_voteNames, "g_voteNames", "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/shuffle/", CVAR_ARCHIVE, 0, qfalse },
|
||||
{ &g_voteBan, "g_voteBan", "0", CVAR_ARCHIVE, 0, qfalse },
|
||||
{ &g_voteGametypes, "g_voteGametypes", "/0/1/3/4/5/6/7/8/9/10/11/12/", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qfalse },
|
||||
{ &g_voteMaxTimelimit, "g_voteMaxTimelimit", "1000", CVAR_SERVERINFO | CVAR_ARCHIVE, 0, qfalse },
|
||||
@@ -348,8 +348,7 @@ static cvarTable_t gameCvarTable[] = {
|
||||
{ &g_persistantpowerups, "g_runes", "0", CVAR_LATCH|CVAR_ARCHIVE, 0, qfalse },
|
||||
#endif
|
||||
|
||||
|
||||
//nexuiz style rocket arena
|
||||
// Nexuiz style rocket arena
|
||||
{ &g_rockets, "g_rockets", "0", CVAR_SERVERINFO | CVAR_LATCH | CVAR_NORESTART, 0, qfalse },
|
||||
|
||||
// Instantgib and Vampire thingies
|
||||
@@ -360,13 +359,16 @@ static cvarTable_t gameCvarTable[] = {
|
||||
{ &g_lms_lives, "g_lms_lives", "1", CVAR_NORESTART, 0, qtrue },
|
||||
{ &g_lms_mode, "g_lms_mode", "0", CVAR_SERVERINFO | CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue },
|
||||
|
||||
// Favors the weak players
|
||||
{ &g_catchup, "g_catchup", "0", CVAR_ARCHIVE | CVAR_NORESTART, 0, qtrue},
|
||||
|
||||
// Auto-change map & map pools to be used for auto-change
|
||||
{ &g_autonextmap, "g_autonextmap", "0", CVAR_ARCHIVE | CVAR_NORESTART, 0, qfalse},
|
||||
{ &g_mappools, "g_mappools", "0\\maps_dm.cfg\\1\\maps_tourney.cfg\\3\\maps_tdm.cfg\\4\\maps_ctf.cfg\\5\\maps_oneflag.cfg\\6\\maps_obelisk.cfg\
|
||||
\\7\\maps_harvester.cfg\\8\\maps_elimination.cfg\\9\\maps_ctf.cfg\\10\\maps_lms.cfg\\11\\maps_dd.cfg\\12\\maps_dom.cfg\\", CVAR_ARCHIVE | CVAR_NORESTART, 0, qfalse},
|
||||
|
||||
{ &g_humanplayers, "g_humanplayers", "0", CVAR_ROM | CVAR_NORESTART, 0, qfalse },
|
||||
//used for voIP
|
||||
|
||||
// Used for voIP
|
||||
{ &g_redTeamClientNumbers, "g_redTeamClientNumbers", "0",CVAR_ROM, 0, qfalse },
|
||||
{ &g_blueTeamClientNumbers, "g_blueTeamClientNumbers", "0",CVAR_ROM, 0, qfalse },
|
||||
|
||||
@@ -397,7 +399,6 @@ static cvarTable_t gameCvarTable[] = {
|
||||
{ &g_maxNameChanges, "g_maxNameChanges", "50", 0, 0, qfalse},
|
||||
|
||||
{ &g_timestamp_startgame, "g_timestamp", "0001-01-01 00:00:00", CVAR_SERVERINFO, 0, qfalse}
|
||||
|
||||
};
|
||||
|
||||
// bk001129 - made static to avoid aliasing
|
||||
|
Reference in New Issue
Block a user