#include <stdint.h>
#include "date_interface.hpp"
#include "dcon_generated.hpp"
Go to the source code of this file.
|
void | sys::repopulate_modifier_effects (sys::state &state) |
|
void | sys::update_modifier_effects (sys::state &state) |
|
void | sys::update_single_nation_modifiers (sys::state &state, dcon::nation_id n) |
|
void | sys::add_modifier_to_nation (sys::state &state, dcon::nation_id target_nation, dcon::modifier_id mod_id, sys::date expiration) |
|
void | sys::add_modifier_to_province (sys::state &state, dcon::province_id target_prov, dcon::modifier_id mod_id, sys::date expiration) |
|
void | sys::remove_modifier_from_nation (sys::state &state, dcon::nation_id target_nation, dcon::modifier_id mod_id) |
|
void | sys::remove_modifier_from_province (sys::state &state, dcon::province_id target_prov, dcon::modifier_id mod_id) |
|
void | sys::remove_expired_modifiers_from_nation (sys::state &state, dcon::nation_id target_nation) |
|
void | sys::remove_expired_modifiers_from_province (sys::state &state, dcon::province_id target_prov) |
|
void | sys::toggle_modifier_from_province (sys::state &state, dcon::province_id target_prov, dcon::modifier_id mod_id, sys::date expiration) |
|
◆ MOD_LIST_ELEMENT [1/2]
#define MOD_LIST_ELEMENT |
( |
|
num, |
|
|
|
name, |
|
|
|
green_is_negative, |
|
|
|
display_type, |
|
|
|
locale_name |
|
) |
| constexpr inline dcon::provincial_modifier_value name{num}; |
◆ MOD_LIST_ELEMENT [2/2]
#define MOD_LIST_ELEMENT |
( |
|
num, |
|
|
|
name, |
|
|
|
green_is_negative, |
|
|
|
display_type, |
|
|
|
locale_name |
|
) |
| constexpr inline dcon::national_modifier_value name{num}; |
◆ MOD_NAT_LIST
◆ MOD_NAT_LIST_COUNT
#define MOD_NAT_LIST_COUNT 126 |
◆ MOD_PROV_LIST
◆ MOD_PROV_LIST_COUNT
#define MOD_PROV_LIST_COUNT 51 |