void Game::LoadingScreen()
{
+ if (!visibleloading) {
+ return;
+ }
+
static float loadprogress;
static AbsoluteTime frametime = {0, 0};
AbsoluteTime currTime = UpTime ();
stillloading = 1;
- visibleloading = 0; //don't use loadscreentexture yet
+ visibleloading = false; //don't use loadscreentexture yet
loadscreentexture.load("Textures/Fire.jpg", 1);
- visibleloading = 1;
+ visibleloading = true;
temptexdetail = texdetail;
texdetail = 1;
loading = 0;
changedelay = 1;
- visibleloading = 0;
+ visibleloading = false;
}