aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.cpp
diff options
context:
space:
mode:
authoranotherguest2013-12-06 08:31:08 +0100
committeranotherguest2013-12-06 08:31:08 +0100
commitd9c8cb71180efe12c4ee67eec03d84e4a0863f30 (patch)
tree315718eecaa535d730cfb132ec863297f13085e9 /engines/fullpipe/motion.cpp
parent6cc047f8ebd11c9c078dd49a967b43ec0e58ad61 (diff)
parent1c4685a5d034ffc41b209fef5d46b220d8405606 (diff)
downloadscummvm-rg350-d9c8cb71180efe12c4ee67eec03d84e4a0863f30.tar.gz
scummvm-rg350-d9c8cb71180efe12c4ee67eec03d84e4a0863f30.tar.bz2
scummvm-rg350-d9c8cb71180efe12c4ee67eec03d84e4a0863f30.zip
Merge branch 'master' of github.com:scummvm/scummvm
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r--engines/fullpipe/motion.cpp24
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index f67011a50f..28201c535d 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -28,9 +28,9 @@
#include "fullpipe/objects.h"
#include "fullpipe/statics.h"
+#include "fullpipe/gameloader.h"
#include "fullpipe/motion.h"
#include "fullpipe/messages.h"
-#include "fullpipe/gameloader.h"
namespace Fullpipe {
@@ -185,6 +185,28 @@ MessageQueue *MctlCompound::doWalkTo(StaticANIObject *subj, int xpos, int ypos,
return mq;
}
+MctlLadder::MctlLadder() {
+ _preload.preloadId1 = 0;
+ _preload.keyCode = 0;
+ _preload.sceneId = 0;
+ _preload.preloadId2 = 0;
+
+ _ladder_field_18 = 0;
+ _ladder_field_C = 0;
+ _ladder_field_1C = 0;
+ _ladder_field_10 = 0;
+ _ladder_field_14 = 0;
+
+ _ladder_field_20 = 0;
+ _ladder_field_24 = 0;
+}
+
+int MctlLadder::collisionDetection(StaticANIObject *man) {
+ warning("STUB: MctlLaddercollisionDetection()");
+
+ return 0;
+}
+
MctlConnectionPoint *MctlCompound::findClosestConnectionPoint(int ox, int oy, int destIndex, int connectionX, int connectionY, int sourceIndex, int *minDistancePtr) {
warning("STUB: MctlCompound::findClosestConnectionPoint()");