diff options
author | Willem Jan Palenstijn | 2011-12-07 10:23:21 -0800 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-07 10:23:21 -0800 |
commit | 9e617d0dfddf91e5802c783fae5be679afe22b05 (patch) | |
tree | 5e9eb811689cb5e21b7ec41b0b14674d422da092 /engines/dreamweb/dreamgen.cpp | |
parent | c1b7d25bb7cd8f718d79b47c6b4a12caed904dde (diff) | |
parent | 28ba2071e44b15ecb4c20ee682a9e2bbafe67ab9 (diff) | |
download | scummvm-rg350-9e617d0dfddf91e5802c783fae5be679afe22b05.tar.gz scummvm-rg350-9e617d0dfddf91e5802c783fae5be679afe22b05.tar.bz2 scummvm-rg350-9e617d0dfddf91e5802c783fae5be679afe22b05.zip |
Merge pull request #127 from fingolfin/dreamweb-cleanup
Dreamweb: Remove more dead stuff, advance DreamBase <-> DreamGenContext split
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index d7669c60d4..b5094dfb1a 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -7141,27 +7141,6 @@ tensc: cs.byte(di+7) = al; } -void DreamGenContext::volumeAdjust() { - STACK_CHECK; - al = data.byte(kVolumedirection); - _cmp(al, 0); - if (flags.z()) - return /* (volok) */; - al = data.byte(kVolume); - _cmp(al, data.byte(kVolumeto)); - if (flags.z()) - goto volfinish; - _add(data.byte(kVolumecount), 64); - if (!flags.z()) - return /* (volok) */; - al = data.byte(kVolume); - _add(al, data.byte(kVolumedirection)); - data.byte(kVolume) = al; - return; -volfinish: - data.byte(kVolumedirection) = 0; -} - void DreamGenContext::entryTexts() { STACK_CHECK; _cmp(data.byte(kLocation), 21); |