Project Alice
Loading...
Searching...
No Matches
parsers_declarations.hpp File Reference
#include <stdint.h>
#include <optional>
#include <string_view>
#include <string>
#include "constants.hpp"
#include "parsers.hpp"
#include "unordered_dense.h"
#include "gui_graphics.hpp"
#include "modifiers.hpp"
#include "culture.hpp"
#include "date_interface.hpp"
#include "script_constants.hpp"
#include "container_types.hpp"
#include "military.hpp"
#include "nations.hpp"
#include "trigger_parsing.hpp"
#include "effect_parsing.hpp"
#include "cultures_parsing.hpp"
#include "parser_defs_generated.hpp"
#include "tutorial_parser_defs_generated.hpp"
#include "news_parser_defs_generated.hpp"
#include "gui_parser_defs_generated.hpp"
#include "trigger_parser_defs_generated.hpp"
#include "effect_parser_defs_generated.hpp"
Include dependency graph for parsers_declarations.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  parsers::pending_button_script
 
struct  parsers::building_gfx_context
 
struct  parsers::gfx_xy_pair
 
struct  parsers::gfx_object
 
struct  parsers::gfx_object_outer
 
struct  parsers::gfx_files
 
struct  parsers::gui_element_common
 
struct  parsers::button
 
struct  parsers::nation_script_button
 
struct  parsers::province_script_button
 
struct  parsers::image
 
struct  parsers::textbox
 
struct  parsers::listbox
 
struct  parsers::overlapping
 
struct  parsers::scrollbar
 
struct  parsers::window
 
struct  parsers::window::scripted_children
 
struct  parsers::guitypes
 
struct  parsers::gui_files
 
struct  parsers::pending_ideology_content
 
struct  parsers::pending_option_content
 
struct  parsers::pending_roption_content
 
struct  parsers::pending_cb_content
 
struct  parsers::pending_crime_content
 
struct  parsers::pending_triggered_modifier_content
 
struct  parsers::pending_rebel_type_content
 
struct  parsers::province_data
 
struct  parsers::terrain_type
 
struct  parsers::pending_tech_content
 
struct  parsers::pending_invention_content
 
struct  parsers::pending_nat_event
 
struct  parsers::saved_stored_condition
 
struct  parsers::pending_prov_event
 
struct  parsers::scenario_building_context
 
struct  parsers::national_identity_file
 
struct  parsers::color_from_3f
 
struct  parsers::religion_context
 
struct  parsers::religion_def
 
struct  parsers::religion_group
 
struct  parsers::religion_file
 
struct  parsers::color_from_3i
 
struct  parsers::culture_group_context
 
struct  parsers::culture_context
 
struct  parsers::names_context
 
struct  parsers::names_list
 
struct  parsers::culture
 
struct  parsers::culture_group
 
struct  parsers::culture_file
 
struct  parsers::good_group_context
 
struct  parsers::good_context
 
struct  parsers::good
 
struct  parsers::goods_group
 
struct  parsers::goods_file
 
struct  parsers::modifier_base
 
struct  parsers::int_vector
 
struct  parsers::commodity_array
 
struct  parsers::building_definition
 
struct  parsers::building_file
 
struct  parsers::ideology_group_context
 
struct  parsers::ideology_group
 
struct  parsers::ideology_file
 
struct  parsers::issue_context
 
struct  parsers::reform_context
 
struct  parsers::issue_group_context
 
struct  parsers::issue
 
struct  parsers::issues_group
 
struct  parsers::issues_file
 
struct  parsers::government_type_context
 
struct  parsers::government_type
 
struct  parsers::governments_file
 
struct  parsers::cb_list
 
struct  parsers::cb_types_file
 
struct  parsers::trait_context
 
struct  parsers::trait
 
struct  parsers::traits_set
 
struct  parsers::traits_file
 
struct  parsers::crimes_file
 
struct  parsers::triggered_modifier_context
 
struct  parsers::triggered_modifier
 
struct  parsers::triggered_modifiers_file
 
struct  parsers::national_values_file
 
