Project Alice
Loading...
Searching...
No Matches
trigger_parsing.hpp File Reference
#include <stdint.h>
#include <optional>
#include <string_view>
#include <string>
#include "constants.hpp"
#include "parsers.hpp"
#include "script_constants.hpp"
#include "nations.hpp"
#include "container_types.hpp"
#include "text.hpp"
Include dependency graph for trigger_parsing.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  parsers::trigger_building_context
 
struct  parsers::tr_diplomatic_influence
 
struct  parsers::tr_party_loyalty
 
struct  parsers::tr_unemployment_by_type
 
struct  parsers::tr_upper_house
 
struct  parsers::tr_check_variable
 
struct  parsers::tr_relation
 
struct  parsers::tr_pop_unemployment
 
struct  parsers::tr_can_build_in_province
 
struct  parsers::tr_can_build_fort_in_capital
 
struct  parsers::tr_can_build_railway_in_capital
 
struct  parsers::tr_work_available
 
struct  parsers::tr_party_name
 
struct  parsers::tr_party_position
 
struct  parsers::trigger_body
 
struct  parsers::value_modifier_definition
 
struct  parsers::scripted_trigger_file
 
struct  parsers::stored_condition
 

Namespaces

namespace  economy
 
namespace  parsers
 

Functions

dcon::modifier_id economy::get_province_selector_modifier (sys::state &state)
 
dcon::modifier_id economy::get_province_immigrator_modifier (sys::state &state)
 
std::string parsers::slot_contents_to_string (trigger::slot_contents v)
 
uint16_t parsers::association_to_trigger_code (association_type a)
 
uint16_t parsers::association_to_le_trigger_code (association_type a)
 
uint16_t parsers::association_to_bool_code (association_type a)
 
uint16_t parsers::invert_association (uint16_t a)
 
uint16_t parsers::association_to_bool_code (association_type a, bool v)
 
constexpr bool parsers::scope_has_any_all (uint16_t code)
 
bool parsers::is_from (std::string_view value)
 
bool parsers::is_this (std::string_view value)
 
bool parsers::is_reb (std::string_view value)
 
void parsers::tr_scope_and (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_or (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_not (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_neighbor_province (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_neighbor_country (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_war_countries (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_war_countries (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_greater_power (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_owned_province (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_core (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_core (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_state (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_substate (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_sphere_member (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_pop (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_owner (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_controller (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_location (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_country (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_capital_scope (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_this (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_from (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_sea_zone (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_cultural_union (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_overlord (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_sphere_owner (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_independence (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_flashpoint_tag_scope (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_crisis_state_scope (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_state_scope (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_variable (std::string_view name, token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_any_country (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_state (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_substate (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_sphere_member (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_pop (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_all_greater_power (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::tr_scope_every_country (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::invert_trigger (uint16_t *source)
 
bool parsers::scope_is_empty (uint16_t const *source)
 
bool parsers::scope_has_single_member (uint16_t const *source)
 
int32_t parsers::simplify_trigger (uint16_t *source)
 
dcon::trigger_key parsers::make_trigger (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::make_value_modifier_segment (token_generator &gen, error_handler &err, trigger_building_context &context)
 
dcon::value_modifier_key parsers::make_value_modifier (token_generator &gen, error_handler &err, trigger_building_context &context)
 
void parsers::make_stored_trigger (std::string_view name, token_generator &gen, error_handler &err, scenario_building_context &context)