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);
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
void btnQuitClick(Action *action)
Handler for clicking the Quit button.
Definition: MainMenuState.cpp:157
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Box with a coloured border and custom background.
Definition: Window.h:42
MainMenuState(Game *game)
Creates the Main Menu state.
Definition: MainMenuState.cpp:45
Text string displayed on screen.
Definition: Text.h:41
void resize(int &dX, int &dY)
Update the resolution settings, we just resized the window.
Definition: MainMenuState.cpp:167
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
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:40
~MainMenuState()
Cleans up the Main Menu state.
Definition: MainMenuState.cpp:111
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:44
Main Menu window displayed when first starting the game.
Definition: MainMenuState.h:35