Disable loading screen

This commit is contained in:
Sergeanur 2020-07-09 20:40:15 +03:00
parent cf69f22a0c
commit c012e5a7ff
2 changed files with 4 additions and 1 deletions

View File

@ -198,7 +198,8 @@ enum Config {
#define DEFAULT_NATIVE_RESOLUTION // Set default video mode to your native resolution (fixes Windows 10 launch)
#define USE_TXD_CDIMAGE // generate and load textures from txd.img
#define IMPROVED_VIDEOMODE // save and load videomode parameters instead of a magic number
#define NO_ISLAND_LOADING // disable loadscreen between islands via loading all island data at once, consumes more memory and CPU
#define DISABLE_LOADING_SCREEN // disable the loading screen which vastly improves the loading time
#define NO_ISLAND_LOADING // disable loadscreen between islands via loading all island data at once, consumes more memory and CPU
//#define USE_TEXTURE_POOL
// Particle

View File

@ -471,6 +471,7 @@ ResetLoadingScreenBar()
void
LoadingScreen(const char *str1, const char *str2, const char *splashscreen)
{
#ifndef DISABLE_LOADING_SCREEN
CSprite2d *splash;
#ifndef RANDOMSPLASH
@ -534,6 +535,7 @@ LoadingScreen(const char *str1, const char *str2, const char *splashscreen)
CFont::DrawFonts();
DoRWStuffEndOfFrame();
}
#endif
}
void