diff options
author | Robert Göffringmann | 2003-12-20 09:12:54 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-12-20 09:12:54 +0000 |
commit | 59654b17191b99c23486f6a41076b9ed05a1c38f (patch) | |
tree | f088012a40319619f80b8e81082779bb6512f737 /sword1/objectman.h | |
parent | aceafcbb484f18aedda914bf321585a9c113016a (diff) | |
download | scummvm-rg350-59654b17191b99c23486f6a41076b9ed05a1c38f.tar.gz scummvm-rg350-59654b17191b99c23486f6a41076b9ed05a1c38f.tar.bz2 scummvm-rg350-59654b17191b99c23486f6a41076b9ed05a1c38f.zip |
added SwordControl (the control panel). Not yet finished.
svn-id: r11775
Diffstat (limited to 'sword1/objectman.h')
-rw-r--r-- | sword1/objectman.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sword1/objectman.h b/sword1/objectman.h index 8b06abe56a..fbbc72dd68 100644 --- a/sword1/objectman.h +++ b/sword1/objectman.h @@ -32,8 +32,9 @@ class ObjectMan { public: ObjectMan(ResMan *pResourceMan); ~ObjectMan(void); + void initialize(void); + BsObject *fetchObject(uint32 id); - //void unlockObject(uint32 id); uint32 fetchNoObjects(int section); bool sectionAlive(uint16 section); void megaEntering(uint16 section); @@ -44,12 +45,15 @@ public: void unlockText(uint32 textId); uint32 lastTextNumber(int section); - void closeSection(uint32 screen); + void closeSection(uint32 screen); + + void saveLiveList(uint16 *dest); // for loading/saving + void loadLiveList(uint16 *src); private: ResMan *_resMan; static const uint32 _objectList[TOTAL_SECTIONS]; //a table of pointers to object files static const uint32 _textList[TOTAL_SECTIONS][7]; //a table of pointers to text files - int _liveList[TOTAL_SECTIONS]; //which sections are active + uint16 _liveList[TOTAL_SECTIONS]; //which sections are active uint8 *_cptData[TOTAL_SECTIONS]; }; |