Classes | |
struct | OpcodeEntry |
Public Member Functions | |
EMCInterpreter (ToonEngine *vm) | |
bool | load (const char *filename, EMCData *data, const Common::Array< const OpcodeV2 *> *opcodes) |
void | unload (EMCData *data) |
void | init (EMCState *scriptState, const EMCData *data) |
bool | start (EMCState *script, int function) |
void | saveState (EMCState *script, Common::WriteStream *stream) |
void | loadState (EMCState *script, Common::ReadStream *stream) |
bool | isValid (EMCState *script) |
bool | run (EMCState *script) |
Protected Types | |
typedef void(EMCInterpreter::* | OpcodeProc) (EMCState *) |
Protected Member Functions | |
bool | callback (Common::IFFChunk &chunk) |
Protected Attributes | |
ToonEngine * | _vm |
int16 | _parameter |
const char * | _filename |
EMCData * | _scriptData |
const OpcodeEntry * | _opcodes |