diff options
author | Bertrand Augereau | 2011-11-18 06:52:34 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-11-18 06:52:34 +0100 |
commit | 8a7705394e69b99865525c15a8717db9a619902a (patch) | |
tree | cb7bb55fb2853ec4ed927cd6128df3dedefd3f36 /engines | |
parent | 37052c17622eea7d9546f724c6fbbd8127977531 (diff) | |
download | scummvm-rg350-8a7705394e69b99865525c15a8717db9a619902a.tar.gz scummvm-rg350-8a7705394e69b99865525c15a8717db9a619902a.tar.bz2 scummvm-rg350-8a7705394e69b99865525c15a8717db9a619902a.zip |
DREAMWEB: 'printlogo' ported to C++
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 12 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 3 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 5 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 1 |
4 files changed, 7 insertions, 14 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index f7291bca17..29cb4bf0ec 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -7165,17 +7165,6 @@ notnewlogo: printlogo(); } -void DreamGenContext::printlogo() { - STACK_CHECK; - di = 56; - bx = 32; - ds = data.word(kTempgraphics); - al = 0; - ah = 0; - showframe(); - showcurrentfile(); -} - void DreamGenContext::showcurrentfile() { STACK_CHECK; di = 178; @@ -15612,7 +15601,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case addr_parser: parser(); break; case addr_scrollmonitor: scrollmonitor(); break; case addr_monitorlogo: monitorlogo(); break; - case addr_printlogo: printlogo(); break; case addr_showcurrentfile: showcurrentfile(); break; case addr_monmessage: monmessage(); break; case addr_processtrigger: processtrigger(); break; diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index 1d095b9170..970ebc7690 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -345,7 +345,6 @@ public: static const uint16 addr_processtrigger = 0xc570; static const uint16 addr_monmessage = 0xc56c; static const uint16 addr_showcurrentfile = 0xc568; - static const uint16 addr_printlogo = 0xc564; static const uint16 addr_monitorlogo = 0xc560; static const uint16 addr_scrollmonitor = 0xc558; static const uint16 addr_parser = 0xc554; @@ -1893,7 +1892,7 @@ public: void zoomonoff(); void updatesymboltop(); //void showryanpage(); - void printlogo(); + //void printlogo(); void allpointer(); void showseconduse(); void clearreels(); diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 3cad1236a7..33f8efdad5 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -2162,5 +2162,10 @@ void DreamGenContext::readsetdata() { engine->closeFile(); } +void DreamGenContext::printlogo() { + showframe((Frame *)segRef(data.word(kTempgraphics)).ptr(0, 0), 56, 32, 0, 0); + showcurrentfile(); +} + } /*namespace dreamgen */ diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index 7aa5d7d919..ad86481297 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -293,4 +293,5 @@ void readsetdata(); void loadroomssample(); void fadeupyellows(); + void printlogo(); |