ScummVM API documentation
Hollywood::RunawayMenu Class Reference

Classes

struct  Settings
 

Public Types

enum  Command {
  kNone , kResume , kSettingsChanged , kSaveSettings ,
  kRestoreDefaults , kQuit , kBrowseLoad , kBrowseSave ,
  kBrowseDelete , kLoadGame , kSaveGame , kDeleteGame ,
  kStartChapter
}
 

Public Member Functions

 RunawayMenu (Audio::Mixer *mixer, const RunawayStrings &strings)
 
bool load (RunawayGameType game)
 
void open (const Graphics::ManagedSurface &screen, const Settings &settings, bool canSave=false, bool canLoad=true, byte chapters=0)
 
void close ()
 
Command update (Common::Point mouse)
 
void tick (uint32 now)
 
Command click (bool right)
 
void release ()
 
Command cancel ()
 
Command key (uint32 ascii)
 
Command key (const Common::KeyState &key)
 
Command adjustVolume (int delta)
 
Command adjust (int delta)
 
void browse (Command mode, const SaveStateList &saves, int newSlot=-1)
 
void showMessage (const Common::U32String &message)
 
void operationDone (bool success)
 
int selectedSlot () const
 
int selectedChapter () const
 
void setChapterCount (byte chapters)
 
Common::String saveDescription () const
 
bool enteringName () const
 
void draw (Graphics::ManagedSurface &screen)
 
const Settings & settings () const
 

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