From 2412eb23ad7bc0efe143ca19caad8d0d01deb784 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 20 Jun 2013 15:34:29 -0400 Subject: FULLPIPE: Further refactoring classes into separate files --- engines/fullpipe/objects.h | 84 ++-------------------------------------------- 1 file changed, 3 insertions(+), 81 deletions(-) (limited to 'engines/fullpipe/objects.h') diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h index d6f46f7736..c39e0d0425 100644 --- a/engines/fullpipe/objects.h +++ b/engines/fullpipe/objects.h @@ -25,29 +25,11 @@ #include "fullpipe/utils.h" #include "fullpipe/inventory.h" +#include "fullpipe/gfx.h" +#include "fullpipe/scene.h" namespace Fullpipe { -class SceneTag : public CObject { - public: - int _field_4; - char *_tag; - int _scene; - int16 _sceneId; - int16 _field_12; - - public: - SceneTag(); - ~SceneTag(); - - virtual bool load(MfcArchive &file); -}; - -class SceneTagList : public Common::List, public CObject { - public: - virtual bool load(MfcArchive &file); -}; - class GameProject : public CObject { public: int _field_4; @@ -137,45 +119,6 @@ class CInputController { CInputController(); }; -class ShadowsItemArray : public Common::Array, public CObject { - public: - virtual bool load(MfcArchive &file); -}; - -class Background { - CPtrList list; - int stringObj; - int x; - int y; - int16 messageQueueId; - int colorMemoryObj; - int bigPictureArray1Count; - int bigPictureArray2Count; - int bigPictureArray; -}; - -class Shadows { - //CObject obj; - int sceneId; - int staticAniObjectId; - int movementId; - ShadowsItemArray items; -}; - -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; -}; - struct PicAniInfo { int32 type; int16 objectId; @@ -196,8 +139,7 @@ struct PicAniInfo { bool load(MfcArchive &file); }; -struct EntranceInfo -{ +struct EntranceInfo { int32 sceneId; int32 field_4; int32 messageQueueId; @@ -293,26 +235,6 @@ class CGameVar : public CObject { }; -class Picture { - MemoryObject obj; - Common::Rect rect; - int convertedBitmap; - int x; - int y; - int field_44; - int width; - int height; - int bitmap; - int field_54; - int memoryObject2; - int alpha; - int paletteData; -}; - -class BigPicture { - Picture pic; -}; - struct PreloadItem { int preloadId1; int preloadId2; -- cgit v1.2.3