CGE2: Rearrange showTitle() and add some delay to the display.

Now the splash screen doesn't vanish almost immediately right after it's drawn.
This commit is contained in:
uruk 2014-07-30 19:34:37 +02:00
parent 733f72d810
commit 6a38671cc2

View File

@ -808,16 +808,15 @@ bool CGE2Engine::showTitle(const char *name) {
Sprite D(this, LB, 1);
D._flags._kill = true;
D.gotoxyz(kScrWidth >> 1, -(kPanHeight >> 1));
_vga->sunset();
D.show(2);
_vga->copyPage(1, 2);
_vga->copyPage(0, 1);
_vga->sunrise(_vga->_sysPal);
_vga->update();
g_system->delayMillis(2500);
return true;
}