aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/prince.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-10-22 01:13:52 +0100
committerKamil Zbróg2013-10-22 01:13:52 +0100
commit677c82763c8d175d965837743c5ad8819afc6b6c (patch)
tree30c8d043287f43d10c71c1f3abd27dadbb737d42 /engines/prince/prince.cpp
parent78434a5f534010825bad0092c30c1b02549220fb (diff)
downloadscummvm-rg350-677c82763c8d175d965837743c5ad8819afc6b6c.tar.gz
scummvm-rg350-677c82763c8d175d965837743c5ad8819afc6b6c.tar.bz2
scummvm-rg350-677c82763c8d175d965837743c5ad8819afc6b6c.zip
PRINCE: logo shown at startup
Diffstat (limited to 'engines/prince/prince.cpp')
-rw-r--r--engines/prince/prince.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index 4ad1863ba5..a6bf076c63 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -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;