Fixes the splash screen so that it displays until the game has actually done initial setup and can display GUI elements. This prevents the ugly blank window just sitting there while the GUI loads.

This commit is contained in:
Areloch 2014-07-15 17:44:19 -05:00
parent 8390c4159f
commit c2da67d473
11 changed files with 74 additions and 6 deletions

View file

@ -29,6 +29,12 @@ function loadStartup()
// The index of the current splash screen
$StartupIdx = 0;
// As we know at this point that the initial load is complete,
// we can hide any splash screen we have, and show the canvas.
// This keeps things looking nice, instead of having a blank window
closeSplashWindow();
Canvas.showWindow();
// A list of the splash screens and logos
// to cycle through. Note that they have to
// be in consecutive numerical order

View file

@ -29,6 +29,12 @@ function loadStartup()
// The index of the current splash screen
$StartupIdx = 0;
// As we know at this point that the initial load is complete,
// we can hide any splash screen we have, and show the canvas.
// This keeps things looking nice, instead of having a blank window
closeSplashWindow();
Canvas.showWindow();
// A list of the splash screens and logos
// to cycle through. Note that they have to
// be in consecutive numerical order