GTR_NOTITLECARD
This commit is contained in:
parent
61cad09505
commit
ec8682b2af
|
@ -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…
Reference in a new issue