aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
diff options
context:
space:
mode:
authorNicola Mettifogo2009-02-23 11:55:25 +0000
committerNicola Mettifogo2009-02-23 11:55:25 +0000
commit9bef5a0cfc5dcc0708d9f7d10e63b0b550d3243b (patch)
treee5822ffebb754d1c726712051f9f576f1326f3f6 /engines/parallaction/objects.h
parentedaf382d2fb46403fa437e6113c90754230dc2e9 (diff)
downloadscummvm-rg350-9bef5a0cfc5dcc0708d9f7d10e63b0b550d3243b.tar.gz
scummvm-rg350-9bef5a0cfc5dcc0708d9f7d10e63b0b550d3243b.tar.bz2
scummvm-rg350-9bef5a0cfc5dcc0708d9f7d10e63b0b550d3243b.zip
Rewrote the sarcophagus puzzle in Nippon Safes, since I finally understood how it was implemented in the original!
svn-id: r38816
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r--engines/parallaction/objects.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index 26255d7519..029c498948 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -515,6 +515,13 @@ public:
void getFrameRect(Common::Rect &r) const;
int16 getBottom() const;
+ // HACK: this routine is only used to download initialisation
+ // parameter to a script used when moving sarcophagi around in
+ // the museum. It bypasses all the consistency checks that
+ // can be performed by the individual setters. See the comment
+ // in startMovingSarcophagus() in callables_ns.cpp
+ void forceXYZF(int16 x, int16 y, int16 z, int16 f);
+
// getters/setters used by scripts
int16 getX() { return _left; }
void setX(int16 value) { _left = value; }