diff options
author | Florian Kagerer | 2009-02-21 17:24:50 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-02-21 17:24:50 +0000 |
commit | 8a95f02abfabb04972a6c85fbc655e53ae7a54f6 (patch) | |
tree | 66acc3d8e8b616b7f329888c8a529f922bfb370c /engines/kyra/resource.h | |
parent | 51bb24626a422664684e1d70484944b7c9809557 (diff) | |
download | scummvm-rg350-8a95f02abfabb04972a6c85fbc655e53ae7a54f6.tar.gz scummvm-rg350-8a95f02abfabb04972a6c85fbc655e53ae7a54f6.tar.bz2 scummvm-rg350-8a95f02abfabb04972a6c85fbc655e53ae7a54f6.zip |
LOL: some work on inventory/item handling
svn-id: r38711
Diffstat (limited to 'engines/kyra/resource.h')
-rw-r--r-- | engines/kyra/resource.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/kyra/resource.h b/engines/kyra/resource.h index 85be020ebc..d28001d893 100644 --- a/engines/kyra/resource.h +++ b/engines/kyra/resource.h @@ -220,6 +220,16 @@ enum kKyraResources { //lolIngameADLSfxIndex, lolSpellProperties, lolGameShapeMap, + lolCharInvIndex, + lolCharInvDefs, + lolCharDefsMan, + lolCharDefsWoman, + lolCharDefsKieran, + //lolCharDefsUnk, + lolCharDefsAkshel, + lolExpRequirements, + lolInventoryDesc, + lolLevelShpList, lolLevelDatList, lolCompassDefs, @@ -291,6 +301,7 @@ public: const SpellProperty *loadSpellData(int id, int &entries); const CompassDef *loadCompassData(int id, int &entries); const uint16 *loadRawDataBe16(int id, int &entries); + const uint32 *loadRawDataBe32(int id, int &entries); const ButtonDef *loadButtonDefs(int id, int &entries); // use '-1' to prefetch/unload all ids @@ -327,6 +338,7 @@ private: bool loadSpellData(const char *filename, void *&ptr, int &size); bool loadCompassData(const char *filename, void *&ptr, int &size); bool loadRawDataBe16(const char *filename, void *&ptr, int &size); + bool loadRawDataBe32(const char *filename, void *&ptr, int &size); bool loadButtonDefs(const char *filename, void *&ptr, int &size); void freeRawData(void *&ptr, int &size); @@ -341,6 +353,7 @@ private: void freeSpellData(void *&ptr, int &size); void freeCompassData(void *&ptr, int &size); void freeRawDataBe16(void *&ptr, int &size); + void freeRawDataBe32(void *&ptr, int &size); void freeButtonDefs(void *&ptr, int &size); const char *getFilename(const char *name); @@ -362,6 +375,7 @@ private: lolSpellData, lolCompassData, lolRawDataBe16, + lolRawDataBe32, lolButtonData }; |