aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/MapInstance.hpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-11-02 15:20:30 +0100
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-11-10 10:22:44 +0100
commit55eb6aab174172b63c44d801823ed8dc02ff0402 (patch)
tree5dc169ed65e3b86ce8307667f5c15d8fb54e3589 /src/openvic-simulation/map/MapInstance.hpp
parent9868a5d6755889e3558f252475ae6d7599b788ac (diff)
Cache pops by type per state and provincestate_cache_owners
Diffstat (limited to 'src/openvic-simulation/map/MapInstance.hpp')
-rw-r--r--src/openvic-simulation/map/MapInstance.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/openvic-simulation/map/MapInstance.hpp b/src/openvic-simulation/map/MapInstance.hpp
index a580c55..1ca28d2 100644
--- a/src/openvic-simulation/map/MapInstance.hpp
+++ b/src/openvic-simulation/map/MapInstance.hpp
@@ -48,13 +48,13 @@ namespace OpenVic {
decltype(ProvinceInstance::ideology_distribution)::keys_t const& ideology_keys
);
bool apply_history_to_provinces(
- ProvinceHistoryManager const& history_manager, Date date, CountryInstanceManager& country_manager,
+ ProvinceHistoryManager const& history_manager, const Date date, CountryInstanceManager& country_manager,
IssueManager const& issue_manager
);
- void update_modifier_sums(Date today, StaticModifierCache const& static_modifier_cache);
- void update_gamestate(Date today, DefineManager const& define_manager);
- void tick(Date today);
- void initialise_for_new_game(ModifierEffectCache const& modifier_effect_cache);
+ void update_modifier_sums(const Date today, StaticModifierCache const& static_modifier_cache);
+ void update_gamestate(const Date today, DefineManager const& define_manager);
+ void map_tick(const Date today, ModifierEffectCache const& modifier_effect_cache);
+ void initialise_for_new_game(const Date today, DefineManager const& define_manager, ModifierEffectCache const& modifier_effect_cache);
};
}