aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-15 00:48:49 +0300
committerEugene Sandulenko2013-10-15 00:49:46 +0300
commitc9aa875c8de12a9851a66433654f00c60a14ca14 (patch)
treec5c8b5c4ad0dce05f884e78f20693d3955c57a41 /engines/fullpipe/motion.h
parent61f59997bedc61acbe44a71491d0a0f38ff626f6 (diff)
downloadscummvm-rg350-c9aa875c8de12a9851a66433654f00c60a14ca14.tar.gz
scummvm-rg350-c9aa875c8de12a9851a66433654f00c60a14ca14.tar.bz2
scummvm-rg350-c9aa875c8de12a9851a66433654f00c60a14ca14.zip
FULLPIPE: More code for MovGraph2::method4C()
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 8754f07ba1..86e5d383be 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -293,6 +293,10 @@ public:
virtual MessageQueue *method4C(StaticANIObject *subj, int xpos, int ypos, int fuzzySearch, int staticsId);
int getItemIndexByGameObjectId(int objectId);
+ int getItemSubIndexByStaticsId(int index, int staticsId);
+ int getItemSubIndexByMovementId(int index, int movId);
+ int getItemSubIndexByMGM(int idx, StaticANIObject *ani);
+
bool initDirections(StaticANIObject *obj, MovGraph2Item *item);
};
@@ -308,6 +312,24 @@ public:
int _motionControllerObj;
};
+struct LinkInfo {
+ int link;
+ int node;
+};
+
+struct MovInfo1 {
+ int field_0;
+ Common::Point pt1;
+ Common::Point pt2;
+ int distance1;
+ int distance2;
+ int subIndex;
+ int item1Index;
+ int items;
+ int itemsCount;
+ int flags;
+};
+
} // End of namespace Fullpipe
#endif /* FULLPIPE_MOTION_H */