struct  parsers::static_modifiers_file
 
struct  parsers::event_modifiers_file
 
struct  parsers::rebel_types_file
 
struct  parsers::sea_list
 
struct  parsers::default_map_file
 
struct  parsers::terrain_modifier
 
struct  parsers::terrain_modifiers_list
 
struct  parsers::select_an_int
 
struct  parsers::palette_definition
 
struct  parsers::terrain_file
 
struct  parsers::state_def_building_context
 
struct  parsers::state_definition
 
struct  parsers::region_file
 
struct  parsers::continent_building_context
 
struct  parsers::continent_provinces
 
struct  parsers::continent_definition
 
struct  parsers::continent_file
 
struct  parsers::climate_building_context
 
struct  parsers::climate_definition
 
struct  parsers::climate_file
 
struct  parsers::tech_group_context
 
struct  parsers::tech_folder_list
 
struct  parsers::tech_groups_list
 
struct  parsers::tech_schools_list
 
struct  parsers::technology_main_file
 
struct  parsers::technology_sub_file
 
struct  parsers::inventions_file
 
struct  parsers::commodity_set
 
struct  parsers::unit_definition
 
struct  parsers::unit_file
 
struct  parsers::country_file_context
 
struct  parsers::party_context
 
struct  parsers::unit_names_context
 
struct  parsers::party
 
struct  parsers::unit_names_list
 
struct  parsers::unit_names_collection
 
struct  parsers::country_file
 
struct  parsers::province_file_context
 
struct  parsers::pv_party_loyalty
 
struct  parsers::pv_state_building
 
struct  parsers::province_rgo_ext_desc
 
struct  parsers::province_rgo_ext
 
struct  parsers::province_history_file
 
struct  parsers::pop_history_province_context
 
struct  parsers::pop_history_definition
 
struct  parsers::pop_province_list
 
struct  parsers::pop_history_file
 
struct  parsers::poptype_context
 
struct  parsers::promotion_targets
 
struct  parsers::pop_ideologies
 
struct  parsers::pop_issues
 
struct  parsers::income
 
struct  parsers::poptype_file
 
struct  parsers::individual_ideology_context
 
struct  parsers::individual_ideology
 
struct  parsers::individual_cb_context
 
struct  parsers::cb_body
 
struct  parsers::crime_modifier
 
struct  parsers::individual_option_context
 
struct  parsers::individual_roption_context
 
struct  parsers::option_rules
 
struct  parsers::on_execute_body
 
struct  parsers::vote_modifiers_body
 
struct  parsers::issue_option_body
 
struct  parsers::national_focus_context
 
struct  parsers::national_focus
 
struct  parsers::focus_group
 
struct  parsers::national_focus_file
 
struct  parsers::main_pop_type_file
 
struct  parsers::tech_context
 
struct  parsers::invention_context
 
struct  parsers::unit_modifier_body
 
struct  parsers::tech_rgo_goods_output
 
struct  parsers::tech_fac_goods_output
 
struct  parsers::tech_rgo_size
 
struct  parsers::technology_contents
 
struct  parsers::inv_rgo_goods_output
 
struct  parsers::inv_fac_goods_output
 
struct  parsers::inv_fac_goods_throughput
 
struct  parsers::inv_rebel_org_gain
 
struct  parsers::inv_effect
 
struct  parsers::invention_contents
 
struct  parsers::s_on_yearly_pulse
 
struct  parsers::s_on_quarterly_pulse
 
struct  parsers::s_on_battle_won
 
struct  parsers::s_on_battle_lost
 
struct  parsers::s_on_surrender
 
struct  parsers::s_on_new_great_nation
 
struct  parsers::s_on_lost_great_nation
 
struct  parsers::s_on_election_tick
 
struct  parsers::s_on_colony_to_state
 
struct  parsers::s_on_state_conquest
 
struct  parsers::s_on_colony_to_state_free_slaves
 
struct  parsers::s_on_debtor_default
 
struct  parsers::s_on_debtor_default_small
 
