22 #ifndef ILLUSIONS_SCRIPTOPCODES_H 23 #define ILLUSIONS_SCRIPTOPCODES_H 25 #include "common/func.h" 29 class IllusionsEngine;
36 uint32 _callerThreadId;
55 ScriptOpcode *_opcodes[256];
57 virtual void initOpcodes() {}
58 virtual void freeOpcodes() {}
62 #define ARG_SKIP(x) opCall.skip(x); 63 #define ARG_BYTE(name) byte name = opCall.readByte(); debug(5, "ARG_BYTE(" #name " = %d)", name); 64 #define ARG_INT16(name) int16 name = opCall.readSint16(); debug(5, "ARG_INT16(" #name " = %d)", name); 65 #define ARG_UINT32(name) uint32 name = opCall.readUint32(); debug(5, "ARG_UINT32(" #name " = %08X)", name); 69 #endif // ILLUSIONS_SCRIPTOPCODES_H
Definition: scriptopcodes.h:48
Definition: scriptthread.h:32
Definition: scriptopcodes.h:32
Definition: illusions.h:92