aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-04 23:48:54 +0300
committerEugene Sandulenko2013-09-06 14:48:08 +0300
commit4bc204cfc466c889c2e539cc23eab87f37d409c9 (patch)
tree0e7bc9d5382e614f4962ded455064406e134f2b8 /engines
parent4f4834d934df9cb320058ad3f58f52a38e2894ef (diff)
downloadscummvm-rg350-4bc204cfc466c889c2e539cc23eab87f37d409c9.tar.gz
scummvm-rg350-4bc204cfc466c889c2e539cc23eab87f37d409c9.tar.bz2
scummvm-rg350-4bc204cfc466c889c2e539cc23eab87f37d409c9.zip
FULLPIPE: Start of Interaction loading
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/objects.h33
1 files changed, 28 insertions, 5 deletions
diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h
index 20fbcdea9d..c39bbb37f8 100644
--- a/engines/fullpipe/objects.h
+++ b/engines/fullpipe/objects.h
@@ -113,12 +113,35 @@ class GameProject {
~GameProject();
};
+class CInteraction {
+ CObject obj;
+ int16 objectId1;
+ int16 objectId2;
+ int16 objectId3;
+ int16 staticsId1;
+ int16 staticsId2;
+ int16 field_E;
+ int objectState1;
+ int objectState2;
+ int xOffs;
+ int yOffs;
+ int messageQueue;
+ int sceneId;
+ int field_28;
+ int flags;
+ int stringObj;
+};
+
+typedef Common::List<CInteraction> CInteractions;
+
class CInteractionController {
- CObject obj;
- CObList interactions;
- int16 field_20;
- char gap_22[2];
- int flag24;
+ CObject _obj;
+ CInteractions _interactions;
+ int16 _field_20;
+ int _flag24;
+
+ public:
+ CInteractionController() : _field_20(0), _flag24(1) {}
};
class CInputControllerItemArray {