Public Member Functions | |
| Inventory (Myst3Engine *vm) | |
| Common::Rect | getPosition () const override |
| Common::Rect | getOriginalPosition () const override |
| void | loadFromState () |
| void | updateState () |
| void | addItem (uint16 var, bool atEnd) |
| void | addSaavedroChapter (uint16 var) |
| void | addAll () |
| void | removeItem (uint16 var) |
| void | reset () |
| bool | isMouseInside () |
| void | updateCursor () |
| void | reflow () |
| uint16 | hoveredItem () |
| void | useItem (uint16 var) |
| void | draw () override |
Public Member Functions inherited from Myst3::Window | |
| Common::Point | getCenter () const |
| Common::Point | screenPosToWindowPos (const Common::Point &screen) const |
| Common::Point | scalePoint (const Common::Point &screen) const |
Public Member Functions inherited from Myst3::Drawable | |
| virtual void | drawOverlay () |
| bool | isConstrainedToWindow () const |
| bool | is3D () const |
| bool | isScaled () const |
Additional Inherited Members | |
Protected Attributes inherited from Myst3::Drawable | |
| bool | _isConstrainedToWindow |
| bool | _is3D |
| bool | _scaled |
|
overridevirtual |
Get the window position in screen coordinates
Implements Myst3::Window.
|
overridevirtual |
Get the window position in original (640x480) screen coordinates
Implements Myst3::Window.
| bool Myst3::Inventory::isMouseInside | ( | ) |
Is the mouse inside the inventory area
| void Myst3::Inventory::updateCursor | ( | ) |
Change the cursor when it is hovering an item