aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons/GameSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-12-18 23:06:48 +0100
committer GitHub <noreply@github.com>2023-12-18 23:06:48 +0100
commit71dd8f7411f37a6621985d39f3ef45b975884d59 (patch)
tree0c336e402341a141e58206c458c617d2c1e36727 /extension/src/openvic-extension/singletons/GameSingleton.hpp
parente35b9ed5d753a6690e720d5403953f89d8f1faad (diff)
parent5ecbade59609265901caf55266af217e309e2d24 (diff)
Merge pull request #172 from OpenVicProject/new-pop-history
New pop history loading + bookmark selection by index
Diffstat (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/singletons/GameSingleton.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/extension/src/openvic-extension/singletons/GameSingleton.hpp b/extension/src/openvic-extension/singletons/GameSingleton.hpp
index 5895899..5559f1b 100644
--- a/extension/src/openvic-extension/singletons/GameSingleton.hpp
+++ b/extension/src/openvic-extension/singletons/GameSingleton.hpp
@@ -56,9 +56,8 @@ namespace OpenVic {
static godot::String search_for_game_path(godot::String hint_path = {});
- /* Post-load/restart game setup - reset the game to post-load state
- * and (re)generate starting data, e.g. buildings. */
- godot::Error setup_game();
+ /* Post-load/restart game setup - reset the game to post-load state and load the specified bookmark. */
+ godot::Error setup_game(int32_t bookmark_index);
int32_t get_province_index_from_uv_coords(godot::Vector2 const& coords) const;