diff options
author | Bertrand Augereau | 2011-07-18 14:30:07 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-07-23 18:23:38 +0200 |
commit | 599fbf4fe6e8fd92105ae2bcdd21e0c2f82005f9 (patch) | |
tree | c91a3b67f440677e430b70411e6d492bccfcbd19 /engines/dreamweb/dreamgen.cpp | |
parent | b728323df751a0aec5aee890cdce52f50796b12a (diff) | |
download | scummvm-rg350-599fbf4fe6e8fd92105ae2bcdd21e0c2f82005f9.tar.gz scummvm-rg350-599fbf4fe6e8fd92105ae2bcdd21e0c2f82005f9.tar.bz2 scummvm-rg350-599fbf4fe6e8fd92105ae2bcdd21e0c2f82005f9.zip |
DREAMWEB: 'printdirect' ported to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 1a3b6a2497..41dbf9dc3a 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -5108,45 +5108,6 @@ void DreamGenContext::printboth() { ax = pop(); } -void DreamGenContext::printdirect() { - STACK_CHECK; - data.word(kLastxpos) = di; - ds = data.word(kCurrentset); -printloop6: - push(bx); - push(di); - push(dx); - getnumber(); - ch = 0; -printloop5: - ax = es.word(si); - _inc(si); - _cmp(al, 0); - if (flags.z()) - goto finishdirct; - _cmp(al, ':'); - if (flags.z()) - goto finishdirct; - push(cx); - push(es); - modifychar(); - printchar(); - data.word(kLastxpos) = di; - es = pop(); - cx = pop(); - if (--cx) - goto printloop5; - dx = pop(); - di = pop(); - bx = pop(); - _add(bx, data.word(kLinespacing)); - goto printloop6; -finishdirct: - dx = pop(); - di = pop(); - bx = pop(); -} - void DreamGenContext::monprint() { STACK_CHECK; data.byte(kKerning) = 1; @@ -21444,7 +21405,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case addr_printslow: printslow(); break; case addr_waitframes: waitframes(); break; case addr_printboth: printboth(); break; - case addr_printdirect: printdirect(); break; case addr_monprint: monprint(); break; case addr_fillryan: fillryan(); break; case addr_fillopen: fillopen(); break; |