aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/MapInstance.hpp
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-11-03 22:23:39 +0100
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-11-03 22:39:01 +0100
commit4eba08af501560e9139a562c53fbbc8b694fb4cf (patch)
treee9553d2f4ed09abb920921006b976c7ef4baa46c /src/openvic-simulation/map/MapInstance.hpp
parent19026ff6aee8748df4777ec044065d13460e806a (diff)
ModifierEffectCache & location to fieldsto_fields
Diffstat (limited to 'src/openvic-simulation/map/MapInstance.hpp')
-rw-r--r--src/openvic-simulation/map/MapInstance.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/MapInstance.hpp b/src/openvic-simulation/map/MapInstance.hpp
index 1ca28d2..a498061 100644
--- a/src/openvic-simulation/map/MapInstance.hpp
+++ b/src/openvic-simulation/map/MapInstance.hpp
@@ -44,6 +44,7 @@ namespace OpenVic {
bool setup(
BuildingTypeManager const& building_type_manager,
+ ModifierEffectCache const& modifier_effect_cache,
decltype(ProvinceInstance::pop_type_distribution)::keys_t const& pop_type_keys,
decltype(ProvinceInstance::ideology_distribution)::keys_t const& ideology_keys
);
@@ -54,7 +55,7 @@ namespace OpenVic {
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);
+ void map_tick(const Date today);
+ void initialise_for_new_game(const Date today, DefineManager const& define_manager);
};
}