mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-10 10:02:41 +00:00
GTR_NOTITLECARD
This commit is contained in:
parent
5b0a305bc1
commit
65d6f88639
3 changed files with 3 additions and 1 deletions
|
|
@ -8876,6 +8876,7 @@ static const char *const GAMETYPERULE_LIST[] = {
|
||||||
"SPAWNENEMIES",
|
"SPAWNENEMIES",
|
||||||
"ALLOWEXIT",
|
"ALLOWEXIT",
|
||||||
"ROUNDENDMESSAGE",
|
"ROUNDENDMESSAGE",
|
||||||
|
"NOTITLECARD",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -415,6 +415,7 @@ enum GameTypeRules
|
||||||
GTR_SPAWNENEMIES = 1<<18, // Spawn enemies
|
GTR_SPAWNENEMIES = 1<<18, // Spawn enemies
|
||||||
GTR_ALLOWEXIT = 1<<19, // Allow exit sectors
|
GTR_ALLOWEXIT = 1<<19, // Allow exit sectors
|
||||||
GTR_ROUNDENDMESSAGE = 1<<20, // Prints "The round has ended." into the console
|
GTR_ROUNDENDMESSAGE = 1<<20, // Prints "The round has ended." into the console
|
||||||
|
GTR_NOTITLECARD = 1<<21, // Don't show the title card
|
||||||
};
|
};
|
||||||
|
|
||||||
// String names for gametypes
|
// String names for gametypes
|
||||||
|
|
|
||||||
|
|
@ -1809,7 +1809,7 @@ void G_StartTitleCard(void)
|
||||||
|
|
||||||
// The title card has been disabled for this map.
|
// The title card has been disabled for this map.
|
||||||
// Oh well.
|
// Oh well.
|
||||||
if (mapheaderinfo[gamemap-1]->levelflags & LF_NOTITLECARD)
|
if ((mapheaderinfo[gamemap-1]->levelflags & LF_NOTITLECARD) || (gametyperules & GTR_NOTITLECARD))
|
||||||
{
|
{
|
||||||
WipeStageTitle = false;
|
WipeStageTitle = false;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue