diff options
author | Willem Jan Palenstijn | 2011-11-14 20:18:06 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-14 21:43:36 +0100 |
commit | 36278dccded41106e242b28810b13a5d702cc72a (patch) | |
tree | ddd35ef75846cbf5c77c578fb753a95962238b5c /engines | |
parent | d3a84d6e68fcbb87bb70a6e8a17fb540dee61326 (diff) | |
download | scummvm-rg350-36278dccded41106e242b28810b13a5d702cc72a.tar.gz scummvm-rg350-36278dccded41106e242b28810b13a5d702cc72a.tar.bz2 scummvm-rg350-36278dccded41106e242b28810b13a5d702cc72a.zip |
DREAMWEB: Move 'mainscreen' from dreamgen
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 16 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 17 |
2 files changed, 17 insertions, 16 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index a2c83f04f1..24968bd628 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -14008,22 +14008,6 @@ notzeronum: ch = 1; } -void DreamGenContext::mainscreen() { - STACK_CHECK; - data.byte(kInmaparea) = 0; - bx = offset_mainlist; - _cmp(data.byte(kWatchon), 1); - if (flags.z()) - goto checkmain; - bx = offset_mainlist2; -checkmain: - checkcoords(); - _cmp(data.byte(kWalkandexam), 0); - if (flags.z()) - return /* (finishmain) */; - walkandexamine(); -} - void DreamGenContext::madmanrun() { STACK_CHECK; _cmp(data.byte(kLocation), 14); diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 5fa6e8af6d..fed7a39863 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1918,5 +1918,22 @@ void DreamGenContext::showcity() { showframe(tempGraphics, 120+57, 32, 1, 0); } +void DreamGenContext::mainscreen() { + STACK_CHECK; + data.byte(kInmaparea) = 0; + bx = offset_mainlist; + _cmp(data.byte(kWatchon), 1); + if (flags.z()) + goto checkmain; + bx = offset_mainlist2; +checkmain: + checkcoords(); + _cmp(data.byte(kWalkandexam), 0); + if (flags.z()) + return /* (finishmain) */; + walkandexamine(); +} + + } /*namespace dreamgen */ |