diff options
author | Hop311 <hop3114@gmail.com> | 2023-05-22 19:06:25 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-05-22 19:06:25 +0200 |
commit | 42b4b45d7d1216770077e0676cd66750cae26932 (patch) | |
tree | 04c25f263a2364eab5bc3647b9e1a4ccc9fc3bf2 /extension/src/GameSingleton.cpp | |
parent | bd9b0206bcfc8848c865055a933d1e207521ac8e (diff) |
Map compatibility mode
Diffstat (limited to 'extension/src/GameSingleton.cpp')
-rw-r--r-- | extension/src/GameSingleton.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/src/GameSingleton.cpp b/extension/src/GameSingleton.cpp index 6b3456a..cb7d0a7 100644 --- a/extension/src/GameSingleton.cpp +++ b/extension/src/GameSingleton.cpp @@ -2,7 +2,7 @@ #include <godot_cpp/variant/utility_functions.hpp> -#include "openvic/Logger.hpp" +#include "openvic/utility/Logger.hpp" #include "Utilities.hpp" @@ -13,6 +13,7 @@ GameSingleton* GameSingleton::singleton = nullptr; void GameSingleton::_bind_methods() { ClassDB::bind_method(D_METHOD("load_defines", "file_dict"), &GameSingleton::load_defines); + ClassDB::bind_method(D_METHOD("load_defines_compatibility_mode", "file_path"), &GameSingleton::load_defines_compatibility_mode); ClassDB::bind_method(D_METHOD("setup"), &GameSingleton::setup); ClassDB::bind_method(D_METHOD("get_province_index_from_uv_coords", "coords"), &GameSingleton::get_province_index_from_uv_coords); |