aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichieSams2013-09-15 14:55:59 -0500
committerRichieSams2013-09-15 15:01:01 -0500
commitc312b147fa7f5a28491975ae0bcc4b419e7e126a (patch)
treeff50164fb7d779465406615cb325aa347e4538a8
parent82ea7ca0e7bad570195f41392f717a42254aff5f (diff)
downloadscummvm-rg350-c312b147fa7f5a28491975ae0bcc4b419e7e126a.tar.gz
scummvm-rg350-c312b147fa7f5a28491975ae0bcc4b419e7e126a.tar.bz2
scummvm-rg350-c312b147fa7f5a28491975ae0bcc4b419e7e126a.zip
ZVISION: Create an instance of StringManager
-rw-r--r--engines/zvision/zvision.cpp3
-rw-r--r--engines/zvision/zvision.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index f1e525d2d5..dc1cf476a7 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -40,6 +40,7 @@
#include "zvision/render_manager.h"
#include "zvision/cursor_manager.h"
#include "zvision/save_manager.h"
+#include "zvision/string_manager.h"
#include "zvision/zfs_archive.h"
#include "zvision/detection.h"
@@ -71,8 +72,8 @@ ZVision::ZVision(OSystem *syst, const ZVisionGameDescription *gameDesc)
// Create managers
_scriptManager = new ScriptManager(this);
_renderManager = new RenderManager(_system, WINDOW_WIDTH, WINDOW_HEIGHT, _workingWindow, _pixelFormat);
-
_saveManager = new SaveManager(this);
+ _stringManager = new StringManager(this);
debug("ZVision::ZVision");
}
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h
index 94bcfdf171..a481aba28f 100644
--- a/engines/zvision/zvision.h
+++ b/engines/zvision/zvision.h
@@ -48,6 +48,7 @@ class Console;
class ScriptManager;
class RenderManager;
class CursorManager;
+class StringManager;
class SaveManager;
class RlfAnimation;
@@ -97,6 +98,7 @@ private:
RenderManager *_renderManager;
CursorManager *_cursorManager;
SaveManager *_saveManager;
+ StringManager *_stringManager;
// Clock
Clock _clock;
@@ -114,6 +116,7 @@ public:
RenderManager *getRenderManager() const { return _renderManager; }
CursorManager *getCursorManager() const { return _cursorManager; }
SaveManager *getSaveManager() const { return _saveManager; }
+ StringManager *getStringManager() const { return _stringManager; }
Common::RandomSource *getRandomSource() const { return _rnd; }
ZVisionGameId getGameId() const { return _gameDescription->gameId; }