22 #ifndef SCUMM_SCRIPT_H 23 #define SCUMM_SCRIPT_H 25 #include "common/func.h" 33 #ifndef REDUCE_MEMORY_USAGE 37 #ifndef REDUCE_MEMORY_USAGE 46 void setProc(Opcode *p,
const char *d) {
51 #ifndef REDUCE_MEMORY_USAGE 60 #ifndef REDUCE_MEMORY_USAGE 61 # define _OPCODE(ver, x) setProc(new Common::Functor0Mem<void, ver>(this, &ver::x), #x) 63 # define _OPCODE(ver, x) setProc(new Common::Functor0Mem<void, ver>(this, &ver::x), "") 90 uint16 delayFrameCount;
91 bool freezeResistant, recursive;
96 byte cutsceneOverride;
117 kMaxScriptNestingHE = 40
121 kScriptNumEXCD = 10001,
122 kScriptNumENCD = 10002
126 #define ROOM_VAL(val) (0x8000 + (val)) 132 int16 cutSceneScriptIndex;
133 byte cutSceneStackPointer;
136 int32 localvar[NUM_SCRIPT_SLOT][NUM_SCRIPT_LOCAL + 1];
139 byte numNestedScripts;
Definition: noncopyable.h:39