aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/myst.h')
-rw-r--r--engines/mohawk/myst.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/mohawk/myst.h b/engines/mohawk/myst.h
index 867131a712..1bd51e8aa8 100644
--- a/engines/mohawk/myst.h
+++ b/engines/mohawk/myst.h
@@ -26,7 +26,6 @@
#include "mohawk/console.h"
#include "mohawk/mohawk.h"
#include "mohawk/resource_cache.h"
-#include "mohawk/myst_scripts.h"
#include "mohawk/video.h"
#include "audio/mixer.h"
@@ -123,6 +122,7 @@ enum {
};
typedef Common::SharedPtr<MystCard> MystCardPtr;
+typedef Common::SharedPtr<MystScriptParser> MystScriptParserPtr;
class MohawkEngine_Myst : public MohawkEngine {
protected:
@@ -163,7 +163,7 @@ public:
MystSound *_sound;
MystGraphics *_gfx;
MystGameState *_gameState;
- MystScriptParser *_scriptParser;
+ MystScriptParserPtr _scriptParser;
Common::RandomSource *_rnd;
MystArea *loadResource(Common::SeekableReadStream *rlstStream, MystArea *parent);
@@ -199,7 +199,6 @@ public:
private:
MystConsole *_console;
MystOptionsDialog *_optionsDialog;
- MystScriptParser *_prevStack;
ResourceCache _cache;
uint16 _curStack;