ScummVM API documentation
Harvester::InventorySystem Class Reference

Public Member Functions

 InventorySystem (HarvesterEngine &engine)
 
bool refresh ()
 
bool open ()
 
bool close ()
 
bool clearSelection ()
 
bool refreshIfRuntimeStateChanged ()
 
bool isOpen () const
 
bool hasSelection () const
 
const Common::StringgetSelectedItemName () const
 
Common::String resolveSelectedLabel () const
 
Common::String buildSelectedPrompt (const Common::String &targetLabel) const
 
void selectItem (const Common::String &objectName)
 
bool toggleCombatLoadout (const ObjectRecord &object, int currentLoadout, bool &changed)
 
bool resolveSecondaryAction (const ObjectRecord &object, InventorySecondaryAction &action) const
 
void setPromptText (const Common::String &promptText)
 
const Common::StringgetPromptText () const
 
Common::String resolveWeekdayLabel () const
 
const InventoryVisualfindItemAtPoint (const Common::Point &point) const
 
Common::Rect getPanelBounds () const
 
void drawOverlay (Graphics::Screen &screen) const
 
void drawSelectedDragItem (Graphics::Screen &screen, const Common::Point &point) const
 

Static Public Member Functions

static bool isExitObject (const ObjectRecord &object)
 
static bool isStatusObject (const ObjectRecord &object)
 

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