Project Alice
Loading...
Searching...
No Matches
rebels.hpp File Reference
#include "dcon_generated.hpp"
Include dependency graph for rebels.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rebel::impl::prov_str
 
struct  rebel::impl::arm_str
 

Namespaces

namespace  rebel
 
namespace  rebel::impl
 

Functions

dcon::movement_id rebel::get_movement_by_position (sys::state &state, dcon::nation_id n, dcon::issue_option_id o)
 
dcon::movement_id rebel::get_movement_by_independence (sys::state &state, dcon::nation_id n, dcon::national_identity_id i)
 
void rebel::update_movement_values (sys::state &state)
 
void rebel::turn_movement_into_rebels (sys::state &state, dcon::movement_id m)
 
void rebel::update_movements (sys::state &state)
 
void rebel::add_pop_to_movement (sys::state &state, dcon::pop_id p, dcon::movement_id m)
 
void rebel::remove_pop_from_movement (sys::state &state, dcon::pop_id p)
 
void rebel::suppress_movement (sys::state &state, dcon::nation_id n, dcon::movement_id m)
 
void rebel::daily_update_rebel_organization (sys::state &state)
 
void rebel::update_factions (sys::state &state)
 
dcon::rebel_faction_id rebel::get_faction_by_type (sys::state &state, dcon::nation_id n, dcon::rebel_type_id r)
 
void rebel::remove_pop_from_rebel_faction (sys::state &state, dcon::pop_id p)
 
bool rebel::sphere_member_has_ongoing_revolt (sys::state &state, dcon::nation_id n)
 
int32_t rebel::get_faction_brigades_ready (sys::state &state, dcon::rebel_faction_id r)
 
int32_t rebel::get_faction_brigades_active (sys::state &state, dcon::rebel_faction_id r)
 
float rebel::get_faction_organization (sys::state &state, dcon::rebel_faction_id r)
 
float rebel::get_faction_revolt_risk (sys::state &state, dcon::rebel_faction_id r)
 
float rebel::get_suppression_point_cost (sys::state &state, dcon::movement_id m)
 
void rebel::execute_rebel_victories (sys::state &state)
 
void rebel::execute_province_defections (sys::state &state)
 
void rebel::get_hunting_targets (sys::state &state, dcon::nation_id n, std::vector< impl::prov_str > &rebel_provs)
 
void rebel::sort_hunting_targets (sys::state &state, impl::arm_str const &ar, std::vector< impl::prov_str > &rebel_provs)
 
void rebel::rebel_hunting_check (sys::state &state)
 
void rebel::rebel_risings_check (sys::state &state)
 
void rebel::trigger_revolt (sys::state &state, dcon::nation_id n, dcon::rebel_type_id t, dcon::ideology_id i, dcon::culture_id c, dcon::religion_id r)
 
void rebel::delete_faction (sys::state &state, dcon::rebel_faction_id reb)
 
std::string rebel::rebel_name (sys::state &state, dcon::rebel_faction_id reb)
 
void rebel::update_armies (sys::state &state)