 |
OpenXcom
1.0
Open-source clone of the original X-Com
|
19 #ifndef OPENXCOM_MAINMENUSTATE_H
20 #define OPENXCOM_MAINMENUSTATE_H
22 #include "../Engine/State.h"
38 TextButton *_btnNewGame, *_btnNewBattle, *_btnLoad, *_btnOptions, *_btnQuit;
57 void resize(
int &dX,
int &dY);
COPYING:
Definition: BaseInfoState.cpp:41
void resize(int &dX, int &dY)
Update the resolution settings, we just resized the window.
Definition: MainMenuState.cpp:167
void btnNewBattleClick(Action *action)
Handler for clicking the New Battle button.
Definition: MainMenuState.cpp:129
void btnLoadClick(Action *action)
Handler for clicking the Load Saved Game button.
Definition: MainMenuState.cpp:138
Coloured button with a text label.
Definition: TextButton.h:41
void btnOptionsClick(Action *action)
Handler for clicking the Options button.
Definition: MainMenuState.cpp:147
void btnNewGameClick(Action *action)
Handler for clicking the New Game button.
Definition: MainMenuState.cpp:120
Container for all the information associated with a given user action, like mouse clicks,...
Definition: Action.h:35
void btnQuitClick(Action *action)
Handler for clicking the Quit button.
Definition: MainMenuState.cpp:157
~MainMenuState()
Cleans up the Main Menu state.
Definition: MainMenuState.cpp:111
Main Menu window displayed when first starting the game.
Definition: MainMenuState.h:36
Text string displayed on screen.
Definition: Text.h:42
MainMenuState(Game *game)
Creates the Main Menu state.
Definition: MainMenuState.cpp:45
A game state that receives user input and reacts accordingly.
Definition: State.h:45
Box with a coloured border and custom background.
Definition: Window.h:43
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:45