aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/gob.cpp14
-rw-r--r--engines/gob/gob.h2
-rw-r--r--engines/gob/script.h1
3 files changed, 7 insertions, 10 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index bea1df70a7..3f448e7eb8 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -102,12 +102,12 @@ void PauseDialog::handleKeyDown(Common::KeyState state) {
GobEngine::GobEngine(OSystem *syst) : Engine(syst) {
- _sound = 0; _mult = 0; _game = 0;
- _global = 0; _dataIO = 0; _goblin = 0;
- _vidPlayer = 0; _init = 0; _inter = 0;
- _map = 0; _palAnim = 0; _parse = 0;
- _scenery = 0; _draw = 0; _util = 0;
- _video = 0; _saveLoad = 0;
+ _sound = 0; _mult = 0; _game = 0;
+ _global = 0; _dataIO = 0; _goblin = 0;
+ _vidPlayer = 0; _init = 0; _inter = 0;
+ _map = 0; _palAnim = 0; _scenery = 0;
+ _draw = 0; _util = 0; _video = 0;
+ _saveLoad = 0;
_pauseStart = 0;
@@ -332,7 +332,6 @@ bool GobEngine::initGameParts() {
_palAnim = new PalAnim(this);
_vidPlayer = new VideoPlayer(this);
_sound = new Sound(this);
- _parse = new Parse(this);
switch (_gameType) {
case kGameTypeGeisha:
@@ -497,7 +496,6 @@ void GobEngine::deinitGameParts() {
delete _inter; _inter = 0;
delete _map; _map = 0;
delete _palAnim; _palAnim = 0;
- delete _parse; _parse = 0;
delete _scenery; _scenery = 0;
delete _draw; _draw = 0;
delete _util; _util = 0;
diff --git a/engines/gob/gob.h b/engines/gob/gob.h
index 43e2270354..ecef9fa3ef 100644
--- a/engines/gob/gob.h
+++ b/engines/gob/gob.h
@@ -52,7 +52,6 @@ class Inter;
class Map;
class Mult;
class PalAnim;
-class Parse;
class Scenery;
class Util;
class SaveLoad;
@@ -197,7 +196,6 @@ public:
Map *_map;
Mult *_mult;
PalAnim *_palAnim;
- Parse *_parse;
Scenery *_scenery;
Inter *_inter;
SaveLoad *_saveLoad;
diff --git a/engines/gob/script.h b/engines/gob/script.h
index fce1a5447c..48de1b9e76 100644
--- a/engines/gob/script.h
+++ b/engines/gob/script.h
@@ -32,6 +32,7 @@
namespace Gob {
class GobEngine;
+class Parse;
class Script {
public: