Finished up splash screen implementation.

* Added stub methods for non-Windows platforms
 * Move canvas show to after tools have loaded
 * Fix a tab
This commit is contained in:
Daniel Buckmaster 2014-08-16 11:28:53 +10:00
parent 5a1f6967ce
commit 346ad5bdaa
9 changed files with 43 additions and 13 deletions

View file

@ -249,6 +249,15 @@ if ($displayHelp) {
else {
onStart();
echo("Engine initialized...");
if( !$isDedicated )
{
// 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();
}
// Auto-load on the 360
if( $platform $= "xenon" )

View file

@ -246,6 +246,15 @@ if ($displayHelp) {
else {
onStart();
echo("Engine initialized...");
if( !$isDedicated )
{
// 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();
}
// Auto-load on the 360
if( $platform $= "xenon" )

View file

@ -29,12 +29,6 @@ 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