From 5ecbade59609265901caf55266af217e309e2d24 Mon Sep 17 00:00:00 2001 From: hop311 Date: Tue, 12 Dec 2023 20:43:34 +0000 Subject: New pop history loading + bookmark selection by index --- extension/src/openvic-extension/singletons/GameSingleton.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'extension/src/openvic-extension/singletons/GameSingleton.hpp') 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; -- cgit v1.2.3-56-ga3b1