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.
mapmodewindow.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 <string>
20#include <vector>
21
24
25namespace cqsp::client::systems {
27 public:
29 void Init();
30 void DoUI(int delta_time);
31 void DoUpdate(int delta_time);
32 void OnTick();
33
34 private:
35 inline void SetMapMode(ctx::MapMode map_mode);
36 inline ctx::MapMode GetMapMode();
37
38 void MapModeButton(const char* string, ctx::MapMode map_mode);
39 void MapModeButton(const char* string, ctx::MapMode map_mode, ctx::MapMode map_mode2);
40
41 entt::entity selected_good = entt::null;
42};
43} // namespace cqsp::client::systems
Definition: mapmodewindow.h:26
void OnTick()
Definition: mapmodewindow.cpp:27
void Init()
Definition: mapmodewindow.cpp:24
ctx::MapMode GetMapMode()
Definition: mapmodewindow.cpp:68
void DoUI(int delta_time)
Definition: mapmodewindow.cpp:33
void DoUpdate(int delta_time)
Definition: mapmodewindow.cpp:100
entt::entity selected_good
Definition: mapmodewindow.h:41
void SetMapMode(ctx::MapMode map_mode)
Definition: mapmodewindow.cpp:66
MapModeWindow(engine::Application &app)
Definition: mapmodewindow.h:28
void MapModeButton(const char *string, ctx::MapMode map_mode)
Definition: mapmodewindow.cpp:70
Definition: application.h:61
MapMode
Definition: clientctx.h:64
Definition: editorwidgets.cpp:29