aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/zvision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/zvision.cpp')
-rw-r--r--engines/zvision/zvision.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp
index 452ed00daf..2009ccde44 100644
--- a/engines/zvision/zvision.cpp
+++ b/engines/zvision/zvision.cpp
@@ -32,10 +32,13 @@
#include "engines/util.h"
#include "zvision/zvision.h"
+#include "zvision/scriptManager.h"
#include "zvision/zfsArchive.h"
#include "graphics/decoders/tga.h"
+#include "zvision/tests.h"
+
namespace ZVision {
ZVision::ZVision(OSystem *syst, const ZVisionGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) {
@@ -59,7 +62,7 @@ ZVision::ZVision(OSystem *syst, const ZVisionGameDescription *gameDesc) : Engine
// Don't forget to register your random source
_rnd = new Common::RandomSource("zvision");
-
+
debug("ZVision::ZVision");
}
@@ -90,6 +93,8 @@ void ZVision::initialize() {
Graphics::PixelFormat format = Graphics::PixelFormat(2, 5, 5, 5, 0, 10, 5, 0, 0); // RGB555
initGraphics(640, 480, true, &format);
+ _scriptManager.initialize();
+
// Create debugger console. It requires GFX to be initialized
_console = new Console(this);
}