From bb4ea153ffa5eaf5be3e912e206566f7c9278a87 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 20 Jun 2013 16:39:05 -0400 Subject: FULLPIPE: Started scene loading --- engines/fullpipe/scene.h | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) (limited to 'engines/fullpipe/scene.h') diff --git a/engines/fullpipe/scene.h b/engines/fullpipe/scene.h index ee2ddd982b..d049267ad4 100644 --- a/engines/fullpipe/scene.h +++ b/engines/fullpipe/scene.h @@ -25,11 +25,29 @@ namespace Fullpipe { +class Scene : public CObject { + Background bg; + CPtrList staticANIObjectList1; + CPtrList staticANIObjectList2; + CPtrList messageQueueList; + CPtrList faObjectList; + Shadows *shadows; + int soundList; + int16 sceneId; + int stringObj; + int field_BC; + int libHandle; + + public: + Scene(); + virtual bool load(MfcArchive &file); +}; + class SceneTag : public CObject { public: int _field_4; char *_tag; - int _scene; + Scene *_scene; int16 _sceneId; int16 _field_12; @@ -38,6 +56,7 @@ class SceneTag : public CObject { ~SceneTag(); virtual bool load(MfcArchive &file); + void loadScene(); }; class SceneTagList : public Common::List, public CObject { @@ -45,20 +64,6 @@ class SceneTagList : public Common::List, public CObject { virtual bool load(MfcArchive &file); }; -class Scene { - Background bg; - CPtrList staticANIObjectList1; - CPtrList staticANIObjectList2; - CPtrList messageQueueList; - CPtrList faObjectList; - Shadows *shadows; - int soundList; - int16 sceneId; - int stringObj; - int field_BC; - int libHandle; -}; - } // End of namespace Fullpipe #endif /* FULLPIPE_SCENE_H */ -- cgit v1.2.3