Project Alice
Loading...
Searching...
No Matches
alice_ui.hpp
Go to the documentation of this file.
1#pragma once
3#include "system_state.hpp"
4
5namespace alice_ui {
6namespace budget_categories {
7inline constexpr int32_t diplomatic_income = 0;
8inline constexpr int32_t poor_tax = 1;
9inline constexpr int32_t middle_tax = 2;
10inline constexpr int32_t rich_tax = 3;
11inline constexpr int32_t tariffs_import = 4;
12inline constexpr int32_t tariffs_export = 5;
13inline constexpr int32_t gold = 6;
14inline constexpr int32_t diplomatic_expenses = 7;
15inline constexpr int32_t social = 8;
16inline constexpr int32_t military = 9;
17inline constexpr int32_t education = 10;
18inline constexpr int32_t admin = 11;
19inline constexpr int32_t domestic_investment = 12;
20inline constexpr int32_t overseas_spending = 13;
21inline constexpr int32_t subsidies = 14;
22inline constexpr int32_t construction = 15;
23inline constexpr int32_t army_upkeep = 16;
24inline constexpr int32_t navy_upkeep = 17;
25inline constexpr int32_t debt_payment = 18;
26inline constexpr int32_t stockpile = 19;
27inline constexpr int32_t category_count = 20;
28
29inline static bool expanded[category_count] = { false };
30}
31
32std::unique_ptr<ui::element_base> make_macrobuilder2_main(sys::state& state);
33std::unique_ptr<ui::element_base> make_budgetwindow_main(sys::state& state);
34}
constexpr int32_t social
Definition: alice_ui.hpp:15
constexpr int32_t diplomatic_income
Definition: alice_ui.hpp:7
constexpr int32_t army_upkeep
Definition: alice_ui.hpp:23
constexpr int32_t construction
Definition: alice_ui.hpp:22
constexpr int32_t middle_tax
Definition: alice_ui.hpp:9
constexpr int32_t tariffs_import
Definition: alice_ui.hpp:11
constexpr int32_t navy_upkeep
Definition: alice_ui.hpp:24
constexpr int32_t domestic_investment
Definition: alice_ui.hpp:19
constexpr int32_t category_count
Definition: alice_ui.hpp:27
constexpr int32_t overseas_spending
Definition: alice_ui.hpp:20
constexpr int32_t rich_tax
Definition: alice_ui.hpp:10
constexpr int32_t debt_payment
Definition: alice_ui.hpp:25
constexpr int32_t education
Definition: alice_ui.hpp:17
constexpr int32_t poor_tax
Definition: alice_ui.hpp:8
constexpr int32_t admin
Definition: alice_ui.hpp:18
constexpr int32_t tariffs_export
Definition: alice_ui.hpp:12
constexpr int32_t stockpile
Definition: alice_ui.hpp:26
constexpr int32_t diplomatic_expenses
Definition: alice_ui.hpp:14
constexpr int32_t subsidies
Definition: alice_ui.hpp:21
constexpr int32_t gold
Definition: alice_ui.hpp:13
std::unique_ptr< ui::element_base > make_macrobuilder2_main(sys::state &state)
std::unique_ptr< ui::element_base > make_budgetwindow_main(sys::state &state)
Holds important data about the game world, state, and other data regarding windowing,...