ScummVM API documentation
Wintermute::DebuggableScript Class Reference
Inheritance diagram for Wintermute::DebuggableScript:
Wintermute::ScScript Wintermute::BaseClass

Public Member Functions

 DebuggableScript (BaseGame *inGame, DebuggableScEngine *engine)
 
ScValueresolveName (const Common::String &name)
 
virtual uint dbgGetLine () const
 
virtual Common::String dbgGetFilename () const
 
void step ()
 
void stepContinue ()
 
void stepFinish ()
 
void updateWatches ()
 
- Public Member Functions inherited from Wintermute::ScScript
bool finishThreads ()
 
bool copyParameters (ScStack *stack)
 
void afterLoad ()
 
bool resume ()
 
bool pause ()
 
bool canHandleEvent (const Common::String &eventName) const
 
bool canHandleMethod (const Common::String &methodName) const
 
bool createThread (ScScript *original, uint32 initIP, const Common::String &eventName)
 
bool createMethodThread (ScScript *original, const Common::String &methodName)
 
ScScriptinvokeEventHandler (const Common::String &eventName, bool unbreakable=false)
 
void runtimeError (const char *fmt,...)
 
bool run ()
 
bool finish (bool includingThreads=false)
 
bool sleep (uint32 duration)
 
bool waitForExclusive (BaseObject *object)
 
bool waitFor (BaseObject *object)
 
ScValuegetVar (char *name)
 
uint32 getFuncPos (const Common::String &name)
 
uint32 getEventPos (const Common::String &name) const
 
uint32 getMethodPos (const Common::String &name) const
 
virtual bool executeInstruction ()
 
char * getString ()
 
uint32 getDWORD ()
 
double getFloat ()
 
void cleanup ()
 
bool create (const char *filename, byte *buffer, uint32 size, BaseScriptHolder *owner)
 
 ScScript (BaseGame *inGame, ScEngine *engine)
 
ScScript::TExternalFunctiongetExternal (char *name)
 
bool externalCall (ScStack *stack, ScStack *thisStack, ScScript::TExternalFunction *function)
 
- 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)
 

Additional Inherited Members

- Public Attributes inherited from Wintermute::ScScript
BaseArray< int > _breakpoints
 
bool _tracingMode
 
ScScript_parentScript
 
bool _unbreakable
 
bool _freezable
 
uint32 _timeSlice
 
uint32 _waitTime
 
bool _waitFrozen
 
BaseObject_waitObject
 
ScScript_waitScript
 
TScriptState _state
 
TScriptState _origState
 
TScriptHeader _header
 
ScStack_callStack
 
ScStack_thisStack
 
ScStack_scopeStack
 
ScStack_stack
 
ScValue_globals
 
ScEngine_engine
 
int32 _currentLine
 
uint32 _iP
 
Common::SeekableReadStream_scriptStream
 
char * _filename
 
bool _thread
 
bool _methodThread
 
char * _threadEvent
 
BaseScriptHolder_owner
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 
- Protected Attributes inherited from Wintermute::ScScript
ScValue_operand
 
ScValue_reg1
 
- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

Member Function Documentation

◆ dbgGetLine()

virtual uint Wintermute::DebuggableScript::dbgGetLine ( ) const
virtual

Return argument to last II_DBG_LINE encountered

◆ step()

void Wintermute::DebuggableScript::step ( )

Execute one more instruction

◆ stepContinue()

void Wintermute::DebuggableScript::stepContinue ( )

Continue execution

◆ stepFinish()

void Wintermute::DebuggableScript::stepFinish ( )

Continue execution until the activation record on top of the stack is popped


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