OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
GameMenu.cpp File Reference
#include <map>
#include <string>
#include "GameMenu.h"
#include "Game.h"
#include "Engine/AssetsManager.h"
#include "Engine/Engine.h"
#include "Engine/EngineGlobals.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Localization.h"
#include "Engine/Party.h"
#include "Engine/SaveLoad.h"
#include "Engine/Time/Timer.h"
#include "Engine/EngineIocContainer.h"
#include "Library/Platform/Interface/PlatformEnums.h"
#include "Io/InputAction.h"
#include "Io/KeyboardInputHandler.h"
#include "GUI/GUIButton.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/UI/UIGame.h"
#include "GUI/UI/UISaveLoad.h"
#include "GUI/UI/UIStatusBar.h"
#include "Media/Audio/AudioPlayer.h"

Enumerations

enum class  CurrentConfirmationState { CONFIRM_NONE , CONFIRM_NEW_GAME , CONFIRM_QUIT }
 

Functions

void Game_StartNewGameWhilePlaying (bool force_start)
 
void Game_QuitGameWhilePlaying (bool force_quit)
 
void Game_OpenLoadGameDialog ()
 

Variables

static bool isLoadSlotClicked = false
 
CurrentConfirmationState confirmationState = CONFIRM_NONE
 
InputAction currently_selected_action_for_binding = Io::InputAction::Invalid
 
std::map< InputAction, bool > key_map_conflicted
 
std::map< InputAction, PlatformKeycurr_key_map
 

Enumeration Type Documentation

◆ CurrentConfirmationState

enum class CurrentConfirmationState
strong
Enumerator
CONFIRM_NONE 
CONFIRM_NEW_GAME 
CONFIRM_QUIT 

Function Documentation

◆ Game_OpenLoadGameDialog()

void Game_OpenLoadGameDialog ( )

◆ Game_QuitGameWhilePlaying()

void Game_QuitGameWhilePlaying ( bool  force_quit)

◆ Game_StartNewGameWhilePlaying()

void Game_StartNewGameWhilePlaying ( bool  force_start)

Variable Documentation

◆ confirmationState

◆ curr_key_map

std::map<InputAction, PlatformKey> curr_key_map

◆ currently_selected_action_for_binding

InputAction currently_selected_action_for_binding = Io::InputAction::Invalid

◆ isLoadSlotClicked

bool isLoadSlotClicked = false
static

◆ key_map_conflicted

std::map<InputAction, bool> key_map_conflicted