aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/tony.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-13 22:34:40 +1000
committerPaul Gilbert2012-05-13 22:34:40 +1000
commit546f47ddcee07b5bd7ecad5f25f4bb022944e234 (patch)
treef3b6953eaf877174014fc40268ad9084f1e3327b /engines/tony/tony.h
parent35143eae094b713524ef677412befdc4c766df04 (diff)
downloadscummvm-rg350-546f47ddcee07b5bd7ecad5f25f4bb022944e234.tar.gz
scummvm-rg350-546f47ddcee07b5bd7ecad5f25f4bb022944e234.tar.bz2
scummvm-rg350-546f47ddcee07b5bd7ecad5f25f4bb022944e234.zip
TONY: Beginnings of refactoring Globals into their own class
Diffstat (limited to 'engines/tony/tony.h')
-rw-r--r--engines/tony/tony.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/tony/tony.h b/engines/tony/tony.h
index 4a80970bb9..c1ad6756c2 100644
--- a/engines/tony/tony.h
+++ b/engines/tony/tony.h
@@ -38,6 +38,7 @@
#include "tony/loc.h"
#include "tony/utils.h"
#include "tony/window.h"
+#include "tony/globals.h"
/**
* This is the namespace of the Tony engine.
@@ -51,6 +52,8 @@ namespace Tony {
using namespace MPAL;
+class Globals;
+
enum {
kTonyDebugAnimations = 1 << 0,
kTonyDebugActions = 1 << 1,
@@ -97,6 +100,7 @@ public:
Common::File _vdbFP;
Common::Array<VoiceHeader> _voices;
FPSOUND _theSound;
+ Globals _globals;
enum DATADIR {
DD_BASE = 1,
@@ -209,6 +213,8 @@ public:
// Global reference to the TonyEngine object
extern TonyEngine *_vm;
+#define GLOBALS _vm->_globals
+
} // End of namespace Tony
#endif /* TONY_H */