#include <gamescreen.h>
Public Member Functions | |
GameScreen (Gfx::Driver *gfx, Cursor *cursor) | |
void | open () override |
void | close () override |
void | handleGameLoop () override |
void | render () override |
void | onScreenChanged () override |
void | handleMouseMove () override |
void | handleClick () override |
void | handleRightClick () override |
void | handleDoubleClick () override |
InventoryWindow * | getInventoryWindow () const |
GameWindow * | getGameWindow () const |
DialogPanel * | getDialogPanel () const |
void | reset () |
void | notifyInventoryItemEnabled (uint16 itemIndex) |
void | notifyDiaryEntryEnabled () |
Public Member Functions inherited from Stark::Screen | |
Screen (Name name) | |
Name | getName () const |
Additional Inherited Members | |
Public Types inherited from Stark::Screen | |
enum | Name { kScreenMainMenu, kScreenGame, kScreenFMV, kScreenDiaryIndex, kScreenSettingsMenu, kScreenSaveMenu, kScreenLoadMenu, kScreenFMVMenu, kScreenDiaryPages, kScreenDialog } |
Game world screen
Container for all the game world windows
|
overridevirtual |
The screen is being made active, prepare it to be drawn
Reimplemented from Stark::Screen.
|
overridevirtual |
The screen is no longer active, release resources to free memory
Reimplemented from Stark::Screen.
|
overridevirtual |
Called once per game loop when the screen is active.
Reimplemented from Stark::Screen.
|
overridevirtual |
Draw the screen
Implements Stark::Screen.
|
overridevirtual |
Called when the screen resolution changes
Reimplemented from Stark::Screen.
InventoryWindow* Stark::GameScreen::getInventoryWindow | ( | ) | const |
Get individual windows
void Stark::GameScreen::reset | ( | ) |
Clear any location dependant state
void Stark::GameScreen::notifyInventoryItemEnabled | ( | uint16 | itemIndex | ) |
A new item has been added to the player's inventory
void Stark::GameScreen::notifyDiaryEntryEnabled | ( | ) |
A new entry has been added to the player's diary