diff options
author | Bertrand Augereau | 2011-12-04 16:40:03 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-12-04 16:44:00 +0100 |
commit | 277a1c950b2927b77d0987cc85d4737787995c6e (patch) | |
tree | 3c9e3fc6c1fddd9572b442d8b5e7d2877c06a3cd /engines | |
parent | 68fe065d0e81011918f4412fcfcc585cb0622519 (diff) | |
download | scummvm-rg350-277a1c950b2927b77d0987cc85d4737787995c6e.tar.gz scummvm-rg350-277a1c950b2927b77d0987cc85d4737787995c6e.tar.bz2 scummvm-rg350-277a1c950b2927b77d0987cc85d4737787995c6e.zip |
DREAMWEB: 'showMan' ported to C++
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 25 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 5 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 7 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 1 |
4 files changed, 10 insertions, 28 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index b23ad9824d..685b08e304 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -10867,31 +10867,6 @@ void DreamGenContext::middlePanel() { showFrame(); } -void DreamGenContext::showMan() { - STACK_CHECK; - ds = data.word(kIcons1); - di = 0; - bx = 0; - al = 0; - ah = 0; - showFrame(); - ds = data.word(kIcons1); - di = 0; - bx = 114; - al = 1; - ah = 0; - showFrame(); - _cmp(data.byte(kShadeson), 0); - if (flags.z()) - return /* (notverycool) */; - ds = data.word(kIcons1); - di = 28; - bx = 25; - al = 2; - ah = 0; - showFrame(); -} - void DreamGenContext::panelIcons1() { STACK_CHECK; di = 0; diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index 33f2bdd30c..c053e56204 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -582,7 +582,7 @@ public: void entryTexts(); void checkInput(); void setMode(); - void getBackFromOps(); + void showDiary(); void openSarters(); void putUnderCentre(); void checkObjectSize(); @@ -630,7 +630,7 @@ public: void train(); void fadeDownMon(); void bartender(); - void showDiary(); + void getBackFromOps(); void sLabDoorF(); void outOfOpen(); void dirCom(); @@ -867,7 +867,6 @@ public: void autoAppear(); void openRyan(); void callHotelLift(); - void showMan(); void useFullCart(); void newPlace(); void loadSample(); diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 414c9c6cbe..c1f8058eef 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -2802,6 +2802,13 @@ void DreamGenContext::showExit() { showFrame(icons1(), 274, 154, 11, 0); } +void DreamGenContext::showMan() { + showFrame(icons1(), 0, 0, 0, 0); + showFrame(icons1(), 0, 114, 1, 0); + if (data.byte(kShadeson)) + showFrame(icons1(), 28, 25, 2, 0); +} + uint8 DreamGenContext::getLocation(uint8 index) { return data.byte(kRoomscango + index); } diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index bc836d6914..816499d08c 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -406,6 +406,7 @@ void showKeypad(); void showOuterPad(); void showExit(); + void showMan(); void buttonOne(); void buttonTwo(); void buttonThree(); |