ScummVM API documentation
Toon::EMCInterpreter Class Reference

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
 

The documentation for this class was generated from the following file: