ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseScriptHolder Class Reference

#include <base_script_holder.h>

Inheritance diagram for Wintermute::BaseScriptHolder:
Collaboration diagram for Wintermute::BaseScriptHolder:

List of all members.

Public Member Functions

 BaseScriptHolder (BaseGame *inGame)
 ~BaseScriptHolder () override
ScScriptinvokeMethodThread (const char *methodName) override
virtual void makeFreezable (bool freezable)
bool canHandleEvent (const char *eventName) const
bool canHandleMethod (const char *eventMethod) const override
bool cleanup ()
bool removeScript (ScScript *script)
bool addScript (const char *filename)
bool saveAsText (BaseDynamicBuffer *buffer, int indent) override
virtual bool listen (BaseScriptHolder *param1, uint32 param2)
bool applyEvent (const char *eventName, bool unbreakable=false)
void setFilename (const char *filename)
const char * getFilename ()
bool parseProperty (char *buffer, bool complete=true)
ScValuescGetProperty (const Common::String &name) override
bool scSetProperty (const char *name, ScValue *value) override
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
const char * scToString () override
void scDebuggerDesc (char *buf, int bufSize) override
virtual bool sendEvent (const char *eventName)

Public Attributes

bool _freezable
bool _ready
BaseArray< ScScript * > _scripts

Private Attributes

char * _filename

Detailed Description

Definition at line 38 of file base_script_holder.h.


Constructor & Destructor Documentation

Wintermute::BaseScriptHolder::BaseScriptHolder ( BaseGame inGame  ) 

Definition at line 43 of file base_script_holder.cpp.

Wintermute::BaseScriptHolder::~BaseScriptHolder (  )  [override]

Definition at line 52 of file base_script_holder.cpp.


Member Function Documentation

bool Wintermute::BaseScriptHolder::addScript ( const char *  filename  ) 

Definition at line 301 of file base_script_holder.cpp.

bool Wintermute::BaseScriptHolder::applyEvent ( const char *  eventName,
bool  unbreakable = false 
)

Definition at line 88 of file base_script_holder.cpp.

bool Wintermute::BaseScriptHolder::canHandleEvent ( const char *  eventName  )  const

Definition at line 350 of file base_script_holder.cpp.

bool Wintermute::BaseScriptHolder::canHandleMethod ( const char *  eventMethod  )  const [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 361 of file base_script_holder.cpp.

const char* Wintermute::BaseScriptHolder::getFilename (  )  [inline]

Definition at line 55 of file base_script_holder.h.

ScScript * Wintermute::BaseScriptHolder::invokeMethodThread ( const char *  methodName  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 469 of file base_script_holder.cpp.

bool Wintermute::BaseScriptHolder::listen ( BaseScriptHolder param1,
uint32  param2 
) [virtual]
void Wintermute::BaseScriptHolder::makeFreezable ( bool  freezable  )  [virtual]

Reimplemented in Wintermute::UIWindow.

Definition at line 459 of file base_script_holder.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::BaseScriptHolder::parseProperty ( char *  buffer,
bool  complete = true 
)

Definition at line 377 of file base_script_holder.cpp.

bool Wintermute::BaseScriptHolder::removeScript ( ScScript script  ) 

Definition at line 339 of file base_script_holder.cpp.

void Wintermute::BaseScriptHolder::scDebuggerDesc ( char *  buf,
int  bufSize 
) [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 497 of file base_script_holder.cpp.

bool Wintermute::BaseScriptHolder::sendEvent ( const char *  eventName  )  [virtual]

Definition at line 513 of file base_script_holder.cpp.

void Wintermute::BaseScriptHolder::setFilename ( const char *  filename  ) 

Definition at line 72 of file base_script_holder.cpp.


Member Data Documentation

Definition at line 69 of file base_script_holder.h.

Reimplemented in Wintermute::BaseObject.

Definition at line 58 of file base_script_holder.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 19 2020 05:06:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge