Conquer Space
0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
src
client
scenes
universe
interface
syspausemenu.h
Go to the documentation of this file.
1
/* Conquer Space
2
* Copyright (C) 2021-2025 Conquer Space
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
#pragma once
18
19
#include "
client/systems/sysgui.h
"
20
21
namespace
cqsp::client::systems
{
26
class
SysPauseMenu
:
public
SysUserInterface
{
27
public
:
28
explicit
SysPauseMenu
(
engine::Application
& app) :
SysUserInterface
(app) {}
29
30
void
Init
();
31
void
DoUI
(
int
delta_time);
32
void
DoUpdate
(
int
delta_time);
33
34
private
:
35
bool
to_show
=
false
;
36
bool
to_show_options_window
=
false
;
37
};
38
}
// namespace cqsp::client::systems
cqsp::client::systems::SysPauseMenu
Menu when the key escape is pressed, pauses all interaction with the background, displays exit game,...
Definition:
syspausemenu.h:26
cqsp::client::systems::SysPauseMenu::to_show
bool to_show
Definition:
syspausemenu.h:35
cqsp::client::systems::SysPauseMenu::DoUpdate
void DoUpdate(int delta_time)
Definition:
syspausemenu.cpp:82
cqsp::client::systems::SysPauseMenu::DoUI
void DoUI(int delta_time)
Definition:
syspausemenu.cpp:34
cqsp::client::systems::SysPauseMenu::Init
void Init()
Definition:
syspausemenu.cpp:32
cqsp::client::systems::SysPauseMenu::SysPauseMenu
SysPauseMenu(engine::Application &app)
Definition:
syspausemenu.h:28
cqsp::client::systems::SysPauseMenu::to_show_options_window
bool to_show_options_window
Definition:
syspausemenu.h:36
cqsp::client::systems::SysUserInterface
Definition:
sysgui.h:23
cqsp::engine::Application
Definition:
application.h:48
cqsp::client::systems
Definition:
goodviewer.cpp:25
sysgui.h
Generated on Fri Jul 18 2025 03:54:16 for Conquer Space by
1.9.2