ScummVM API documentation
Hollywood::RunawayUI Class Reference

Classes

struct  Command
 

Public Member Functions

 RunawayUI (Audio::Mixer *mixer, RunawayInventory &inventory, const RunawayStrings &strings)
 
bool load (RunawayGameType game, byte chapter)
 
bool loadChapter (byte chapter)
 
void update (uint32 now, Common::Point mouse, byte roomHotspot, bool blocked, bool speaking, bool inventoryPresentation=false, byte speechFrame=0, bool roomHasVerbs=true, byte actionCursor=0, bool preferLook=false)
 
void setDialogueChoices (const Common::Array< Common::U32String > &choices)
 
Command click (bool right)
 
void toggleInventory ()
 
bool cancel ()
 
bool inventoryOpen () const
 
bool busy () const
 
RunawayVerb verb () const
 
byte hovered () const
 
void captureState (RunawaySaveState &state) const
 
void restoreState (const RunawaySaveState &state, uint32 now)
 
void setPointerSound (bool enabled)
 
void drawSubtitle (Graphics::ManagedSurface &screen, const Common::U32String &text) const
 
void draw (Graphics::ManagedSurface &screen, const Common::U32String &roomCaption, const Common::U32String &committedCaption, const Common::U32String &subtitle, bool showSubtitles)
 

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