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/dreamweb/stubs.cpp | |
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/dreamweb/stubs.cpp')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
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 */ |