diff options
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 | ||||
-rw-r--r-- | engines/parallaction/graphics.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 9110731a04..58fb02a750 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -33,10 +33,6 @@ namespace Parallaction { - -typedef Common::HashMap<Common::String, int32, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo> VarMap; -VarMap _vars; - void Gfx::registerVar(const Common::String &name, int32 initialValue) { if (_vars.contains(name)) { warning("Variable '%s' already registered, ignoring initial value.\n", name.c_str()); diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h index 8f1c14aef0..894e0fd678 100644 --- a/engines/parallaction/graphics.h +++ b/engines/parallaction/graphics.h @@ -452,10 +452,13 @@ enum { kBackgroundSlide = 2 }; +typedef Common::HashMap<Common::String, int32, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo> VarMap; + class Gfx { public: Disk *_disk; + VarMap _vars; GfxObjList _gfxobjList[3]; GfxObj* loadAnim(const char *name); |