mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Added -nostartup switch to disable the more graphical startup screens of Heretic, Hexen,
and Strife. SVN r2175 (trunk)
This commit is contained in:
parent
a16c62c069
commit
a1255c059d
1 changed files with 19 additions and 15 deletions
|
@ -51,6 +51,7 @@
|
|||
#include "gi.h"
|
||||
#include "w_wad.h"
|
||||
#include "s_sound.h"
|
||||
#include "m_argv.h"
|
||||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
|
@ -317,6 +318,8 @@ FStartupScreen *FStartupScreen::CreateInstance(int max_progress)
|
|||
FStartupScreen *scr = NULL;
|
||||
HRESULT hr;
|
||||
|
||||
if (!Args->CheckParm("-nostartup"))
|
||||
{
|
||||
if (gameinfo.gametype == GAME_Hexen)
|
||||
{
|
||||
scr = new FHexenStartupScreen(max_progress, hr);
|
||||
|
@ -334,6 +337,7 @@ FStartupScreen *FStartupScreen::CreateInstance(int max_progress)
|
|||
delete scr;
|
||||
scr = NULL;
|
||||
}
|
||||
}
|
||||
if (scr == NULL)
|
||||
{
|
||||
scr = new FBasicStartupScreen(max_progress, true);
|
||||
|
|
Loading…
Reference in a new issue