Project Alice
|
Namespaces | |
namespace | influence |
Classes | |
struct | fixed_election_event |
struct | fixed_event |
struct | fixed_province_event |
struct | global_national_state |
struct | triggered_modifier |
Enumerations | |
enum class | focus_type : uint8_t { unknown = 0 , rail_focus = 1 , immigration_focus = 2 , diplomatic_focus = 3 , promotion_focus = 4 , production_focus = 5 , party_loyalty_focus = 6 , policy_focus = 7 , tier_1_focus = 8 , tier_2_focus = 9 , tier_3_focus = 10 , tier_4_focus = 11 , tier_5_focus = 12 , tier_6_focus = 13 , tier_7_focus = 14 , tier_8_focus = 15 , building_focus = 16 , population_focus = 17 , heavy_industry_focus = 18 , consumer_goods_focus = 19 , military_goods_focus = 20 , immigration_colonization_focus = 21 } |
enum class | status : uint8_t { great_power , secondary_power , civilized , westernizing , uncivilized , primitive } |
Functions | |
template auto | primary_culture_group< ve::tagged_vector< dcon::nation_id > > (sys::state const &, ve::tagged_vector< dcon::nation_id >) |
template auto | owner_of_pop< ve::tagged_vector< dcon::pop_id > > (sys::state const &, ve::tagged_vector< dcon::pop_id >) |
template auto | central_blockaded_fraction< ve::tagged_vector< dcon::nation_id > > (sys::state const &, ve::tagged_vector< dcon::nation_id >) |
template auto | central_reb_controlled_fraction< ve::tagged_vector< dcon::nation_id > > (sys::state const &, ve::tagged_vector< dcon::nation_id >) |
template auto | central_has_crime_fraction< ve::tagged_vector< dcon::nation_id > > (sys::state const &, ve::tagged_vector< dcon::nation_id >) |
template auto | occupied_provinces_fraction< ve::tagged_vector< dcon::nation_id > > (sys::state const &, ve::tagged_vector< dcon::nation_id >) |
int64_t | get_monthly_pop_increase_of_nation (sys::state &state, dcon::nation_id n) |
dcon::nation_id | get_nth_great_power (sys::state const &state, uint16_t n) |
dcon::nation_id | owner_of_pop (sys::state const &state, dcon::pop_id pop_ids) |
void | restore_state_instances (sys::state &state) |
void | restore_cached_values (sys::state &state) |
void | update_cached_values (sys::state &state) |
void | restore_unsaved_values (sys::state &state) |
void | generate_initial_state_instances (sys::state &state) |
bool | can_release_as_vassal (sys::state const &state, dcon::nation_id n, dcon::national_identity_id releasable) |
bool | identity_has_holder (sys::state const &state, dcon::national_identity_id ident) |
bool | are_allied (sys::state &state, dcon::nation_id a, dcon::nation_id b) |
bool | is_landlocked (sys::state &state, dcon::nation_id n) |
dcon::nation_id | get_relationship_partner (sys::state const &state, dcon::diplomatic_relation_id rel_id, dcon::nation_id query) |
dcon::text_key | name_from_tag (sys::state &state, dcon::national_identity_id tag) |
void | update_administrative_efficiency (sys::state &state) |
float | daily_research_points (sys::state &state, dcon::nation_id n) |
void | update_research_points (sys::state &state) |
float | get_foreign_investment (sys::state &state, dcon::nation_id n) |
float | get_foreign_investment_as_gp (sys::state &state, dcon::nation_id n) |
void | update_industrial_scores (sys::state &state) |
void | update_military_scores (sys::state &state) |
float | prestige_score (sys::state const &state, dcon::nation_id n) |
void | update_rankings (sys::state &state) |
void | update_ui_rankings (sys::state &state) |
bool | is_great_power (sys::state const &state, dcon::nation_id id) |
void | update_great_powers (sys::state &state) |
status | get_status (sys::state &state, dcon::nation_id n) |
sys::date | get_research_end_date (sys::state &state, dcon::technology_id tech_id, dcon::nation_id n) |
dcon::technology_id | current_research (sys::state const &state, dcon::nation_id n) |
float | suppression_points (sys::state const &state, dcon::nation_id n) |
float | leadership_points (sys::state const &state, dcon::nation_id n) |
int32_t | max_national_focuses (sys::state &state, dcon::nation_id n) |
int32_t | national_focuses_in_use (sys::state &state, dcon::nation_id n) |
float | diplomatic_points (sys::state const &state, dcon::nation_id n) |
float | monthly_diplomatic_points (sys::state const &state, dcon::nation_id n) |
float | colonial_points_from_ships (sys::state &state, dcon::nation_id n) |
float | colonial_points_from_naval_bases (sys::state &state, dcon::nation_id n) |
float | colonial_points_from_technology (sys::state &state, dcon::nation_id n) |
float | used_colonial_points (sys::state &state, dcon::nation_id n) |
int32_t | free_colonial_points (sys::state &state, dcon::nation_id n) |
int32_t | max_colonial_points (sys::state &state, dcon::nation_id n) |
bool | can_expand_colony (sys::state &state, dcon::nation_id n) |
bool | is_losing_colonial_race (sys::state &state, dcon::nation_id n) |
bool | sphereing_progress_is_possible (sys::state &state, dcon::nation_id n) |
bool | has_political_reform_available (sys::state &state, dcon::nation_id n) |
bool | has_social_reform_available (sys::state &state, dcon::nation_id n) |
bool | has_reform_available (sys::state &state, dcon::nation_id n) |
bool | has_decision_available (sys::state &state, dcon::nation_id n) |
void | get_active_political_parties (sys::state &state, dcon::nation_id n, std::vector< dcon::political_party_id > &parties) |
void | monthly_adjust_relationship (sys::state &state, dcon::nation_id a, dcon::nation_id b, float delta) |
void | update_revanchism (sys::state &state) |
void | update_monthly_points (sys::state &state) |
float | get_treasury (sys::state &state, dcon::nation_id n) |
float | get_bank_funds (sys::state &state, dcon::nation_id n) |
float | get_debt (sys::state &state, dcon::nation_id n) |
float | tariff_efficiency (sys::state &state, dcon::nation_id n) |
float | tax_efficiency (sys::state &state, dcon::nation_id n) |
bool | is_involved_in_crisis (sys::state const &state, dcon::nation_id n) |
bool | is_committed_in_crisis (sys::state const &state, dcon::nation_id n) |
void | adjust_relationship (sys::state &state, dcon::nation_id a, dcon::nation_id b, float delta) |
void | create_nation_based_on_template (sys::state &state, dcon::nation_id n, dcon::nation_id base) |
void | run_gc (sys::state &state) |
void | cleanup_nation (sys::state &state, dcon::nation_id n) |
void | adjust_prestige (sys::state &state, dcon::nation_id n, float delta) |
bool | destroy_vassal_relationships (sys::state &state, dcon::nation_id n) |
void | destroy_diplomatic_relationships (sys::state &state, dcon::nation_id n) |
void | release_vassal (sys::state &state, dcon::overlord_id rel) |
void | make_vassal (sys::state &state, dcon::nation_id subject, dcon::nation_id overlord) |
void | make_substate (sys::state &state, dcon::nation_id subject, dcon::nation_id overlord) |
void | break_alliance (sys::state &state, dcon::diplomatic_relation_id rel) |
void | break_alliance (sys::state &state, dcon::nation_id a, dcon::nation_id b) |
void | make_alliance (sys::state &state, dcon::nation_id a, dcon::nation_id b) |
bool | other_nation_is_influencing (sys::state &state, dcon::nation_id target, dcon::gp_relationship_id rel) |
bool | can_accumulate_influence_with (sys::state &state, dcon::nation_id gp, dcon::nation_id target, dcon::gp_relationship_id rel) |
float | get_base_shares (sys::state &state, dcon::gp_relationship_id gp, float total_gain, int32_t total_influence_shares) |
bool | has_sphere_neighbour (sys::state &state, dcon::nation_id n, dcon::nation_id target) |
void | update_influence (sys::state &state) |
bool | can_put_flashpoint_focus_in_state (sys::state &state, dcon::state_instance_id s, dcon::nation_id fp_nation) |
void | monthly_flashpoint_update (sys::state &state) |
void | daily_update_flashpoint_tension (sys::state &state) |
void | cleanup_crisis (sys::state &state) |
void | add_as_primary_crisis_defender (sys::state &state, dcon::nation_id n) |
void | add_as_primary_crisis_attacker (sys::state &state, dcon::nation_id n) |
void | ask_to_defend_in_crisis (sys::state &state, dcon::nation_id n) |
void | ask_to_attack_in_crisis (sys::state &state, dcon::nation_id n) |
void | reject_crisis_participation (sys::state &state) |
void | cleanup_crisis_peace_offer (sys::state &state, dcon::peace_offer_id peace) |
void | accept_crisis_peace_offer (sys::state &state, dcon::nation_id from, dcon::nation_id to, dcon::peace_offer_id peace) |
void | update_crisis (sys::state &state) |
int32_t | num_crisis_wargoals (sys::state &state) |
bool | nth_crisis_war_goal_is_for_attacker (sys::state &state, int32_t index) |
military::full_wg | get_nth_crisis_war_goal (sys::state &state, int32_t index) |
void | update_pop_acceptance (sys::state &state, dcon::nation_id n) |
void | liberate_nation_from (sys::state &state, dcon::national_identity_id liberated, dcon::nation_id from) |
void | release_nation_from (sys::state &state, dcon::national_identity_id liberated, dcon::nation_id from) |
void | remove_cores_from_owned (sys::state &state, dcon::nation_id n, dcon::national_identity_id tag) |
void | perform_nationalization (sys::state &state, dcon::nation_id n) |
void | adjust_influence (sys::state &state, dcon::nation_id great_power, dcon::nation_id target, float delta) |
void | adjust_influence_with_overflow (sys::state &state, dcon::nation_id great_power, dcon::nation_id target, float delta) |
void | adjust_foreign_investment (sys::state &state, dcon::nation_id great_power, dcon::nation_id target, float delta) |
float | get_yesterday_income (sys::state &state, dcon::nation_id n) |
void | make_civilized (sys::state &state, dcon::nation_id n) |
void | make_uncivilized (sys::state &state, dcon::nation_id n) |
void | enact_reform (sys::state &state, dcon::nation_id source, dcon::reform_option_id r) |
void | enact_issue (sys::state &state, dcon::nation_id source, dcon::issue_option_id i) |
uint32_t | tag_to_int (char first, char second, char third) |
std::string | int_to_tag (uint32_t v) |
uint32_t | get_total_pop_in_owned_provinces (sys::state &state, dcon::nation_id n) |
template<typename T , typename U > | |
auto | nation_accepts_culture (sys::state const &state, T ids, U cul_ids) |
template<typename T > | |
auto | primary_culture_group (sys::state const &state, T ids) |
template<typename T > | |
auto | owner_of_pop (sys::state const &state, T pop_ids) |
template<typename T > | |
auto | central_blockaded_fraction (sys::state const &state, T ids) |
template<typename T > | |
auto | central_reb_controlled_fraction (sys::state const &state, T ids) |
template<typename T > | |
auto | central_has_crime_fraction (sys::state const &state, T ids) |
template<typename T > | |
auto | occupied_provinces_fraction (sys::state const &state, T ids) |
Variables | |
constexpr float | max_prestige = 2147483648.f |
|
strong |
Definition at line 40 of file nations.hpp.
|
strong |
Enumerator | |
---|---|
great_power | |
secondary_power | |
civilized | |
westernizing | |
uncivilized | |
primitive |
Definition at line 284 of file nations.hpp.
void nations::accept_crisis_peace_offer | ( | sys::state & | state, |
dcon::nation_id | from, | ||
dcon::nation_id | to, | ||
dcon::peace_offer_id | peace | ||
) |
void nations::add_as_primary_crisis_attacker | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
void nations::add_as_primary_crisis_defender | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
void nations::adjust_foreign_investment | ( | sys::state & | state, |
dcon::nation_id | great_power, | ||
dcon::nation_id | target, | ||
float | delta | ||
) |
void nations::adjust_influence | ( | sys::state & | state, |
dcon::nation_id | great_power, | ||
dcon::nation_id | target, | ||
float | delta | ||
) |
Definition at line 2669 of file nations.cpp.
void nations::adjust_influence_with_overflow | ( | sys::state & | state, |
dcon::nation_id | great_power, | ||
dcon::nation_id | target, | ||
float | delta | ||
) |
void nations::adjust_prestige | ( | sys::state & | state, |
dcon::nation_id | n, | ||
float | delta | ||
) |
void nations::adjust_relationship | ( | sys::state & | state, |
dcon::nation_id | a, | ||
dcon::nation_id | b, | ||
float | delta | ||
) |
bool nations::are_allied | ( | sys::state & | state, |
dcon::nation_id | a, | ||
dcon::nation_id | b | ||
) |
Definition at line 198 of file nations.cpp.
void nations::ask_to_attack_in_crisis | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 1933 of file nations.cpp.
void nations::ask_to_defend_in_crisis | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 1918 of file nations.cpp.
void nations::break_alliance | ( | sys::state & | state, |
dcon::diplomatic_relation_id | rel | ||
) |
void nations::break_alliance | ( | sys::state & | state, |
dcon::nation_id | a, | ||
dcon::nation_id | b | ||
) |
Definition at line 1450 of file nations.cpp.
bool nations::can_accumulate_influence_with | ( | sys::state & | state, |
dcon::nation_id | gp, | ||
dcon::nation_id | target, | ||
dcon::gp_relationship_id | rel | ||
) |
bool nations::can_expand_colony | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 759 of file nations.cpp.
bool nations::can_put_flashpoint_focus_in_state | ( | sys::state & | state, |
dcon::state_instance_id | s, | ||
dcon::nation_id | fp_nation | ||
) |
Definition at line 1667 of file nations.cpp.
bool nations::can_release_as_vassal | ( | sys::state const & | state, |
dcon::nation_id | n, | ||
dcon::national_identity_id | releasable | ||
) |
Definition at line 176 of file nations.cpp.
auto nations::central_blockaded_fraction | ( | sys::state const & | state, |
T | ids | ||
) |
Definition at line 34 of file nations_templates.hpp.
template auto nations::central_blockaded_fraction< ve::tagged_vector< dcon::nation_id > > | ( | sys::state const & | , |
ve::tagged_vector< dcon::nation_id > | |||
) |
auto nations::central_has_crime_fraction | ( | sys::state const & | state, |
T | ids | ||
) |
Definition at line 49 of file nations_templates.hpp.
template auto nations::central_has_crime_fraction< ve::tagged_vector< dcon::nation_id > > | ( | sys::state const & | , |
ve::tagged_vector< dcon::nation_id > | |||
) |
auto nations::central_reb_controlled_fraction | ( | sys::state const & | state, |
T | ids | ||
) |
Definition at line 42 of file nations_templates.hpp.
template auto nations::central_reb_controlled_fraction< ve::tagged_vector< dcon::nation_id > > | ( | sys::state const & | , |
ve::tagged_vector< dcon::nation_id > | |||
) |
void nations::cleanup_crisis | ( | sys::state & | state | ) |
void nations::cleanup_crisis_peace_offer | ( | sys::state & | state, |
dcon::peace_offer_id | peace | ||
) |
void nations::cleanup_nation | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 1241 of file nations.cpp.
float nations::colonial_points_from_naval_bases | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 674 of file nations.cpp.
float nations::colonial_points_from_ships | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 655 of file nations.cpp.
float nations::colonial_points_from_technology | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 708 of file nations.cpp.
void nations::create_nation_based_on_template | ( | sys::state & | state, |
dcon::nation_id | n, | ||
dcon::nation_id | base | ||
) |
dcon::technology_id nations::current_research | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 606 of file nations.cpp.
float nations::daily_research_points | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 254 of file nations.cpp.
void nations::daily_update_flashpoint_tension | ( | sys::state & | state | ) |
void nations::destroy_diplomatic_relationships | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
bool nations::destroy_vassal_relationships | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 1337 of file nations.cpp.
float nations::diplomatic_points | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 645 of file nations.cpp.
void nations::enact_issue | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::issue_option_id | i | ||
) |
void nations::enact_reform | ( | sys::state & | state, |
dcon::nation_id | source, | ||
dcon::reform_option_id | r | ||
) |
int32_t nations::free_colonial_points | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 739 of file nations.cpp.
void nations::generate_initial_state_instances | ( | sys::state & | state | ) |
Definition at line 143 of file nations.cpp.
void nations::get_active_political_parties | ( | sys::state & | state, |
dcon::nation_id | n, | ||
std::vector< dcon::political_party_id > & | parties | ||
) |
float nations::get_bank_funds | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
float nations::get_base_shares | ( | sys::state & | state, |
dcon::gp_relationship_id | gp, | ||
float | total_gain, | ||
int32_t | total_influence_shares | ||
) |
float nations::get_debt | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
float nations::get_foreign_investment | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 314 of file nations.cpp.
float nations::get_foreign_investment_as_gp | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 322 of file nations.cpp.
int64_t nations::get_monthly_pop_increase_of_nation | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 38 of file nations.cpp.
military::full_wg nations::get_nth_crisis_war_goal | ( | sys::state & | state, |
int32_t | index | ||
) |
dcon::nation_id nations::get_nth_great_power | ( | sys::state const & | state, |
uint16_t | n | ||
) |
Definition at line 57 of file nations.cpp.
dcon::nation_id nations::get_relationship_partner | ( | sys::state const & | state, |
dcon::diplomatic_relation_id | rel_id, | ||
dcon::nation_id | query | ||
) |
Definition at line 207 of file nations.cpp.
sys::date nations::get_research_end_date | ( | sys::state & | state, |
dcon::technology_id | tech_id, | ||
dcon::nation_id | n | ||
) |
Definition at line 599 of file nations.cpp.
status nations::get_status | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 580 of file nations.cpp.
uint32_t nations::get_total_pop_in_owned_provinces | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
float nations::get_treasury | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
float nations::get_yesterday_income | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 2744 of file nations.cpp.
bool nations::has_decision_available | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
bool nations::has_political_reform_available | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 805 of file nations.cpp.
bool nations::has_reform_available | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 829 of file nations.cpp.
bool nations::has_social_reform_available | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 817 of file nations.cpp.
bool nations::has_sphere_neighbour | ( | sys::state & | state, |
dcon::nation_id | n, | ||
dcon::nation_id | target | ||
) |
bool nations::identity_has_holder | ( | sys::state const & | state, |
dcon::national_identity_id | ident | ||
) |
Definition at line 193 of file nations.cpp.
|
inline |
bool nations::is_committed_in_crisis | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 1080 of file nations.cpp.
bool nations::is_great_power | ( | sys::state const & | state, |
dcon::nation_id | id | ||
) |
Definition at line 503 of file nations.cpp.
bool nations::is_involved_in_crisis | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
bool nations::is_landlocked | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 203 of file nations.cpp.
bool nations::is_losing_colonial_race | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 774 of file nations.cpp.
float nations::leadership_points | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 614 of file nations.cpp.
void nations::liberate_nation_from | ( | sys::state & | state, |
dcon::national_identity_id | liberated, | ||
dcon::nation_id | from | ||
) |
void nations::make_alliance | ( | sys::state & | state, |
dcon::nation_id | a, | ||
dcon::nation_id | b | ||
) |
void nations::make_civilized | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
void nations::make_substate | ( | sys::state & | state, |
dcon::nation_id | subject, | ||
dcon::nation_id | overlord | ||
) |
Definition at line 1416 of file nations.cpp.
void nations::make_uncivilized | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
void nations::make_vassal | ( | sys::state & | state, |
dcon::nation_id | subject, | ||
dcon::nation_id | overlord | ||
) |
int32_t nations::max_colonial_points | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 747 of file nations.cpp.
int32_t nations::max_national_focuses | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 618 of file nations.cpp.
void nations::monthly_adjust_relationship | ( | sys::state & | state, |
dcon::nation_id | a, | ||
dcon::nation_id | b, | ||
float | delta | ||
) |
Definition at line 904 of file nations.cpp.
float nations::monthly_diplomatic_points | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 649 of file nations.cpp.
void nations::monthly_flashpoint_update | ( | sys::state & | state | ) |
dcon::text_key nations::name_from_tag | ( | sys::state & | state, |
dcon::national_identity_id | tag | ||
) |
Definition at line 223 of file nations.cpp.
auto nations::nation_accepts_culture | ( | sys::state const & | state, |
T | ids, | ||
U | cul_ids | ||
) |
int32_t nations::national_focuses_in_use | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 634 of file nations.cpp.
bool nations::nth_crisis_war_goal_is_for_attacker | ( | sys::state & | state, |
int32_t | index | ||
) |
int32_t nations::num_crisis_wargoals | ( | sys::state & | state | ) |
auto nations::occupied_provinces_fraction | ( | sys::state const & | state, |
T | ids | ||
) |
Definition at line 56 of file nations_templates.hpp.
template auto nations::occupied_provinces_fraction< ve::tagged_vector< dcon::nation_id > > | ( | sys::state const & | , |
ve::tagged_vector< dcon::nation_id > | |||
) |
bool nations::other_nation_is_influencing | ( | sys::state & | state, |
dcon::nation_id | target, | ||
dcon::gp_relationship_id | rel | ||
) |
Definition at line 1492 of file nations.cpp.
dcon::nation_id nations::owner_of_pop | ( | sys::state const & | state, |
dcon::pop_id | pop_ids | ||
) |
Definition at line 69 of file nations.cpp.
auto nations::owner_of_pop | ( | sys::state const & | state, |
T | pop_ids | ||
) |
Definition at line 28 of file nations_templates.hpp.
template auto nations::owner_of_pop< ve::tagged_vector< dcon::pop_id > > | ( | sys::state const & | , |
ve::tagged_vector< dcon::pop_id > | |||
) |
void nations::perform_nationalization | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
float nations::prestige_score | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 396 of file nations.cpp.
auto nations::primary_culture_group | ( | sys::state const & | state, |
T | ids | ||
) |
template auto nations::primary_culture_group< ve::tagged_vector< dcon::nation_id > > | ( | sys::state const & | , |
ve::tagged_vector< dcon::nation_id > | |||
) |
void nations::reject_crisis_participation | ( | sys::state & | state | ) |
void nations::release_nation_from | ( | sys::state & | state, |
dcon::national_identity_id | liberated, | ||
dcon::nation_id | from | ||
) |
Definition at line 2626 of file nations.cpp.
void nations::release_vassal | ( | sys::state & | state, |
dcon::overlord_id | rel | ||
) |
void nations::remove_cores_from_owned | ( | sys::state & | state, |
dcon::nation_id | n, | ||
dcon::national_identity_id | tag | ||
) |
void nations::restore_cached_values | ( | sys::state & | state | ) |
Definition at line 86 of file nations.cpp.
void nations::restore_state_instances | ( | sys::state & | state | ) |
void nations::restore_unsaved_values | ( | sys::state & | state | ) |
Definition at line 116 of file nations.cpp.
void nations::run_gc | ( | sys::state & | state | ) |
bool nations::sphereing_progress_is_possible | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 785 of file nations.cpp.
float nations::suppression_points | ( | sys::state const & | state, |
dcon::nation_id | n | ||
) |
Definition at line 610 of file nations.cpp.
|
inline |
Definition at line 7 of file nations.hpp.
float nations::tariff_efficiency | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
float nations::tax_efficiency | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
void nations::update_administrative_efficiency | ( | sys::state & | state | ) |
Definition at line 231 of file nations.cpp.
void nations::update_cached_values | ( | sys::state & | state | ) |
Definition at line 109 of file nations.cpp.
void nations::update_crisis | ( | sys::state & | state | ) |
void nations::update_great_powers | ( | sys::state & | state | ) |
Definition at line 507 of file nations.cpp.
void nations::update_industrial_scores | ( | sys::state & | state | ) |
Definition at line 330 of file nations.cpp.
void nations::update_influence | ( | sys::state & | state | ) |
void nations::update_military_scores | ( | sys::state & | state | ) |
Definition at line 370 of file nations.cpp.
void nations::update_monthly_points | ( | sys::state & | state | ) |
void nations::update_pop_acceptance | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
void nations::update_rankings | ( | sys::state & | state | ) |
Definition at line 401 of file nations.cpp.
void nations::update_research_points | ( | sys::state & | state | ) |
Definition at line 279 of file nations.cpp.
void nations::update_revanchism | ( | sys::state & | state | ) |
Definition at line 913 of file nations.cpp.
void nations::update_ui_rankings | ( | sys::state & | state | ) |
Definition at line 432 of file nations.cpp.
float nations::used_colonial_points | ( | sys::state & | state, |
dcon::nation_id | n | ||
) |
Definition at line 717 of file nations.cpp.
|
constexpr |
Definition at line 19 of file nations.cpp.