diff options
author | Paul Gilbert | 2014-04-21 20:50:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-21 20:50:05 -0400 |
commit | 692af23f6f0a698e9089fcef0592fcb20e56efa6 (patch) | |
tree | 101e3135a7e22f1e97d40893897b253fbf16d8f1 /engines/mads/game.h | |
parent | ff70186855bec22fe77043d89917b189218ff856 (diff) | |
download | scummvm-rg350-692af23f6f0a698e9089fcef0592fcb20e56efa6.tar.gz scummvm-rg350-692af23f6f0a698e9089fcef0592fcb20e56efa6.tar.bz2 scummvm-rg350-692af23f6f0a698e9089fcef0592fcb20e56efa6.zip |
MADS: Create a Globals base class that the games will derive from
Diffstat (limited to 'engines/mads/game.h')
-rw-r--r-- | engines/mads/game.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mads/game.h b/engines/mads/game.h index 44aa0dbee5..5bb7b31973 100644 --- a/engines/mads/game.h +++ b/engines/mads/game.h @@ -27,6 +27,7 @@ #include "common/str-array.h" #include "mads/scene.h" #include "mads/game_data.h" +#include "mads/globals.h" #include "mads/inventory.h" #include "mads/player.h" #include "mads/screen.h" @@ -150,6 +151,11 @@ public: Common::StringArray getMessage(uint32 id); /** + * Returns the globals for the game + */ + virtual Globals &globals() = 0; + + /** * Standard object handling across the game */ virtual void doObjectAction() = 0; |