From 692af23f6f0a698e9089fcef0592fcb20e56efa6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 21 Apr 2014 20:50:05 -0400 Subject: MADS: Create a Globals base class that the games will derive from --- engines/mads/game.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/mads/game.h') 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" @@ -149,6 +150,11 @@ public: void splitQuote(Common::String quote, Common::String part1, Common::String part2) {warning("TODO: splitQuote()");} Common::StringArray getMessage(uint32 id); + /** + * Returns the globals for the game + */ + virtual Globals &globals() = 0; + /** * Standard object handling across the game */ -- cgit v1.2.3