aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-06-06 22:49:59 +0200
committer hop311 <hop3114@gmail.com>2024-06-06 22:49:59 +0200
commitc94a06477fc3930e8f8f2e5f971fc4b5b838ea0d (patch)
tree56225c56b2253c74c78c7c9d03294a4a06e47aaa /src/openvic-simulation/GameManager.hpp
parentf5d173e88a49a1a9556860063aef1aa287925cfd (diff)
Separated out MapmodeManager
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp
index 8e0bd00..572a26e 100644
--- a/src/openvic-simulation/GameManager.hpp
+++ b/src/openvic-simulation/GameManager.hpp
@@ -7,6 +7,7 @@
#include "openvic-simulation/interface/UI.hpp"
#include "openvic-simulation/map/Crime.hpp"
#include "openvic-simulation/map/Map.hpp"
+#include "openvic-simulation/map/Mapmode.hpp"
#include "openvic-simulation/military/MilitaryManager.hpp"
#include "openvic-simulation/misc/Decision.hpp"
#include "openvic-simulation/misc/Define.hpp"
@@ -41,6 +42,7 @@ namespace OpenVic {
/* Near the end so it is freed after other managers that may depend on it,
* e.g. if we want to remove military units from the province they're in when they're destructed. */
Map PROPERTY_REF(map);
+ MapmodeManager PROPERTY_REF(mapmode_manager);
ScriptManager PROPERTY_REF(script_manager);
SimulationClock PROPERTY_REF(simulation_clock);
@@ -64,10 +66,5 @@ namespace OpenVic {
bool load_bookmark(Bookmark const* new_bookmark);
bool expand_selected_province_building(size_t building_index);
-
- /* Hardcoded data for defining things for which parsing from files has
- * not been implemented, currently mapmodes and building types.
- */
- bool load_hardcoded_defines();
};
}