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.
economywindow.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
20
21namespace cqsp::client::systems {
23 public:
25 void Init();
26 void DoUI(int delta_time);
27 void DoUpdate(int delta_time);
28
29 private:
30 void SubsidyWindow();
31 void SubsidyTab();
32 void LaborTab();
34 entt::entity selected_subsidy;
35 float subsidy_amount = 0;
36 bool full_subsidy = false;
37};
38} // namespace cqsp::client::systems
Definition: economywindow.h:22
void DoUI(int delta_time)
Definition: economywindow.cpp:30
void DoUpdate(int delta_time)
Definition: economywindow.cpp:64
void Init()
Definition: economywindow.cpp:29
bool full_subsidy
Definition: economywindow.h:36
void SubsidyTab()
Definition: economywindow.cpp:66
void LaborTab()
Definition: economywindow.cpp:156
bool show_add_subsidy_window
Definition: economywindow.h:33
entt::entity selected_subsidy
Definition: economywindow.h:34
float subsidy_amount
Definition: economywindow.h:35
EconomyWindow(engine::Application &app)
Definition: economywindow.h:24
void SubsidyWindow()
Definition: economywindow.cpp:109
Definition: application.h:61
Definition: editorwidgets.cpp:29