ScummVM API documentation
Xeen::Interface Class Reference

#include <interface.h>

Inheritance diagram for Xeen::Interface:
Xeen::ButtonContainer Xeen::InterfaceScene Xeen::InterfaceMinimap Xeen::PartyDrawer Xeen::Cutscenes

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 Xeen::ButtonContainer
 ButtonContainer (XeenEngine *vm)
 
void saveButtons ()
 
void clearButtons ()
 
void restoreButtons ()
 
void addButton (const Common::Rect &bounds, int val, SpriteResource *sprites=nullptr)
 
void addButton (const Common::Rect &bounds, int val, int frameNum, SpriteResource *sprites=nullptr)
 
void addPartyButtons (XeenEngine *vm)
 
void drawButtons (XSurface *surface)
 
void clearEvents ()
 
- Public Member Functions inherited from Xeen::InterfaceScene
 InterfaceScene (XeenEngine *vm)
 
void setIndoorsMonsters ()
 
void setIndoorsObjects ()
 
void setIndoorsWallPics ()
 
void drawIndoors ()
 
void setOutdoorsMonsters ()
 
void setOutdoorsObjects ()
 
void drawOutdoors ()
 
- Public Member Functions inherited from Xeen::InterfaceMinimap
void drawMinimap ()
 
- Public Member Functions inherited from 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
 
byte _tillMove
 
int _charFX [6]
 
IconsMode _iconsMode
 
- Public Attributes inherited from 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 Xeen::ButtonContainer
bool checkEvents (XeenEngine *vm)
 
bool doScroll (bool rollUp, bool fadeIn) override
 
void loadStrings (const Common::String &name)
 
void loadStrings (const Common::String &name, int ccMode)
 
void setWaitBounds ()
 
- Protected Member Functions inherited from Xeen::Cutscenes
 Cutscenes (XeenEngine *vm)
 
uint getSpeakingFrame (uint minFrame, uint maxFrame)
 
- Protected Member Functions inherited from Xeen::InterfaceScene
void setMazeBits ()
 
void animate3d ()
 
void drawScene ()
 
- Protected Attributes inherited from Xeen::ButtonContainer
Common::Array< UIButton_buttons
 
Common::StringArray _textStrings
 
Common::Rect _waitBounds
 
int _buttonValue
 
- Protected Attributes inherited from Xeen::Cutscenes
XeenEngine_vm
 
- Protected Attributes inherited from Xeen::InterfaceScene
int8 _wp [20]
 
byte _wo [308]
 
bool _flipWater
 
bool _flipGround
 
bool _flipSky
 
bool _flipDefaultGround
 
bool _thinWall
 
bool _isAnimReset
 

Detailed Description

Implements the main in-game interface

Member Function Documentation

◆ startFalling()

void Xeen::Interface::startFalling ( bool  v)

Start the party falling

◆ perform()

void Xeen::Interface::perform ( )

Waits for a keypress or click, whilst still allowing the game scene to be animated.

◆ bash()

void Xeen::Interface::bash ( const Common::Point pt,
Direction  direction 
)

Handles bash actions

◆ draw3d()

void Xeen::Interface::draw3d ( bool  updateFlag,
bool  pauseFlag = true 
)

Handles drawing the elements of the interface and game scene

Parameters
updateFlagUpdates UI windows 1 & 3
pauseFlagDoes a brief pause at the end of drawing

◆ assembleBorder()

void Xeen::Interface::assembleBorder ( )

Draw the display borders

◆ obscureScene()

void Xeen::Interface::obscureScene ( Obscurity  obscurity)

Optionally obscures the scene due to low light conditions


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