aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorBertrand Augereau2011-08-30 10:52:44 +0200
committerBertrand Augereau2011-08-30 10:52:44 +0200
commit0567d6cec5cd11db790b6aec966fcb0463deffba (patch)
treeb317d7fe11bd848c7f7853628b130f7c0b2057b3 /engines/dreamweb
parent018e304555e77b333c57f504efbefc5894b3e0c0 (diff)
downloadscummvm-rg350-0567d6cec5cd11db790b6aec966fcb0463deffba.tar.gz
scummvm-rg350-0567d6cec5cd11db790b6aec966fcb0463deffba.tar.bz2
scummvm-rg350-0567d6cec5cd11db790b6aec966fcb0463deffba.zip
DREAMWEB: 'delthisone' isn't used
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/dreamgen.cpp45
-rw-r--r--engines/dreamweb/dreamgen.h3
2 files changed, 1 insertions, 47 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 697eb4ef3f..bfead17dc7 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -2766,50 +2766,6 @@ void DreamGenContext::createpanel2() {
showframe();
}
-void DreamGenContext::delthisone() {
- STACK_CHECK;
- push(ax);
- push(ax);
- al = ah;
- ah = 0;
- _add(ax, data.word(kMapady));
- bx = (320);
- _mul(bx);
- bx = pop();
- bh = 0;
- _add(bx, data.word(kMapadx));
- _add(ax, bx);
- di = ax;
- ax = pop();
- push(ax);
- al = ah;
- ah = 0;
- bx = 22*8;
- _mul(bx);
- bx = pop();
- bh = 0;
- _add(ax, bx);
- si = ax;
- es = data.word(kWorkspace);
- ds = data.word(kMapstore);
- dl = cl;
- dh = 0;
- ax = (320);
- _sub(ax, dx);
- _neg(dx);
- _add(dx, 22*8);
-deloneloop:
- push(cx);
- ch = 0;
- _movsb(cx, true);
- cx = pop();
- _add(di, ax);
- _add(si, dx);
- _dec(ch);
- if (!flags.z())
- goto deloneloop;
-}
-
void DreamGenContext::transferinv() {
STACK_CHECK;
di = data.word(kExframepos);
@@ -17776,7 +17732,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
case addr_createpanel2: createpanel2(); break;
case addr_vsync: vsync(); break;
case addr_doshake: doshake(); break;
- case addr_delthisone: delthisone(); break;
case addr_transferinv: transferinv(); break;
case addr_transfermap: transfermap(); break;
case addr_fadedos: fadedos(); break;
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index 82d9cd137a..963a864bb3 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -558,7 +558,6 @@ public:
static const uint16 addr_fadedos = 0xc248;
static const uint16 addr_transfermap = 0xc244;
static const uint16 addr_transferinv = 0xc240;
- static const uint16 addr_delthisone = 0xc214;
static const uint16 addr_doshake = 0xc20c;
static const uint16 addr_vsync = 0xc208;
static const uint16 addr_createpanel2 = 0xc200;
@@ -1517,7 +1516,7 @@ public:
void usetempcharset();
void discops();
//void printdirect();
- void delthisone();
+ //void delthisone();
//void makebackob();
void middlepanel();
void dumpwatch();