|
enum class | flag_type : uint8_t {
default_flag = 0
, republic
, communist
, fascist
,
monarchy
, theocracy
, special
, spare
,
populist
, realm
, other
, monarchy2
,
monarchy3
, republic2
, republic3
, communist2
,
communist3
, fascist2
, fascist3
, theocracy2
,
theocracy3
, cosmetic_1
, cosmetic_2
, colonial
,
nationalist
, sectarian
, socialist
, dominion
,
agrarism
, national_syndicalist
, theocratic
, slot1
,
slot2
, slot3
, slot4
, anarcho_liberal
,
green
, traditionalist
, ultranationalist
, count
} |
|
enum class | tech_category : uint8_t {
army
, navy
, commerce
, culture
,
industry
, military_theory
, population
, diplomacy
,
flavor
, unknown
} |
|
enum class | pop_strata : uint8_t { poor = 0
, middle = 1
, rich = 2
} |
|
enum class | income_type : uint8_t {
none = 0
, administration = 1
, military = 2
, education = 3
,
reforms = 4
} |
|
enum class | issue_type : uint8_t {
party = 0
, political = 1
, social = 2
, military = 3
,
economic = 4
} |
|
enum class | issue_category : uint8_t {
party
, political
, social
, military
,
economic
} |
|
enum class | rebel_area : uint8_t {
none = 0
, nation
, culture
, nation_culture
,
nation_religion
, religion
, culture_group
, all
} |
|
enum class | rebel_defection : uint8_t {
none = 0
, culture
, culture_group
, religion
,
ideology
, any
, pan_nationalist
} |
|
enum class | rebel_independence : uint8_t {
none = 0
, culture
, culture_group
, religion
,
colonial
, any
, pan_nationalist
} |
|
|
std::string | get_tech_category_name (tech_category t) |
|
void | set_default_issue_and_reform_options (sys::state &state) |
|
void | clear_existing_tech_effects (sys::state &state) |
|
void | repopulate_technology_effects (sys::state &state) |
|
void | repopulate_invention_effects (sys::state &state) |
|
void | apply_technology (sys::state &state, dcon::nation_id target_nation, dcon::technology_id t_id) |
|
void | remove_technology (sys::state &state, dcon::nation_id target_nation, dcon::technology_id t_id) |
|
void | apply_invention (sys::state &state, dcon::nation_id target_nation, dcon::invention_id i_id) |
|
void | remove_invention (sys::state &state, dcon::nation_id target_nation, dcon::invention_id i_id) |
|
uint32_t | get_remapped_flag_type (sys::state const &state, flag_type type) |
|
flag_type | get_current_flag_type (sys::state const &state, dcon::nation_id target_nation) |
|
flag_type | get_current_flag_type (sys::state const &state, dcon::national_identity_id identity) |
|
void | fix_slaves_in_province (sys::state &state, dcon::nation_id owner, dcon::province_id p) |
|
void | update_nation_issue_rules (sys::state &state, dcon::nation_id n_id) |
|
void | update_all_nations_issue_rules (sys::state &state) |
|
void | restore_unsaved_values (sys::state &state) |
|
void | create_initial_ideology_and_issues_distribution (sys::state &state) |
|
float | effective_technology_cost (sys::state &state, uint32_t current_year, dcon::nation_id target_nation, dcon::technology_id tech_id) |
|
void | update_research (sys::state &state, uint32_t current_year) |
|
void | discover_inventions (sys::state &state) |
|
void | replace_cores (sys::state &state, dcon::national_identity_id old_tag, dcon::national_identity_id new_tag) |
|
constexpr uint64_t | to_bits (dcon::ideology_id id) |
|