|
| Menu (TwinEEngine *engine) |
|
void | processPlasmaEffect (const Common::Rect &rect, int32 color) |
|
void | drawHealthBar (int32 left, int32 right, int32 top, int32 barLeftPadding, int32 barHeight) |
|
void | drawCloverLeafs (int32 newBoxLeft, int32 boxRight, int32 top) |
|
void | drawMagicPointsBar (int32 left, int32 right, int32 top, int32 barLeftPadding, int32 barHeight) |
|
void | drawCoins (int32 left, int32 top) |
|
void | drawKeys (int32 left, int32 top) |
|
void | drawRectBorders (int32 left, int32 top, int32 right, int32 bottom, int32 colorLeftTop=COLOR_79, int32 colorRightBottom=COLOR_73) |
|
void | drawRectBorders (const Common::Rect &rect, int32 colorLeftTop=COLOR_79, int32 colorRightBottom=COLOR_73) |
|
void | menuDemo () |
|
int32 | doGameMenu (MenuSettings *menuSettings) |
|
bool | init () |
|
EngineState | run () |
|
int32 | quitMenu () |
|
void | inGameOptionsMenu () |
|
int32 | optionsMenu () |
|
void | processBehaviourMenu (bool behaviourMenu) |
|
int32 | newGameClassicMenu () |
|
void | inventory () |
|
◆ processPlasmaEffect()
void TwinE::Menu::processPlasmaEffect |
( |
const Common::Rect & |
rect, |
|
|
int32 |
color |
|
) |
| |
Process the plasma effect
- Parameters
-
color | plasma effect start color |
◆ drawRectBorders()
void TwinE::Menu::drawRectBorders |
( |
int32 |
left, |
|
|
int32 |
top, |
|
|
int32 |
right, |
|
|
int32 |
bottom, |
|
|
int32 |
colorLeftTop = COLOR_79 , |
|
|
int32 |
colorRightBottom = COLOR_73 |
|
) |
| |
Draw the rect lines without filling the area
- Parameters
-
left | start width to draw the button |
top | start height to draw the button |
right | end width to draw the button |
bottom | end height to draw the button |
◆ menuDemo()
void TwinE::Menu::menuDemo |
( |
| ) |
|
Where the main menu options are processed
- Parameters
-
menuSettings | menu settings array with the information to build the menu options |
- Returns
- pressed menu button identification
◆ run()
EngineState TwinE::Menu::run |
( |
| ) |
|
Used to run the main menu
◆ quitMenu()
int32 TwinE::Menu::quitMenu |
( |
| ) |
|
Used to run the in-game give-up menu
◆ optionsMenu()
int32 TwinE::Menu::optionsMenu |
( |
| ) |
|
Used to run the options menu
◆ processBehaviourMenu()
void TwinE::Menu::processBehaviourMenu |
( |
bool |
behaviourMenu | ) |
|
Process hero behaviour menu
◆ inventory()
void TwinE::Menu::inventory |
( |
| ) |
|
Process in-game inventory menu
The documentation for this class was generated from the following file: