aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file.h
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 22:51:12 +0000
committerArnaud Boutonné2011-01-23 22:51:12 +0000
commitf7f42fba21583ed5733268dedcc04f28e26372c2 (patch)
treed8be5eed86ff00fe356c83da972bd360ab675138 /engines/hugo/file.h
parentc81be09bcd9b2654b3af3bf30ad7b4b387b62e44 (diff)
downloadscummvm-rg350-f7f42fba21583ed5733268dedcc04f28e26372c2.tar.gz
scummvm-rg350-f7f42fba21583ed5733268dedcc04f28e26372c2.tar.bz2
scummvm-rg350-f7f42fba21583ed5733268dedcc04f28e26372c2.zip
HUGO: Get rid of (almost) all the remaining defines
svn-id: r55485
Diffstat (limited to 'engines/hugo/file.h')
-rw-r--r--engines/hugo/file.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/hugo/file.h b/engines/hugo/file.h
index b94c4a23f7..72029f0ddb 100644
--- a/engines/hugo/file.h
+++ b/engines/hugo/file.h
@@ -33,14 +33,7 @@
#ifndef HUGO_FILE_H
#define HUGO_FILE_H
-// TODO get rid of those defines
-#define HELPFILE "help.dat"
-#define BOOTFILE "HUGO.BSF" // Name of boot structure file
-#define EOP '#' // Marks end of a page in help file
-
namespace Hugo {
-
-
/**
* Enumerate overlay file types
*/
@@ -61,6 +54,14 @@ public:
bool restoreGame(int16 slot);
bool saveGame(int16 slot, Common::String descrip);
+ // Name scenery and objects picture databases
+ const char *getBootFilename() { return "HUGO.BSF"; }
+ const char *getObjectFilename() { return "objects.dat"; }
+ const char *getSceneryFilename() { return "scenery.dat"; }
+ const char *getSoundFilename() { return "sounds.dat"; }
+ const char *getStringFilename() { return "strings.dat"; }
+ const char *getUifFilename() { return "uif.dat"; }
+
virtual void openDatabaseFiles() = 0;
virtual void closeDatabaseFiles() = 0;
virtual void instructions() = 0;