aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/statics.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-27 00:50:27 +0300
committerEugene Sandulenko2013-10-27 00:50:49 +0300
commit9f92561df3d24cec093559b733f83f69d492581f (patch)
treeb09c38585f4dae91786b6fbb6f220a33c0477ea7 /engines/fullpipe/statics.cpp
parent7089444e0b862fdfab5dc63a3058374cdd55c9cb (diff)
downloadscummvm-rg350-9f92561df3d24cec093559b733f83f69d492581f.tar.gz
scummvm-rg350-9f92561df3d24cec093559b733f83f69d492581f.tar.bz2
scummvm-rg350-9f92561df3d24cec093559b733f83f69d492581f.zip
FULLPIPE: Implement StaticANIObject::getSomeXY()
Diffstat (limited to 'engines/fullpipe/statics.cpp')
-rw-r--r--engines/fullpipe/statics.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index f1107e587b..0599125269 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -649,6 +649,19 @@ Common::Point *StaticANIObject::getCurrDimensions(Common::Point &p) {
return &p;
}
+Common::Point *StaticANIObject::getSomeXY(Common::Point &p) {
+ if (_movement) {
+ _movement->getCurrDynamicPhaseXY(p);
+
+ return &p;
+ }
+
+ if (_statics)
+ _statics->getSomeXY(p);
+
+ return &p;
+}
+
void StaticANIObject::update(int counterdiff) {
int mqid;