struct  parsers::s_on_debtor_default_second
 
struct  parsers::s_on_civilize
 
struct  parsers::s_on_crisis_declare_interest
 
struct  parsers::s_on_election_started
 
struct  parsers::s_on_election_finished
 
struct  parsers::s_on_my_factories_nationalized
 
struct  parsers::on_action_file
 
struct  parsers::rebel_context
 
struct  parsers::rebel_gov_list
 
struct  parsers::rebel_body
 
struct  parsers::decision_context
 
struct  parsers::decision
 
struct  parsers::decision_list
 
struct  parsers::decision_file
 
struct  parsers::event_file
 
struct  parsers::scan_event
 
struct  parsers::event_building_context
 
struct  parsers::generic_event
 
struct  parsers::oob_file_context
 
struct  parsers::oob_file_relation_context
 
struct  parsers::oob_file_regiment_context
 
struct  parsers::oob_file_ship_context
 
struct  parsers::oob_file_army_context
 
struct  parsers::oob_file_navy_context
 
struct  parsers::oob_leader
 
struct  parsers::oob_army
 
struct  parsers::oob_navy
 
struct  parsers::oob_ship
 
struct  parsers::oob_regiment
 
struct  parsers::oob_relationship
 
struct  parsers::oob_file
 
struct  parsers::production_context
 
struct  parsers::production_types_file
 
struct  parsers::production_employee
 
struct  parsers::production_employee_set
 
struct  parsers::production_bonus
 
struct  parsers::production_type
 
struct  parsers::alliance
 
struct  parsers::vassal_description
 
struct  parsers::diplomacy_file
 
struct  parsers::country_history_context
 
struct  parsers::govt_flag_block
 
struct  parsers::upper_house_block
 
struct  parsers::foreign_investment_block
 
struct  parsers::country_history_file
 
struct  parsers::history_war_goal
 
struct  parsers::war_history_context
 
struct  parsers::war_block
 
struct  parsers::war_history_file
 
struct  parsers::mod_file_context
 
struct  parsers::dependencies_list
 
struct  parsers::mod_file
 
struct  parsers::news_context
 
struct  parsers::news_picture_case
 
struct  parsers::news_text_add
 
struct  parsers::news_text_case
 
struct  parsers::news_generator
 
struct  parsers::news_generator_selector
 
struct  parsers::news_generate_article
 
struct  parsers::news_pattern
 
struct  parsers::news_case
 
struct  parsers::news_priority
 
struct  parsers::news_on_printing
 
struct  parsers::news_on_collection
 
struct  parsers::news_pattern_instance
 
struct  parsers::news_article_types
 
struct  parsers::news_style_article
 
struct  parsers::news_title_image
 
struct  parsers::news_style
 
struct  parsers::news_file
 
struct  parsers::tutorial_diplomatic_action
 
struct  parsers::tutorial_unit_set
 
struct  parsers::tutorial_page
 
struct  parsers::tutorial
 
struct  parsers::tutorial_file
 
struct  parsers::battleplan_option
 
struct  parsers::battleplan_tool_type
 
struct  parsers::battleplan_settings_file
 
struct  parsers::sfx_definition
 
struct  parsers::sfx_file
 
struct  parsers::bookmark_definition
 
struct  parsers::bookmark_context
 
struct  parsers::bookmark_file
 
struct  parsers::locale_parser
 

Namespaces

namespace  parsers
 

Macros

#define MOD_PROV_FUNCTION(X)
 
#define MOD_NAT_FUNCTION(X)
 

Enumerations

enum class  parsers::production_type_enum { parsers::none = 0 , parsers::factory , parsers::rgo , parsers::artisan }
 

Functions

std::string parsers::lowercase_str (std::string_view sv)
 
void parsers::gfx_add_obj (parsers::token_generator &gen, parsers::error_handler &err, building_gfx_context &context)
 
bool parsers::province_button_allow (token_generator &gen, error_handler &err, building_gfx_context &context)
 
bool parsers::province_button_effect (token_generator &gen, error_handler &err, building_gfx_context &context)
 
