aboutsummaryrefslogtreecommitdiff
path: root/sword1/resman.h
diff options
context:
space:
mode:
authorRobert Göffringmann2003-12-20 16:30:58 +0000
committerRobert Göffringmann2003-12-20 16:30:58 +0000
commit2c19e18fc85becb52fceab42c7bddf19a0913459 (patch)
treeba93322f116326734fb3dd16c9174cbbc5f601f3 /sword1/resman.h
parentf533de72e48fa909240ecf3c0fffa5bfd895753b (diff)
downloadscummvm-rg350-2c19e18fc85becb52fceab42c7bddf19a0913459.tar.gz
scummvm-rg350-2c19e18fc85becb52fceab42c7bddf19a0913459.tar.bz2
scummvm-rg350-2c19e18fc85becb52fceab42c7bddf19a0913459.zip
I hope this fixes the control panel for other BS1 versions.
svn-id: r11785
Diffstat (limited to 'sword1/resman.h')
-rw-r--r--sword1/resman.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sword1/resman.h b/sword1/resman.h
index 23367c70b2..830f4be672 100644
--- a/sword1/resman.h
+++ b/sword1/resman.h
@@ -61,9 +61,9 @@ public:
Header *lockScript(uint32 scrID);
void unlockScript(uint32 scrID);
FrameHeader *fetchFrame(void *resourceData, uint32 frameNo);
- uint32 resLength(uint32 id); // this should be private. it's used in SwordSound for endian conversion, though
- // make it private again when the mixer supports little endian data.
private:
+ uint32 filesInGroup(uint32 id);
+ uint32 resLength(uint32 id);
BsMemHandle *resHandle(uint32 id);
uint32 resOffset(uint32 id);
void openCptResourceBigEndian(uint32 id);
@@ -76,6 +76,7 @@ private:
BsPrj _prj;
MemMan *_memMan;
static const uint32 _scriptList[TOTAL_SECTIONS]; //a table of resource tags
+ static uint32 _srIdList[29];
};
#endif //RESMAN_H