aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-11 23:16:50 +0000
committerJohannes Schickel2008-05-11 23:16:50 +0000
commitbb035967442df0f9cb7de3e3da3d73ce2f4ce5d2 (patch)
treea27c1f8806b2b17ed04041677e4d167fd5beb22a /engines/kyra/script.h
parentea301f9c7bbf02e0fc67fbc1447aac5a489db70b (diff)
downloadscummvm-rg350-bb035967442df0f9cb7de3e3da3d73ce2f4ce5d2.tar.gz
scummvm-rg350-bb035967442df0f9cb7de3e3da3d73ce2f4ce5d2.tar.bz2
scummvm-rg350-bb035967442df0f9cb7de3e3da3d73ce2f4ce5d2.zip
- Renamed KyraEngine to KyraEngine_v1
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
Diffstat (limited to 'engines/kyra/script.h')
-rw-r--r--engines/kyra/script.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/kyra/script.h b/engines/kyra/script.h
index df86ec79c3..de52093f66 100644
--- a/engines/kyra/script.h
+++ b/engines/kyra/script.h
@@ -27,6 +27,7 @@
#define KYRA_SCRIPT_H
#include "common/stream.h"
+#include "common/array.h"
#include "common/func.h"
namespace Kyra {
@@ -63,7 +64,7 @@ struct EMCState {
#define AVTL_CHUNK 0x4C545641
class Resource;
-class KyraEngine;
+class KyraEngine_v1;
class ScriptFileParser {
public:
@@ -89,7 +90,7 @@ private:
class EMCInterpreter {
public:
- EMCInterpreter(KyraEngine *vm);
+ EMCInterpreter(KyraEngine_v1 *vm);
bool load(const char *filename, EMCData *data, const Common::Array<const Opcode*> *opcodes);
void unload(EMCData *data);
@@ -101,7 +102,7 @@ public:
bool run(EMCState *script);
protected:
- KyraEngine *_vm;
+ KyraEngine_v1 *_vm;
int16 _parameter;
typedef void (EMCInterpreter::*CommandProc)(EMCState*);