aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-12-03 20:10:15 +0100
committerBertrand Augereau2011-12-03 20:42:33 +0100
commit156d3a997e865d7dd703a97f64c5c426091ffae5 (patch)
treed59590d1d8be21e1b0145f6c1a0d4dfeaadd379d /engines/dreamweb/dreamgen.cpp
parentee0f3bcaadcaf08988ba789b9875270cd6472672 (diff)
downloadscummvm-rg350-156d3a997e865d7dd703a97f64c5c426091ffae5.tar.gz
scummvm-rg350-156d3a997e865d7dd703a97f64c5c426091ffae5.tar.bz2
scummvm-rg350-156d3a997e865d7dd703a97f64c5c426091ffae5.zip
DREAMWEB: 'enterSymbol' ported to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp69
1 files changed, 0 insertions, 69 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 7bd735f975..ce98b1aaf0 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -9077,75 +9077,6 @@ void DreamGenContext::dumpKeypad() {
multiDump();
}
-void DreamGenContext::enterSymbol() {
- STACK_CHECK;
- data.byte(kManisoffscreen) = 1;
- getRidOfReels();
- dx = 2007;
- loadIntoTemp();
- data.byte(kSymboltopx) = 24;
- data.byte(kSymboltopdir) = 0;
- data.byte(kSymbolbotx) = 24;
- data.byte(kSymbolbotdir) = 0;
- redrawMainScrn();
- showSymbol();
- underTextLine();
- workToScreenM();
- data.byte(kGetback) = 0;
-symbolloop:
- delPointer();
- updateSymbolTop();
- updateSymbolBot();
- showSymbol();
- readMouse();
- showPointer();
- vSync();
- dumpPointer();
- dumpTextLine();
- dumpSymbol();
- bx = offset_symbollist;
- checkCoords();
- _cmp(data.byte(kGetback), 0);
- if (flags.z())
- goto symbolloop;
- _cmp(data.byte(kSymbolbotnum), 3);
- if (!flags.z())
- goto symbolwrong;
- _cmp(data.byte(kSymboltopnum), 5);
- if (!flags.z())
- goto symbolwrong;
- al = 43;
- removeSetObject();
- al = 46;
- placeSetObject();
- ah = data.byte(kRoomnum);
- _add(ah, 12);
- al = 0;
- turnAnyPathOn();
- data.byte(kManisoffscreen) = 0;
- redrawMainScrn();
- getRidOfTemp();
- restoreReels();
- workToScreenM();
- al = 13;
- playChannel1();
- return;
-symbolwrong:
- al = 46;
- removeSetObject();
- al = 43;
- placeSetObject();
- ah = data.byte(kRoomnum);
- _add(ah, 12);
- al = 0;
- turnAnyPathOff();
- data.byte(kManisoffscreen) = 0;
- redrawMainScrn();
- getRidOfTemp();
- restoreReels();
- workToScreenM();
-}
-
void DreamGenContext::quitSymbol() {
STACK_CHECK;
_cmp(data.byte(kSymboltopx), 24);