diff options
author | hop311 <hop3114@gmail.com> | 2024-02-24 14:17:07 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-02-24 14:17:07 +0100 |
commit | 843edde55306e3fbdb5e37ef9b7c09c7b53f50c4 (patch) | |
tree | 487fea19d42106c08b60f5bba99bc76485073002 /extension/src/openvic-extension/singletons | |
parent | 5d7c6eafe35e2c6e952bc0b3f91d27d760c8e75e (diff) |
Added GUIScrollbar and GFXCorneredTileSupportingTexturescrollbar
Diffstat (limited to 'extension/src/openvic-extension/singletons')
-rw-r--r-- | extension/src/openvic-extension/singletons/GameSingleton.cpp | 10 | ||||
-rw-r--r-- | extension/src/openvic-extension/singletons/GameSingleton.hpp | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/extension/src/openvic-extension/singletons/GameSingleton.cpp b/extension/src/openvic-extension/singletons/GameSingleton.cpp index f9a6b9d..9b8abce 100644 --- a/extension/src/openvic-extension/singletons/GameSingleton.cpp +++ b/extension/src/openvic-extension/singletons/GameSingleton.cpp @@ -72,8 +72,6 @@ void GameSingleton::_bind_methods() { OV_BIND_METHOD(GameSingleton::get_slave_pop_icon_index); OV_BIND_METHOD(GameSingleton::get_administrative_pop_icon_index); OV_BIND_METHOD(GameSingleton::get_rgo_owner_pop_icon_index); - OV_BIND_SMETHOD(int_to_formatted_string, { "val" }); - OV_BIND_SMETHOD(float_to_formatted_string, { "val" }); OV_BIND_METHOD(GameSingleton::set_paused, { "paused" }); OV_BIND_METHOD(GameSingleton::toggle_paused); @@ -434,14 +432,6 @@ int32_t GameSingleton::get_rgo_owner_pop_icon_index() const { return sprite; } -String GameSingleton::int_to_formatted_string(int64_t val) { - return Utilities::int_to_formatted_string(val); -} - -String GameSingleton::float_to_formatted_string(float val) { - return Utilities::float_to_formatted_string(val); -} - void GameSingleton::set_paused(bool paused) { game_manager.get_simulation_clock().set_paused(paused); } diff --git a/extension/src/openvic-extension/singletons/GameSingleton.hpp b/extension/src/openvic-extension/singletons/GameSingleton.hpp index 57a2014..35f7437 100644 --- a/extension/src/openvic-extension/singletons/GameSingleton.hpp +++ b/extension/src/openvic-extension/singletons/GameSingleton.hpp @@ -105,8 +105,6 @@ namespace OpenVic { int32_t get_slave_pop_icon_index() const; int32_t get_administrative_pop_icon_index() const; int32_t get_rgo_owner_pop_icon_index() const; - static godot::String int_to_formatted_string(int64_t val); - static godot::String float_to_formatted_string(float val); void set_paused(bool paused); void toggle_paused(); |