aboutsummaryrefslogtreecommitdiff
path: root/extension/src/GameSingleton.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-24 10:14:41 +0200
committer Hop311 <hop3114@gmail.com>2023-05-24 10:14:41 +0200
commitd6db91738ceee5cce9e7b7efc32bec89a83fa790 (patch)
tree2ba58efbe0ff3cfdc6f73b7a9e0bfab399d5e0d3 /extension/src/GameSingleton.hpp
parentac36a373139e3e815f70720b37d4ffc8d9062df9 (diff)
Date fix + string fix + Logger queue
Diffstat (limited to 'extension/src/GameSingleton.hpp')
-rw-r--r--extension/src/GameSingleton.hpp4
1 files changed, 3 insertions, 1 deletions
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;