#include <interface.h>
Public Member Functions | |
| Interface (XeenEngine *vm) | |
| void | setup () |
| void | manageCharacters (bool soundPlayed) |
| void | startup () |
| void | mainIconsPrint () |
| void | startFalling (bool v) |
| void | perform () |
| void | rest () |
| void | bash (const Common::Point &pt, Direction direction) |
| void | draw3d (bool updateFlag, bool pauseFlag=true) |
| void | assembleBorder () |
| void | doCombat () |
| void | spellFX (Character *c) |
| void | obscureScene (Obscurity obscurity) |
Public Member Functions inherited from MM::Xeen::ButtonContainer | |
| ButtonContainer (XeenEngine *vm) | |
| void | saveButtons () |
| void | clearButtons () |
| void | restoreButtons () |
| void | addButton (const Common::Rect &bounds, int val, SpriteResource *sprites=nullptr, uint8 ttsIndex=UINT8_MAX) |
| void | addButton (const Common::Rect &bounds, int val, int frameNum, SpriteResource *sprites=nullptr, uint8 ttsIndex=UINT8_MAX) |
| void | addPartyButtons (XeenEngine *vm) |
| void | drawButtons (XSurface *surface) |
| void | clearEvents () |
| void | checkHoverOverButton () |
Public Member Functions inherited from MM::Xeen::InterfaceScene | |
| InterfaceScene (XeenEngine *vm) | |
| void | setIndoorsMonsters () |
| void | setIndoorsObjects () |
| void | setIndoorsWallPics () |
| void | drawIndoors () |
| void | setOutdoorsMonsters () |
| void | setOutdoorsObjects () |
| void | drawOutdoors () |
Public Member Functions inherited from MM::Xeen::InterfaceMinimap | |
| void | drawMinimap () |
Public Member Functions inherited from MM::Xeen::PartyDrawer | |
| PartyDrawer (XeenEngine *vm) | |
| void | drawParty (bool updateFlag) |
| void | highlightChar (int charId) |
| void | highlightChar (const Character *c) |
| void | unhighlightChar () |
| void | resetHighlight () |
Public Attributes | |
| Obscurity | _obscurity |
| FallState | _falling |
| int | _face1State |
| int | _face2State |
| int | _face1UIFrame |
| int | _face2UIFrame |
| int | _spotDoorsUIFrame |
| int | _dangerSenseUIFrame |
| int | _levitateUIFrame |
| bool | _upDoorText |
| Common::String | _screenText |
| Common::String | _ttsPreviousScreenText |
| byte | _tillMove |
| int | _charFX [6] |
| IconsMode | _iconsMode |
Public Attributes inherited from MM::Xeen::InterfaceScene | |
| OutdoorDrawList | _outdoorList |
| IndoorDrawList | _indoorList |
| SpriteResource | _charPowSprites |
| int | _objNumber |
| int | _overallFrame |
| bool | _charsShooting |
| bool | _openDoor |
| bool | _isAttacking |
Additional Inherited Members | |
Protected Member Functions inherited from MM::Xeen::ButtonContainer | |
| bool | checkEvents (XeenEngine *vm) |
| bool | doScroll (bool rollUp, bool fadeIn) override |
| void | loadStrings (const Common::Path &name) |
| void | loadStrings (const Common::Path &name, int ccMode) |
| void | setWaitBounds () |
| Common::String | getNextTextSection (const Common::String &text, uint &index, uint count, const char *separator) const |
| Common::String | getNextTextSection (const Common::String &text, uint &index, uint count) const |
| Common::String | getNextTextSection (const Common::String &text, uint &index) const |
| Common::String | addNextTextToButtons (const Common::String &text, uint &index) |
| Common::String | addNextTextToButtons (const Common::String &text, uint &index, uint count) |
| void | setButtonTexts (const Common::String &text) |
| void | disableButtonVoicing (uint startIndex, uint endIndex) |
| void | enableButtonVoicing (uint startIndex, uint endIndex) |
Protected Member Functions inherited from MM::Xeen::Cutscenes | |
| Cutscenes (XeenEngine *vm) | |
| uint | getSpeakingFrame (uint minFrame, uint maxFrame) |
Protected Member Functions inherited from MM::Xeen::InterfaceScene | |
| void | setMazeBits () |
| void | animate3d () |
| void | drawScene () |
Protected Attributes inherited from MM::Xeen::ButtonContainer | |
| Common::Array< UIButton > | _buttons |
| Common::StringArray | _textStrings |
| Common::Rect | _waitBounds |
| int | _buttonValue |
| Common::StringArray | _buttonTexts |
| int | _previousButton |
Protected Attributes inherited from MM::Xeen::Cutscenes | |
| XeenEngine * | _vm |
Protected Attributes inherited from MM::Xeen::InterfaceScene | |
| int8 | _wp [20] |
| byte | _wo [308] |
| bool | _flipWater |
| bool | _flipGround |
| bool | _flipSky |
| bool | _flipDefaultGround |
| bool | _thinWall |
| bool | _isAnimReset |
Implements the main in-game interface
| void MM::Xeen::Interface::startFalling | ( | bool | v | ) |
Start the party falling
| void MM::Xeen::Interface::perform | ( | ) |
Waits for a keypress or click, whilst still allowing the game scene to be animated.
| void MM::Xeen::Interface::bash | ( | const Common::Point & | pt, |
| Direction | direction | ||
| ) |
Handles bash actions
| void MM::Xeen::Interface::draw3d | ( | bool | updateFlag, |
| bool | pauseFlag = true |
||
| ) |
Handles drawing the elements of the interface and game scene
| updateFlag | Updates UI windows 1 & 3 |
| pauseFlag | Does a brief pause at the end of drawing |
| void MM::Xeen::Interface::assembleBorder | ( | ) |
Draw the display borders
| void MM::Xeen::Interface::obscureScene | ( | Obscurity | obscurity | ) |
Optionally obscures the scene due to low light conditions