diff options
author | Bertrand Augereau | 2011-12-04 14:22:13 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-12-04 14:39:29 +0100 |
commit | 3956046e50630e711dc705dbb3d8dedcac870ad5 (patch) | |
tree | 369289828eaf5a9dcc8c9c973f9536594e5ef022 /engines/dreamweb/dreamgen.cpp | |
parent | d9e31be349b38313cc2be8cf68ec801494bac08b (diff) | |
download | scummvm-rg350-3956046e50630e711dc705dbb3d8dedcac870ad5.tar.gz scummvm-rg350-3956046e50630e711dc705dbb3d8dedcac870ad5.tar.bz2 scummvm-rg350-3956046e50630e711dc705dbb3d8dedcac870ad5.zip |
DREAMWEB: 'smokeBloke' ported to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 2ae5cc5107..bd861ca4e3 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -107,47 +107,6 @@ gotrecep: data.byte(kTalkedtorecep) = 1; } -void DreamGenContext::smokeBloke() { - STACK_CHECK; - _cmp(data.byte(kRockstardead), 0); - if (!flags.z()) - goto notspokento; - al = es.byte(bx+7); - _and(al, 128); - if (flags.z()) - goto notspokento; - push(es); - push(bx); - al = 5; - setLocation(); - bx = pop(); - es = pop(); -notspokento: - checkSpeed(); - if (!flags.z()) - goto gotsmokeb; - _cmp(es.word(bx+3), 100); - if (!flags.z()) - goto notsmokeb1; - randomNumber(); - _cmp(al, 30); - if (flags.c()) - goto notsmokeb2; - es.word(bx+3) = 96; - goto gotsmokeb; -notsmokeb1: - _cmp(es.word(bx+3), 117); - if (!flags.z()) - goto notsmokeb2; - es.word(bx+3) = 96; - goto gotsmokeb; -notsmokeb2: - _inc(es.word(bx+3)); -gotsmokeb: - showGameReel(); - addToPeopleList(); -} - void DreamGenContext::attendant() { STACK_CHECK; showGameReel(); |