aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/dreamgen.cpp59
-rw-r--r--engines/dreamweb/dreamgen.h3
2 files changed, 1 insertions, 61 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 44400ecfb2..0fd6ae19d2 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -2552,64 +2552,6 @@ bigroom:
_add(data.byte(kMapysize), 8);
}
-void DreamGenContext::dumpeverything() {
- STACK_CHECK;
- es = data.word(kBuffers);
- bx = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40));
-dumpevery1:
- ax = es.word(bx);
- cx = es.word(bx+2);
- _cmp(ax, 0x0ffff);
- if (flags.z())
- goto finishevery1;
- _cmp(ax, es.word(bx+(40*5)));
- if (!flags.z())
- goto notskip1;
- _cmp(cx, es.word(bx+(40*5)+2));
- if (flags.z())
- goto skip1;
-notskip1:
- push(bx);
- push(es);
- push(ds);
- bl = ah;
- bh = 0;
- ah = 0;
- di = ax;
- _add(di, data.word(kMapadx));
- _add(bx, data.word(kMapady));
- multidump();
- ds = pop();
- es = pop();
- bx = pop();
-skip1:
- _add(bx, 5);
- goto dumpevery1;
-finishevery1:
- bx = (0+(228*13)+32+60+(32*32)+(11*10*3)+768+768+768+(32*32)+(128*5)+(80*5)+(100*5)+(12*5)+(46*40))+(40*5);
-dumpevery2:
- ax = es.word(bx);
- cx = es.word(bx+2);
- _cmp(ax, 0x0ffff);
- if (flags.z())
- return /* (finishevery2) */;
- push(bx);
- push(es);
- push(ds);
- bl = ah;
- bh = 0;
- ah = 0;
- di = ax;
- _add(di, data.word(kMapadx));
- _add(bx, data.word(kMapady));
- multidump();
- ds = pop();
- es = pop();
- bx = pop();
- _add(bx, 5);
- goto dumpevery2;
-}
-
void DreamGenContext::loadpalfromiff() {
STACK_CHECK;
dx = 2481;
@@ -17384,7 +17326,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
case addr_soundonreels: soundonreels(); break;
case addr_reconstruct: reconstruct(); break;
case addr_deleverything: deleverything(); break;
- case addr_dumpeverything: dumpeverything(); break;
case addr_showpcx: showpcx(); break;
case addr_loadpalfromiff: loadpalfromiff(); break;
case addr_setmode: setmode(); break;
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index ae6887c829..c8dc1924f4 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -555,7 +555,6 @@ public:
static const uint16 addr_setmode = 0xc1dc;
static const uint16 addr_loadpalfromiff = 0xc1d8;
static const uint16 addr_showpcx = 0xc1cc;
- static const uint16 addr_dumpeverything = 0xc1c4;
static const uint16 addr_deleverything = 0xc1c0;
static const uint16 addr_reconstruct = 0xc1ac;
static const uint16 addr_soundonreels = 0xc1a8;
@@ -1611,7 +1610,7 @@ public:
void examinventory();
void talk();
void usedryer();
- void dumpeverything();
+ //void dumpeverything();
//void readmouse2();
//void zoom();
void outofinv();