28 #ifndef WINTERMUTE_SCSCRIPT_H 29 #define WINTERMUTE_SCSCRIPT_H 32 #include "engines/wintermute/base/base.h" 33 #include "engines/wintermute/base/scriptables/dcscript.h" 34 #include "engines/wintermute/coll_templ.h" 35 #include "engines/wintermute/persistent.h" 38 class BaseScriptHolder;
52 bool copyParameters(
ScStack *stack);
69 void runtimeError(
const char *fmt, ...);
71 bool finish(
bool includingThreads =
false);
72 bool sleep(uint32 duration);
80 TScriptState _origState;
92 uint32 externalsTable;
117 TExternalType returns;
119 TExternalType *params;
130 virtual bool executeInstruction();
135 bool create(
const char *filename, byte *buffer, uint32 size,
BaseScriptHolder *owner);
158 uint32 _numExternals;
160 uint32 _numFunctions;
167 virtual void preInstHook(uint32 inst);
168 virtual void postInstHook(uint32 inst);
170 #ifdef ENABLE_FOXTAIL 171 TOpcodesType _opcodesType;
172 void initOpcodesType();
173 uint32 decodeAltOpcodes(uint32 inst);
Definition: base_game.h:76
Definition: script_value.h:42
Definition: script_stack.h:41
Definition: base_script_holder.h:37
Definition: script_engine.h:42
Definition: base_object.h:49
Definition: achievements_tables.h:27