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);
67 void runtimeError(
const char *fmt, ...);
69 bool finish(
bool includingThreads =
false);
70 bool sleep(uint32 duration);
78 TScriptState _origState;
90 uint32 externalsTable;
115 TExternalType returns;
117 TExternalType *params;
128 virtual bool executeInstruction();
133 bool create(
const char *filename, byte *buffer, uint32 size,
BaseScriptHolder *owner);
147 uint32 _numExternals;
149 uint32 _numFunctions;
163 virtual void preInstHook(uint32 inst);
164 virtual void postInstHook(uint32 inst);
166 #ifdef ENABLE_FOXTAIL 167 TOpcodesType _opcodesType;
168 void initOpcodesType();
169 uint32 decodeAltOpcodes(uint32 inst);
172 bool _enableFloatCompareWA{};
Definition: base_game.h:75
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