From 4bc204cfc466c889c2e539cc23eab87f37d409c9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 4 Jun 2013 23:48:54 +0300 Subject: FULLPIPE: Start of Interaction loading --- engines/fullpipe/objects.h | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) (limited to 'engines') 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 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 { -- cgit v1.2.3