diff options
author | Strangerke | 2013-02-27 00:15:54 +0100 |
---|---|---|
committer | Strangerke | 2013-02-27 00:15:54 +0100 |
commit | 58eefc0833a540213298f75e87222b12831dd1f7 (patch) | |
tree | 50641a8b7ed9182612be5f72ce3edad317b20736 /engines/hopkins/files.h | |
parent | c74361b0b63e315597ff8c83704f379726558166 (diff) | |
download | scummvm-rg350-58eefc0833a540213298f75e87222b12831dd1f7.tar.gz scummvm-rg350-58eefc0833a540213298f75e87222b12831dd1f7.tar.bz2 scummvm-rg350-58eefc0833a540213298f75e87222b12831dd1f7.zip |
HOPKINS: Get rid of magic values in FilesManager
Diffstat (limited to 'engines/hopkins/files.h')
-rw-r--r-- | engines/hopkins/files.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/hopkins/files.h b/engines/hopkins/files.h index 55a57955b2..461bd22bf2 100644 --- a/engines/hopkins/files.h +++ b/engines/hopkins/files.h @@ -32,6 +32,11 @@ namespace Hopkins { class HopkinsEngine; +// CHECKME: RES_ANI looks unused +enum CatMode { RES_INI = 1, RES_REP = 2, RES_LIN = 3, RES_ANI = 4, + RES_PER = 5, RES_PIC = 6, RES_SAN = 7, RES_SLI = 8, + RES_VOI = 9 }; + class FileManager { public: HopkinsEngine *_vm; @@ -43,7 +48,7 @@ public: byte *loadFile(const Common::String &file); int readStream(Common::ReadStream &stream, void *buf, size_t nbytes); void initCensorship(); - byte *searchCat(const Common::String &file, int a2); + byte *searchCat(const Common::String &file, CatMode mode); uint32 fileSize(const Common::String &filename); }; |