diff options
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(); |