diff options
author | Bertrand Augereau | 2011-06-22 23:11:44 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-06-22 23:11:44 +0200 |
commit | cf12e0499752f9607b50a05d465e1921eaabc242 (patch) | |
tree | d3eec10babfefa14e510bd7cec00bb7da5002960 /engines/dreamweb/dreamgen.cpp | |
parent | 33ce6e60fd98ea67e1e6606bfc7d693b27359bd7 (diff) | |
download | scummvm-rg350-cf12e0499752f9607b50a05d465e1921eaabc242.tar.gz scummvm-rg350-cf12e0499752f9607b50a05d465e1921eaabc242.tar.bz2 scummvm-rg350-cf12e0499752f9607b50a05d465e1921eaabc242.zip |
DREAMWEB: frameoutv becomes a native function
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index da0d71f7fe..462ae596f8 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -4329,52 +4329,6 @@ noeffects: cx = pop(); } -void DreamGenContext::frameoutv() { - STACK_CHECK; - push(dx); - ax = bx; - bx = dx; - _mul(bx); - _add(di, ax); - dx = pop(); - push(cx); - ch = 0; - _sub(dx, cx); - cx = pop(); -frameloop1: - push(cx); - ch = 0; -frameloop2: - _lodsb(); - _cmp(al, 0); - if (!flags.z()) - goto backtosolid; -backtoother: - _inc(di); - if (--cx) - goto frameloop2; - cx = pop(); - _add(di, dx); - _dec(ch); - if (!flags.z()) - goto frameloop1; - return; -frameloop3: - _lodsb(); - _cmp(al, 0); - if (flags.z()) - goto backtoother; -backtosolid: - _stosb(); - if (--cx) - goto frameloop3; - cx = pop(); - _add(di, dx); - _dec(ch); - if (!flags.z()) - goto frameloop1; -} - void DreamGenContext::frameoutbh() { STACK_CHECK; push(dx); @@ -22126,7 +22080,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case 0xc214: delthisone(); break; case 0xc228: doblocks(); break; case 0xc22c: showframe(); break; - case 0xc230: frameoutv(); break; case 0xc238: frameoutbh(); break; case 0xc23c: frameoutfx(); break; case 0xc240: transferinv(); break; |