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/nebular/game_nebular.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/nebular/game_nebular.h')
-rw-r--r-- | engines/mads/nebular/game_nebular.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/nebular/game_nebular.h b/engines/mads/nebular/game_nebular.h index 4d011c2f4a..7d64e3e49f 100644 --- a/engines/mads/nebular/game_nebular.h +++ b/engines/mads/nebular/game_nebular.h @@ -25,6 +25,7 @@ #include "common/scummsys.h" #include "mads/game.h" +#include "mads/globals.h" #include "mads/nebular/globals_nebular.h" namespace MADS { @@ -62,9 +63,11 @@ protected: virtual void checkShowDialog(); public: - Globals _globals; + NebularGlobals _globals; StoryMode _storyMode; + virtual Globals &globals() { return _globals; } + virtual void doObjectAction(); virtual void unhandledAction(); |