28 #ifndef WINTERMUTE_BASE_SCRIPTHOLDER_H 29 #define WINTERMUTE_BASE_SCRIPTHOLDER_H 31 #include "engines/wintermute/coll_templ.h" 32 #include "engines/wintermute/persistent.h" 33 #include "engines/wintermute/base/base_scriptable.h" 43 ScScript *invokeMethodThread(
const char *methodName)
override;
44 virtual void makeFreezable(
bool freezable);
45 bool canHandleEvent(
const char *eventName)
const;
46 bool canHandleMethod(
const char *eventMethod)
const override;
49 bool addScript(
const char *filename);
52 bool applyEvent(
const char *eventName,
bool unbreakable =
false);
53 void setFilename(
const char *filename);
54 const char *getFilename() {
return _filename; }
55 bool parseProperty(
char *buffer,
bool complete =
true);
62 bool scSetProperty(
const char *name,
ScValue *value)
override;
64 const char *scToString()
override;
65 void scDebuggerDesc(
char *buf,
int bufSize)
override;
70 virtual bool sendEvent(
const char *eventName);
Definition: base_game.h:76
Definition: script_value.h:42
Definition: base_dynamic_buffer.h:35
Definition: base_scriptable.h:41
Definition: script_stack.h:41
Definition: base_script_holder.h:37
Definition: coll_templ.h:63
Definition: achievements_tables.h:27