bool parsers::nation_button_allow (token_generator &gen, error_handler &err, building_gfx_context &context)
 
bool parsers::nation_button_effect (token_generator &gen, error_handler &err, building_gfx_context &context)
 
void parsers::make_religion (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_culture_group (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_culture (std::string_view name, token_generator &gen, error_handler &err, culture_group_context &context)
 
void parsers::make_fn_list (token_generator &gen, error_handler &err, culture_context &context)
 
void parsers::make_ln_list (token_generator &gen, error_handler &err, culture_context &context)
 
void parsers::make_good (std::string_view name, token_generator &gen, error_handler &err, good_group_context &context)
 
void parsers::make_goods_group (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_ideology (std::string_view name, token_generator &gen, error_handler &err, ideology_group_context &context)
 
void parsers::make_ideology_group (std::string_view name, token_generator &gen, error_handler &err, culture_group_context &context)
 
void parsers::make_issues_group (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_issue (std::string_view name, token_generator &gen, error_handler &err, issue_group_context &context)
 
void parsers::register_option (std::string_view name, token_generator &gen, error_handler &err, issue_context &context)
 
void parsers::register_option (std::string_view name, token_generator &gen, error_handler &err, reform_context &context)
 
void parsers::make_government (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_cb_type (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_trait (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::personality_traits_set (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::background_traits_set (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_crime (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_trigger (token_generator &gen, error_handler &err, triggered_modifier_context &context)
 
void parsers::make_triggered_modifier (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_national_value (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_very_easy_player (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_easy_player (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_hard_player (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_very_hard_player (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_very_easy_ai (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_easy_ai (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_hard_ai (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_very_hard_ai (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_overseas (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_coastal (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_non_coastal (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_coastal_sea (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_sea_zone (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_land_province (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_blockaded (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_no_adjacent_controlled (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_core (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_has_siege (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_occupied (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_nationalism (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_infrastructure (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_base_values (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_war (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_peace (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_disarming (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_war_exhaustion (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_badboy (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_debt_default_to (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_bad_debter (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_great_power (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_second_power (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_civ_nation (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_unciv_nation (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_average_literacy (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_plurality (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_generalised_debt_default (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_total_occupation (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_total_blockaded (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::m_in_bankrupcy (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_event_modifier (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_rebel_type (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::read_map_colors (char const *start, char const *end, error_handler &err, scenario_building_context &context)
 
void parsers::read_map_adjacency (char const *start, char const *end, error_handler &err, scenario_building_context &context)
 
void parsers::make_terrain_modifier (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_state_definition (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_continent_definition (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_climate_definition (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_tech_folder_list (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::read_school_modifier (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_technology (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::register_invention (std::string_view name, token_generator &gen, error_handler &err, tech_group_context &context)
 
void parsers::make_base_units (scenario_building_context &context)
 
void parsers::make_unit (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_party (token_generator &gen, error_handler &err, country_file_context &context)
 
void parsers::make_unit_names_list (std::string_view name, token_generator &gen, error_handler &err, country_file_context &context)
 
void parsers::enter_dated_block (std::string_view name, token_generator &gen, error_handler &err, province_file_context &context)
 
void parsers::parse_csv_pop_history_file (sys::state &state, const char *start, const char *end, error_handler &err, scenario_building_context &context)
 
void parsers::parse_csv_province_history_file (sys::state &state, const char *start, const char *end, error_handler &err, scenario_building_context &context)
 
void parsers::make_pop_province_list (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
commodity_array parsers::stub_commodity_array (token_generator &gen, error_handler &err, poptype_context &context)
 
void parsers::read_promotion_target (std::string_view name, token_generator &gen, error_handler &err, poptype_context &context)
 
void parsers::read_pop_ideology (std::string_view name, token_generator &gen, error_handler &err, poptype_context &context)
 
void parsers::read_pop_issue (std::string_view name, token_generator &gen, error_handler &err, poptype_context &context)
 
void parsers::read_c_migration_target (token_generator &gen, error_handler &err, poptype_context &context)
 
void parsers::read_migration_target (token_generator &gen, error_handler &err, poptype_context &context)
 
dcon::value_modifier_key parsers::ideology_condition (token_generator &gen, error_handler &err, individual_ideology_context &context)
 
dcon::trigger_key parsers::read_triggered_modifier_condition (token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::trigger_key parsers::cb_allowed_states (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::trigger_key parsers::cb_allowed_crisis_states (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::trigger_key parsers::cb_allowed_substates (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::trigger_key parsers::cb_allowed_countries (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::trigger_key parsers::cb_can_use (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::effect_key parsers::cb_on_add (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::effect_key parsers::cb_on_po_accepted (token_generator &gen, error_handler &err, individual_cb_context &context)
 
dcon::trigger_key parsers::make_party_trigger (token_generator &gen, error_handler &err, party_context &context)
 
dcon::trigger_key parsers::make_crime_trigger (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::read_pending_crime (dcon::crime_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_issue_vote_modifier (std::string_view name, token_generator &gen, error_handler &err, individual_option_context &context)
 
void parsers::make_issue_vote_modifier (std::string_view name, token_generator &gen, error_handler &err, individual_roption_context &context)
 
void parsers::make_opt_allow (token_generator &gen, error_handler &err, individual_option_context &context)
 
dcon::trigger_key parsers::make_execute_trigger (token_generator &gen, error_handler &err, individual_option_context &context)
 
dcon::effect_key parsers::make_execute_effect (token_generator &gen, error_handler &err, individual_option_context &context)
 
void parsers::make_opt_allow (token_generator &gen, error_handler &err, individual_roption_context &context)
 
dcon::trigger_key parsers::make_execute_trigger (token_generator &gen, error_handler &err, individual_roption_context &context)
 
dcon::effect_key parsers::make_execute_effect (token_generator &gen, error_handler &err, individual_roption_context &context)
 
void parsers::read_pending_option (dcon::issue_option_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::read_pending_reform (dcon::reform_option_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::trigger_key parsers::make_focus_limit (token_generator &gen, error_handler &err, national_focus_context &context)
 
void parsers::make_focus (std::string_view name, token_generator &gen, error_handler &err, national_focus_context &context)
 
void parsers::make_focus_group (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::value_modifier_key parsers::make_poptype_pop_chance (token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::value_modifier_key parsers::make_ai_chance (token_generator &gen, error_handler &err, tech_context &context)
 
void parsers::read_pending_technology (dcon::technology_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::value_modifier_key parsers::make_inv_chance (token_generator &gen, error_handler &err, invention_context &context)
 
dcon::trigger_key parsers::make_inv_limit (token_generator &gen, error_handler &err, invention_context &context)
 
void parsers::read_pending_invention (dcon::invention_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::value_modifier_key parsers::make_reb_will_rise (token_generator &gen, error_handler &err, rebel_context &context)
 
dcon::value_modifier_key parsers::make_reb_spawn_chance (token_generator &gen, error_handler &err, rebel_context &context)
 
dcon::value_modifier_key parsers::make_reb_movement_eval (token_generator &gen, error_handler &err, rebel_context &context)
 
dcon::trigger_key parsers::make_reb_s_won_trigger (token_generator &gen, error_handler &err, rebel_context &context)
 
dcon::trigger_key parsers::make_reb_enforced_trigger (token_generator &gen, error_handler &err, rebel_context &context)
 
dcon::effect_key parsers::make_reb_s_won_effect (token_generator &gen, error_handler &err, rebel_context &context)
 
dcon::effect_key parsers::make_reb_enforce_effect (token_generator &gen, error_handler &err, rebel_context &context)
 
void parsers::read_pending_rebel_type (dcon::rebel_type_id id, token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::trigger_key parsers::make_decision_trigger (token_generator &gen, error_handler &err, decision_context &context)
 
dcon::effect_key parsers::make_decision_effect (token_generator &gen, error_handler &err, decision_context &context)
 
dcon::value_modifier_key parsers::make_decision_ai_choice (token_generator &gen, error_handler &err, decision_context &context)
 
void parsers::make_decision (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::scan_province_event (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::scan_country_event (token_generator &gen, error_handler &err, scenario_building_context &context)
 
dcon::trigger_key parsers::make_event_trigger (token_generator &gen, error_handler &err, event_building_context &context)
 
dcon::effect_key parsers::make_immediate_effect (token_generator &gen, error_handler &err, event_building_context &context)
 
dcon::value_modifier_key parsers::make_event_mtth (token_generator &gen, error_handler &err, event_building_context &context)
 
sys::event_option parsers::make_event_option (token_generator &gen, error_handler &err, event_building_context &context)
 
void parsers::commit_pending_events (error_handler &err, scenario_building_context &context)
 
oob_leader parsers::make_army_leader (token_generator &gen, error_handler &err, oob_file_army_context &context)
 
oob_leader parsers::make_navy_leader (token_generator &gen, error_handler &err, oob_file_navy_context &context)
 
void parsers::make_oob_relationship (std::string_view tag, token_generator &gen, error_handler &err, oob_file_context &context)
 
void parsers::make_oob_army (token_generator &gen, error_handler &err, oob_file_context &context)
 
void parsers::make_oob_navy (token_generator &gen, error_handler &err, oob_file_context &context)
 
void parsers::make_oob_regiment (token_generator &gen, error_handler &err, oob_file_army_context &context)
 
void parsers::make_oob_ship (token_generator &gen, error_handler &err, oob_file_navy_context &context)
 
commodity_array parsers::make_prod_commodity_array (token_generator &gen, error_handler &err, production_context &context)
 
dcon::trigger_key parsers::make_production_bonus_trigger (token_generator &gen, error_handler &err, production_context &context)
 
void parsers::make_production_type (std::string_view name, token_generator &gen, error_handler &err, production_context &context)
 
void parsers::make_alliance (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_vassal (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::make_substate (token_generator &gen, error_handler &err, scenario_building_context &context)
 
void parsers::enter_country_file_dated_block (std::string_view label, token_generator &gen, error_handler &err, country_history_context &context)
 
void parsers::enter_war_dated_block (std::string_view label, token_generator &gen, error_handler &err, war_history_context &context)
 
void parsers::make_leader_images (scenario_building_context &outer_context)
 
void parsers::add_locale (sys::state &state, std::string_view locale_name, char const *data_start, char const *data_end)
 

Macro Definition Documentation

◆ MOD_NAT_FUNCTION

#define MOD_NAT_FUNCTION (   X)
Value:
template<typename T> \
void X(association_type, float v, error_handler& err, int32_t line, T& context) { \
if(v == 0.0f) return; \
if(next_to_add_n >= sys::national_modifier_definition::modifier_definition_size) { \
err.accumulated_errors += "Too many modifier values; " + err.file_name + " line " + std::to_string(line) + "\n"; \
} else { \
constructed_definition_n.offsets[next_to_add_n] = sys::national_mod_offsets::X; \
constructed_definition_n.values[next_to_add_n] = v; \
++next_to_add_n; \
} \
}
#define X(name, r, bit)
Definition: cpu.h:146
Definition: constants.hpp:4

Definition at line 582 of file parsers_declarations.hpp.

◆ MOD_PROV_FUNCTION

#define MOD_PROV_FUNCTION (   X)
Value:
template<typename T> \
void X(association_type, float v, error_handler& err, int32_t line, T& context) { \
if(v == 0.0f) return; \
if(next_to_add_p >= sys::provincial_modifier_definition::modifier_definition_size) { \
err.accumulated_errors += "Too many modifier values; " + err.file_name + " line " + std::to_string(line) + "\n"; \
} else { \
constructed_definition_p.offsets[next_to_add_p] = sys::provincial_mod_offsets::X; \
constructed_definition_p.values[next_to_add_p] = v; \
++next_to_add_p; \
} \
}

Definition at line 570 of file parsers_declarations.hpp.