From d6db91738ceee5cce9e7b7efc32bec89a83fa790 Mon Sep 17 00:00:00 2001 From: Hop311 Date: Wed, 24 May 2023 09:14:41 +0100 Subject: Date fix + string fix + Logger queue --- extension/src/GameSingleton.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extension/src/GameSingleton.hpp') diff --git a/extension/src/GameSingleton.hpp b/extension/src/GameSingleton.hpp index 6bfb741..6c91de5 100644 --- a/extension/src/GameSingleton.hpp +++ b/extension/src/GameSingleton.hpp @@ -74,6 +74,8 @@ namespace OpenVic { GameSingleton(); ~GameSingleton(); + static void setup_logger(); + static godot::StringName const& get_province_identifier_file_key(); static godot::StringName const& get_water_province_file_key(); static godot::StringName const& get_region_file_key(); @@ -97,7 +99,7 @@ namespace OpenVic { /* Post-load/restart game setup - reset the game to post-load state * and (re)generate starting data, e.g. buildings. */ - godot::Error setup(); + godot::Error setup_game(); int32_t get_province_index_from_uv_coords(godot::Vector2 const& coords) const; -- cgit v1.2.3-56-ga3b1