diff options
author | Filippos Karapetis | 2011-12-18 16:43:05 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-18 16:43:05 +0200 |
commit | 62dc71a73a894426cb2f5c61e26ab53b0c9f06ad (patch) | |
tree | 49d239aac3bf33ca74cf0c95e3a934207c089ad2 /engines/dreamweb/dreamgen.cpp | |
parent | 362f21d30d2b8f531c30ec19829326e369ac01cd (diff) | |
download | scummvm-rg350-62dc71a73a894426cb2f5c61e26ab53b0c9f06ad.tar.gz scummvm-rg350-62dc71a73a894426cb2f5c61e26ab53b0c9f06ad.tar.bz2 scummvm-rg350-62dc71a73a894426cb2f5c61e26ab53b0c9f06ad.zip |
DREAMWEB: Port 'getkeyandlogo' to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index f7632514e1..6034e0ea69 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -2298,51 +2298,6 @@ endofdir2: scrollMonitor(); } -void DreamGenContext::getKeyAndLogo() { - STACK_CHECK; - _inc(bx); - al = es.byte(bx); - _sub(al, 48); - data.byte(kNewlogonum) = al; - _add(bx, 2); - al = es.byte(bx); - _sub(al, 48); - data.byte(kKeynum) = al; - _inc(bx); - push(es); - push(bx); - al = data.byte(kKeynum); - ah = 0; - cx = 26; - _mul(cx); - es = cs; - bx = offset_keys; - _add(bx, ax); - al = es.byte(bx); - _cmp(al, 1); - if (flags.z()) - goto keyok; - push(bx); - push(es); - al = 12; - monMessage(); - es = pop(); - bx = pop(); - _add(bx, 14); - monPrint(); - scrollMonitor(); - bx = pop(); - es = pop(); - al = 1; - return; -keyok: - bx = pop(); - es = pop(); - al = data.byte(kNewlogonum); - data.byte(kLogonum) = al; - al = 0; -} - void DreamGenContext::searchForString() { STACK_CHECK; dl = es.byte(di); |