ScummVM API documentation
Saga::Interface Class Reference

Public Member Functions

 Interface (SagaEngine *vm)
 
int activate ()
 
int deactivate ()
 
void setSaveReminderState (int state)
 
int getSaveReminderState ()
 
bool isActive ()
 
void setMode (int mode)
 
int getMode () const
 
void setFadeMode (int fadeMode)
 
int getFadeMode () const
 
void rememberMode ()
 
void restoreMode (bool draw_=true)
 
bool isInMainMode ()
 
void setStatusText (const char *text, int statusColor=-1)
 
void loadScenePortraits (int resourceId)
 
void setLeftPortrait (int portrait)
 
void setRightPortrait (int portrait)
 
void setPortraitBgColor (int red, int green, int blue)
 
void draw ()
 
void drawOption ()
 
void drawQuit ()
 
void drawLoad ()
 
void drawSave ()
 
void drawProtect ()
 
void update (const Point &mousePoint, int updateFlag)
 
void drawStatusBar ()
 
void setVerbState (int verb, int state)
 
bool processAscii (Common::KeyState keystate, Common::CustomEventType customType)
 
void keyBoss ()
 
void keyBossExit ()
 
void disableAbortSpeeches (bool d)
 
void updateSaveReminder ()
 
void enterStatusString ()
 
void refreshInventory ()
 
void addToInventory (int objectId)
 
void removeFromInventory (int objectId)
 
void clearInventory ()
 
int inventoryItemPosition (int objectId)
 
int getInventoryContentByPanelButton (PanelButton *panelButton)
 
PanelButtoninventoryHitTest (const Point &mousePoint)
 
PanelButtonverbHitTest (const Point &mousePoint)
 
void saveState (Common::OutSaveFile *out)
 
void loadState (Common::InSaveFile *in)
 
void mapPanelDrawCrossHair ()
 
int32 getProtectHash ()
 
void resetSaveReminder ()
 
void converseClear ()
 
bool converseAddText (const char *text, int strId, int replyId, byte replyFlags, int replyBit)
 
void converseDisplayText ()
 
void converseSetTextLines (int row)
 
void converseChangePos (int chg)
 
void converseSetPos (int key)
 

Static Public Member Functions

static void saveReminderCallback (void *refCon)
 

Public Attributes

bool _textInput
 
bool _statusTextInput
 
StatusTextInputState _statusTextInputState
 
char _statusTextInputString [256]
 
SpriteList _defPortraits
 
PalEntry _portraitBgColor
 

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