aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-11-14 20:18:06 +0100
committerWillem Jan Palenstijn2011-11-14 21:43:36 +0100
commit36278dccded41106e242b28810b13a5d702cc72a (patch)
treeddd35ef75846cbf5c77c578fb753a95962238b5c /engines/dreamweb/stubs.cpp
parentd3a84d6e68fcbb87bb70a6e8a17fb540dee61326 (diff)
downloadscummvm-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.cpp17
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 */