aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-12-04 19:00:04 +0100
committerBertrand Augereau2011-12-04 19:22:01 +0100
commitb7f416b3d906d017eaac869cf5bb473fec43eab7 (patch)
treea83e34563b51632539a38f074ea1c1ad6a379b67 /engines/dreamweb/dreamgen.cpp
parentdfd1ff2db33f16b3a9c8e832aeb1bced4c1ea0d8 (diff)
downloadscummvm-rg350-b7f416b3d906d017eaac869cf5bb473fec43eab7.tar.gz
scummvm-rg350-b7f416b3d906d017eaac869cf5bb473fec43eab7.tar.bz2
scummvm-rg350-b7f416b3d906d017eaac869cf5bb473fec43eab7.zip
DREAMWEB: 'delChar' ported to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index e0e5809f66..d5efcf7e80 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -5405,34 +5405,6 @@ void DreamGenContext::makeCaps() {
_sub(al, 32);
}
-void DreamGenContext::delChar() {
- STACK_CHECK;
- _dec(data.word(kCurpos));
- si = data.word(kCurpos);
- _add(si, si);
- es = cs;
- _add(si, 1964);
- es.byte(si) = 0;
- al = es.byte(si+1);
- ah = 0;
- _sub(data.word(kMonadx), ax);
- _sub(data.word(kCurslocx), ax);
- di = data.word(kMonadx);
- bx = data.word(kMonady);
- ds = data.word(kMapstore);
- ax = data.word(kCurpos);
- _xchg(al, ah);
- si = ax;
- cl = 8;
- ch = 8;
- multiPut();
- di = data.word(kMonadx);
- bx = data.word(kMonady);
- cl = al;
- ch = 8;
- multiDump();
-}
-
void DreamGenContext::execCommand() {
STACK_CHECK;
es = cs;