diff options
author | johndoe123 | 2011-10-21 09:13:49 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:43 +0200 |
commit | 9cf2c83e5e5a35816ab153bf8443dac691829ea8 (patch) | |
tree | aaae7f06e6d26055b7cca20d5ef359cc2084101b /engines/neverhood/resourceman.h | |
parent | 023c36f2b6f1906c28d246a1b861e2287d85d851 (diff) | |
download | scummvm-rg350-9cf2c83e5e5a35816ab153bf8443dac691829ea8.tar.gz scummvm-rg350-9cf2c83e5e5a35816ab153bf8443dac691829ea8.tar.bz2 scummvm-rg350-9cf2c83e5e5a35816ab153bf8443dac691829ea8.zip |
NEVERHOOD: Major renaming:
- Give better names to animation callback functions/vars
- Give better names to animation functions (previously known as subXXXX - not completed yet)
- Add dumpAllResources (which is a lie, since it only dumps animations for now)
- More renaming to come
Diffstat (limited to 'engines/neverhood/resourceman.h')
-rw-r--r-- | engines/neverhood/resourceman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/neverhood/resourceman.h b/engines/neverhood/resourceman.h index 22614401f8..ed5bffaf9b 100644 --- a/engines/neverhood/resourceman.h +++ b/engines/neverhood/resourceman.h @@ -68,6 +68,8 @@ public: void unloadResource(int resourceHandle); void freeResource(Resource *resource); Common::SeekableReadStream *createStream(uint32 fileHash); + const ResourceFileEntry& getEntry(uint index) { return _entries[index]; } + uint getEntryCount() { return _entries.size(); } private: Common::Array<BlbArchive*> _archives; Common::Array<ResourceFileEntry> _entries; |