aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/stubs.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-07 01:42:35 +0200
committerFilippos Karapetis2011-12-07 01:51:11 +0200
commit8b4a1625ea4e6d77ab4ce7654e936ab165b3d112 (patch)
tree0526633dec2c44d363123fce5226d145e38daea9 /engines/dreamweb/stubs.cpp
parent54c4bac556ff96c44e81816faa35bee87c91e57a (diff)
downloadscummvm-rg350-8b4a1625ea4e6d77ab4ce7654e936ab165b3d112.tar.gz
scummvm-rg350-8b4a1625ea4e6d77ab4ce7654e936ab165b3d112.tar.bz2
scummvm-rg350-8b4a1625ea4e6d77ab4ce7654e936ab165b3d112.zip
DREAMWEB: Added a C++ implementation of isSetObOnMap()
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r--engines/dreamweb/stubs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 243e164982..af1250af48 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -3821,4 +3821,12 @@ void DreamGenContext::moreTalk() {
doSomeTalk();
}
+bool DreamGenContext::isSetObOnMap(uint8 index) {
+ return (getSetAd(index)->mapad[0] == 0);
+}
+
+void DreamGenContext::isSetObOnMap() {
+ flags._z = isSetObOnMap(al);
+}
+
} // End of namespace DreamGen