ScummVM API documentation
MADS::MADSAction Class Reference

Public Member Functions

 MADSAction (MADSEngine *vm)
 
void clear ()
 
void set ()
 
const Common::StringstatusText () const
 
void refresh ()
 
void startAction ()
 
void checkAction ()
 
bool isAction (int verbId, int objectNameId=0, int indirectObjectId=0)
 
bool isObject (int objectNameId)
 
bool isTarget (int objectNameId)
 
void checkActionAtMousePos ()
 
void leftClick ()
 
void synchronize (Common::Serializer &s)
 

Public Attributes

ActionDetails _action
 
ActionDetails _activeAction
 
int _articleNumber
 
bool _lookFlag
 
int _selectedRow
 
bool _textChanged
 
int _selectedAction
 
int _statusTextIndex
 
int _hotspotId
 
ActionSavedFields _savedFields
 
Common::String _sentence
 
VerbType _verbType
 
PrepType _prepType
 
ScrCategory _commandSource
 
ScrCategory _mainObjectSource
 
int _secondObject
 
ScrCategory _secondObjectSource
 
ScrCategory _recentCommandSource
 
bool _pointEstablished
 
int _recentCommand
 
InterAwaiting _interAwaiting
 
bool _inProgress
 
int _pickedWord
 

Member Function Documentation

◆ startAction()

void MADS::MADSAction::startAction ( )

Accepts the currently defined sentence from the ScreenObjects parser. Copies the data, and checks to see if the action requires the player to walk to the given hotspot.

◆ checkActionAtMousePos()

void MADS::MADSAction::checkActionAtMousePos ( )

Check the result of the current action on the sentence with the provision that the action is not yet complete.

◆ leftClick()

void MADS::MADSAction::leftClick ( )

Execute a click within the scene

◆ synchronize()

void MADS::MADSAction::synchronize ( Common::Serializer s)

Synchronize the saved action details


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