aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/GameManager.hpp')
-rw-r--r--src/openvic-simulation/GameManager.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/openvic-simulation/GameManager.hpp b/src/openvic-simulation/GameManager.hpp
index 6be2938..cd86716 100644
--- a/src/openvic-simulation/GameManager.hpp
+++ b/src/openvic-simulation/GameManager.hpp
@@ -1,7 +1,7 @@
#pragma once
#include "openvic-simulation/GameAdvancementHook.hpp"
-#include "openvic-simulation/Modifier.hpp"
+#include "openvic-simulation/misc/Modifier.hpp"
#include "openvic-simulation/country/Country.hpp"
#include "openvic-simulation/economy/EconomyManager.hpp"
#include "openvic-simulation/history/HistoryManager.hpp"
@@ -29,7 +29,8 @@ namespace OpenVic {
GameAdvancementHook clock;
time_t session_start; /* SS-54, as well as allowing time-tracking */
- Date today;
+ Bookmark const* PROPERTY(bookmark);
+ Date PROPERTY(today);
state_updated_func_t state_updated;
bool needs_update;
@@ -52,9 +53,9 @@ namespace OpenVic {
REF_GETTERS(ui_manager)
REF_GETTERS(clock)
- bool setup();
+ bool reset();
+ bool load_bookmark(Bookmark const* new_bookmark);
- Date get_today() const;
bool expand_building(Province::index_t province_index, std::string_view building_type_identifier);
/* Hardcoded data for defining things for which parsing from files has