Organise gametype ruleset again.

This commit is contained in:
Jaime Passos 2019-12-28 20:18:21 -03:00
parent 7a00b3a331
commit ae0acfba0f
2 changed files with 39 additions and 39 deletions

View File

@ -8902,34 +8902,34 @@ static const char *const GAMETYPERULE_LIST[] = {
"CAMPAIGN",
"RINGSLINGER",
"SPECTATORS",
"FRIENDLYFIRE",
"LIVES",
"TEAMS",
"FIRSTPERSON",
"POWERSTONES",
"TEAMFLAGS",
"FRIENDLY",
"SPECIALSTAGES",
"EMERALDTOKENS",
"EMERALDHUNT",
"RACE",
"TAG",
"POINTLIMIT",
"TIMELIMIT",
"OVERTIME",
"HURTMESSAGES",
"FRIENDLYFIRE",
"STARTCOUNTDOWN",
"HIDEFROZEN",
"BLINDFOLDED",
"FIRSTPERSON",
"POWERSTONES",
"TEAMFLAGS",
"RESPAWNDELAY",
"PITYSHIELD",
"DEATHPENALTY",
"NOSPECTATORSPAWN",
"DEATHMATCHSTARTS",
"SPECIALSTAGES",
"EMERALDTOKENS",
"EMERALDHUNT",
"SPAWNINVUL",
"SPAWNENEMIES",
"ALLOWEXIT",
"NOTITLECARD",
"OVERTIME",
"HURTMESSAGES",
"SPAWNINVUL",
"RESPAWNDELAY",
NULL
};

View File

@ -397,34 +397,34 @@ enum GameTypeRules
GTR_CAMPAIGN = 1, // Linear Co-op map progression, don't allow random maps
GTR_RINGSLINGER = 1<<1, // Outside of Co-op, Competition, and Race (overriden by cv_ringslinger)
GTR_SPECTATORS = 1<<2, // Outside of Co-op, Competition, and Race
GTR_FRIENDLYFIRE = 1<<3, // Always allow friendly fire
GTR_LIVES = 1<<4, // Co-op and Competition
GTR_TEAMS = 1<<5, // Team Match, CTF
GTR_FRIENDLY = 1<<6, // Co-op
GTR_RACE = 1<<7, // Race and Competition
GTR_TAG = 1<<8, // Tag and Hide and Seek
GTR_POINTLIMIT = 1<<9, // Ringslinger point limit
GTR_TIMELIMIT = 1<<10, // Ringslinger time limit
GTR_STARTCOUNTDOWN = 1<<11, // Hide time countdown (Tag and Hide and Seek)
GTR_HIDEFROZEN = 1<<12, // Frozen after hide time (Hide and Seek, but not Tag)
GTR_BLINDFOLDED = 1<<13, // Blindfolded view (Tag and Hide and Seek)
GTR_FIRSTPERSON = 1<<14, // First person camera
GTR_POWERSTONES = 1<<15, // Power stones (Match and CTF)
GTR_TEAMFLAGS = 1<<16, // Gametype has team flags (CTF)
GTR_PITYSHIELD = 1<<17, // Award pity shield
GTR_DEATHPENALTY = 1<<18, // Death score penalty
GTR_NOSPECTATORSPAWN = 1<<19, // Use with GTR_SPECTATORS, spawn in the map instead of with the spectators
GTR_DEATHMATCHSTARTS = 1<<20, // Use deathmatch starts
GTR_SPECIALSTAGES = 1<<21, // Allow special stages
GTR_EMERALDTOKENS = 1<<22, // Spawn emerald tokens
GTR_EMERALDHUNT = 1<<23, // Emerald Hunt
GTR_SPAWNENEMIES = 1<<24, // Spawn enemies
GTR_ALLOWEXIT = 1<<25, // Allow exit sectors
GTR_NOTITLECARD = 1<<26, // Don't show the title card
GTR_OVERTIME = 1<<27, // Allow overtime
GTR_HURTMESSAGES = 1<<28, // Hit and death messages
GTR_SPAWNINVUL = 1<<29, // Babysitting deterrent
GTR_RESPAWNDELAY = 1<<30, // Respawn delay
GTR_LIVES = 1<<3, // Co-op and Competition
GTR_TEAMS = 1<<4, // Team Match, CTF
GTR_FIRSTPERSON = 1<<5, // First person camera
GTR_POWERSTONES = 1<<6, // Power stones (Match and CTF)
GTR_TEAMFLAGS = 1<<7, // Gametype has team flags (CTF)
GTR_FRIENDLY = 1<<8, // Co-op
GTR_SPECIALSTAGES = 1<<9, // Allow special stages
GTR_EMERALDTOKENS = 1<<10, // Spawn emerald tokens
GTR_EMERALDHUNT = 1<<11, // Emerald Hunt
GTR_RACE = 1<<12, // Race and Competition
GTR_TAG = 1<<13, // Tag and Hide and Seek
GTR_POINTLIMIT = 1<<14, // Ringslinger point limit
GTR_TIMELIMIT = 1<<15, // Ringslinger time limit
GTR_OVERTIME = 1<<16, // Allow overtime
GTR_HURTMESSAGES = 1<<17, // Hit and death messages
GTR_FRIENDLYFIRE = 1<<18, // Always allow friendly fire
GTR_STARTCOUNTDOWN = 1<<19, // Hide time countdown (Tag and Hide and Seek)
GTR_HIDEFROZEN = 1<<20, // Frozen after hide time (Hide and Seek, but not Tag)
GTR_BLINDFOLDED = 1<<21, // Blindfolded view (Tag and Hide and Seek)
GTR_RESPAWNDELAY = 1<<22, // Respawn delay
GTR_PITYSHIELD = 1<<23, // Award pity shield
GTR_DEATHPENALTY = 1<<24, // Death score penalty
GTR_NOSPECTATORSPAWN = 1<<25, // Use with GTR_SPECTATORS, spawn in the map instead of with the spectators
GTR_DEATHMATCHSTARTS = 1<<26, // Use deathmatch starts
GTR_SPAWNINVUL = 1<<27, // Babysitting deterrent
GTR_SPAWNENEMIES = 1<<28, // Spawn enemies
GTR_ALLOWEXIT = 1<<29, // Allow exit sectors
GTR_NOTITLECARD = 1<<30, // Don't show the title card
};
// String names for gametypes