PRINCE: logo shown at startup

This commit is contained in:
Kamil Zbróg 2013-10-22 01:13:52 +01:00
parent 78434a5f53
commit 677c82763c

View File

@ -110,6 +110,18 @@ Common::Error PrinceEngine::run() {
delete skryptStream;
Common::SeekableReadStream *logoStrema = SearchMan.createReadStreamForMember("logo.raw");
if (logoStrema)
{
MhwanhDecoder logo;
logo.loadStream(*logoStrema);
_graph->setPalette(logo.getPalette());
_graph->draw(logo.getSurface());
_graph->update();
_system->delayMillis(700);
}
mainLoop();
return Common::kNoError;