ScummVM API documentation
M4::Burger::Rooms::MenuRoom Class Reference

#include <menu_room.h>

Inheritance diagram for M4::Burger::Rooms::MenuRoom:
M4::Burger::Rooms::Room M4::Room M4::Burger::Rooms::Room901 M4::Burger::Rooms::Room903

Public Member Functions

 MenuRoom (const char *menuName, const char *clickName)
 
void init () override
 
void daemon () override
 
- Public Member Functions inherited from M4::Burger::Rooms::Room
HotSpotReccustom_hotspot_which (int32 x, int32 y) override
 
void compact_mem_and_report ()
 
void npc_say (const char *digiName, int trigger=-1, const char *seriesName=nullptr, int layer=0, bool shadow=true, int firstFrame=0, int lastFrame=-1, int digiSlot=1, int digiVol=255)
 
void npc_say (int trigger=-1, const char *seriesName=nullptr, int layer=0, bool shadow=true, int firstFrame=0, int lastFrame=-1, int digiSlot=1, int digiVol=255)
 
- Public Member Functions inherited from M4::Room
virtual void preload ()
 
virtual void pre_parser ()
 
virtual void parser ()
 
virtual void roomError ()
 
virtual void shutdown ()
 
virtual void syncGame (Common::Serializer &s)
 

Protected Member Functions

void setButtons (const MenuButtonDef *btns, int count)
 
void drawButton (int index)
 
void drawButtons ()
 
void setButtonState (int index, ButtonState newState)
 
void resetSelectedButton ()
 

Protected Attributes

Common::Array< MenuButton_buttons
 
- Protected Attributes inherited from M4::Burger::Rooms::Room
Series _roomSeries1
 
Series _general
 

Additional Inherited Members

- Static Public Member Functions inherited from M4::Burger::Rooms::Room
static void setWilburHotspot ()
 
- Static Protected Attributes inherited from M4::Burger::Rooms::Room
static HotSpotRec _wilburHotspot
 

Detailed Description

Base class used for the menu rooms 901 and 903

Member Function Documentation

◆ setButtons()

void M4::Burger::Rooms::MenuRoom::setButtons ( const MenuButtonDef btns,
int  count 
)
protected

Set the display buttons

◆ drawButton()

void M4::Burger::Rooms::MenuRoom::drawButton ( int  index)
protected

Draws a button

◆ drawButtons()

void M4::Burger::Rooms::MenuRoom::drawButtons ( )
protected

Draws all the buttons

◆ setButtonState()

void M4::Burger::Rooms::MenuRoom::setButtonState ( int  index,
ButtonState  newState 
)
protected

Changes a button's state

◆ resetSelectedButton()

void M4::Burger::Rooms::MenuRoom::resetSelectedButton ( )
inlineprotected

Resets the selected button


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