mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-28 22:21:19 +00:00
- activate the progress bar on the startup screen.
This commit is contained in:
parent
db5fbe3bbb
commit
addfe4e904
1 changed files with 10 additions and 1 deletions
|
@ -881,7 +881,8 @@ int RunGame()
|
||||||
|
|
||||||
V_InitScreenSize();
|
V_InitScreenSize();
|
||||||
V_InitScreen();
|
V_InitScreen();
|
||||||
StartScreen = FStartupScreen::CreateInstance(100);
|
StartScreen = FStartupScreen::CreateInstance(8);
|
||||||
|
StartScreen->Progress();
|
||||||
|
|
||||||
TArray<FString> addArt;
|
TArray<FString> addArt;
|
||||||
for (auto& grp : usedgroups)
|
for (auto& grp : usedgroups)
|
||||||
|
@ -911,15 +912,20 @@ int RunGame()
|
||||||
GameTicRate = 30;
|
GameTicRate = 30;
|
||||||
CheckUserMap();
|
CheckUserMap();
|
||||||
GPalette.Init(MAXPALOOKUPS + 2); // one slot for each translation, plus a separate one for the base palettes and the internal one
|
GPalette.Init(MAXPALOOKUPS + 2); // one slot for each translation, plus a separate one for the base palettes and the internal one
|
||||||
|
StartScreen->Progress();
|
||||||
TexMan.Init([]() {}, [](BuildInfo &) {});
|
TexMan.Init([]() {}, [](BuildInfo &) {});
|
||||||
V_InitFonts();
|
V_InitFonts();
|
||||||
|
StartScreen->Progress();
|
||||||
TileFiles.Init();
|
TileFiles.Init();
|
||||||
|
StartScreen->Progress();
|
||||||
I_InitSound();
|
I_InitSound();
|
||||||
|
StartScreen->Progress();
|
||||||
Mus_InitMusic();
|
Mus_InitMusic();
|
||||||
S_ParseSndInfo();
|
S_ParseSndInfo();
|
||||||
S_ParseReverbDef();
|
S_ParseReverbDef();
|
||||||
InitStatistics();
|
InitStatistics();
|
||||||
LoadScripts();
|
LoadScripts();
|
||||||
|
StartScreen->Progress();
|
||||||
SetDefaultStrings();
|
SetDefaultStrings();
|
||||||
if (Args->CheckParm("-sounddebug"))
|
if (Args->CheckParm("-sounddebug"))
|
||||||
C_DoCommand("stat sounddebug");
|
C_DoCommand("stat sounddebug");
|
||||||
|
@ -927,11 +933,14 @@ int RunGame()
|
||||||
enginePreInit();
|
enginePreInit();
|
||||||
SetupGameButtons();
|
SetupGameButtons();
|
||||||
gameinfo.mBackButton = "engine/graphics/m_back.png";
|
gameinfo.mBackButton = "engine/graphics/m_back.png";
|
||||||
|
StartScreen->Progress();
|
||||||
gi->app_init();
|
gi->app_init();
|
||||||
|
StartScreen->Progress();
|
||||||
CreateStatusBar();
|
CreateStatusBar();
|
||||||
SetDefaultMenuColors();
|
SetDefaultMenuColors();
|
||||||
M_Init();
|
M_Init();
|
||||||
BuildGameMenus();
|
BuildGameMenus();
|
||||||
|
StartScreen->Progress();
|
||||||
if (!(paletteloaded & PALETTE_MAIN))
|
if (!(paletteloaded & PALETTE_MAIN))
|
||||||
I_FatalError("No palette found.");
|
I_FatalError("No palette found.");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue