ScummVM API documentation
Wintermute::ScEngine Class Reference
Inheritance diagram for Wintermute::ScEngine:
Wintermute::BaseClass Wintermute::DebuggableScEngine

Classes

class  CScCachedScript
 

Public Member Functions

bool clearGlobals (bool includingNatives=false)
 
bool tickUnbreakable ()
 
bool removeFinishedScripts ()
 
bool isValidScript (ScScript *script)
 
bool resumeAll ()
 
bool pauseAll ()
 
void editorCleanup ()
 
bool resetObject (BaseObject *Object)
 
bool resetScript (ScScript *script)
 
bool emptyScriptCache ()
 
byte * getCompiledScript (const char *filename, uint32 *outSize, bool ignoreCache=false)
 
bool cleanup ()
 
int getNumScripts (int *running=nullptr, int *waiting=nullptr, int *persistent=nullptr)
 
bool tick ()
 
ScScriptrunScript (const char *filename, BaseScriptHolder *owner=nullptr)
 
bool isRunningScript (const char *filename)
 
 ScEngine (BaseGame *inGame)
 
void enableProfiling ()
 
void disableProfiling ()
 
bool getIsProfiling ()
 
void addScriptTime (const char *filename, uint32 Time)
 
void dumpStats ()
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Static Public Member Functions

static byte * loadFile (void *data, char *filename, uint32 *size)
 
static void closeFile (void *data, byte *buffer)
 
static void parseElement (void *data, int line, int type, void *elementData)
 

Public Attributes

ScScript_currentScript
 
ScValue_globals
 
BaseArray< ScScript * > _scripts
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Static Public Attributes

static const bool _compilerAvailable = false
 

Additional Inherited Members

- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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