ScummVM API documentation
Xeen::Locations::TavernLocation Class Reference
Inheritance diagram for Xeen::Locations::TavernLocation:
Xeen::Locations::BaseLocation Xeen::ButtonContainer Xeen::Cutscenes

Protected Member Functions

Common::String createLocationText (Character &ch) override
 
void farewell () override
 
CharacterdoOptions (Character *c) override
 
- Protected Member Functions inherited from Xeen::Locations::BaseLocation
void drawWindow ()
 
virtual void drawBackground ()
 
- 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)
 

Additional Inherited Members

- Public Member Functions inherited from Xeen::Locations::BaseLocation
 BaseLocation (LocationAction action)
 
virtual int show ()
 
void drawAnim (bool flag)
 
int wait ()
 
- 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 ()
 
- Protected Attributes inherited from Xeen::Locations::BaseLocation
LocationAction _locationActionId
 
Common::Array< SpriteResource_townSprites
 
SpriteResource _icons1
 
SpriteResource _icons2
 
int _townMaxId
 
const int & _ccNum
 
int _animFrame
 
Common::String _vocName
 
Common::String _songName
 
Common::Point _animPos
 
int _drawFrameIndex
 
uint _farewellTime
 
int _drawCtr1
 
int _drawCtr2
 
bool _exitToUi
 
- 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
 

Member Function Documentation

◆ createLocationText()

Common::String Xeen::Locations::TavernLocation::createLocationText ( Character ch)
overrideprotectedvirtual

Generates the display text for the location, for a given character

Reimplemented from Xeen::Locations::BaseLocation.

◆ farewell()

void Xeen::Locations::TavernLocation::farewell ( )
overrideprotectedvirtual

Handle any farewell

Reimplemented from Xeen::Locations::BaseLocation.

◆ doOptions()

Character* Xeen::Locations::TavernLocation::doOptions ( Character c)
overrideprotectedvirtual

Handles options for the particular location

Reimplemented from Xeen::Locations::BaseLocation.


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