From 843edde55306e3fbdb5e37ef9b7c09c7b53f50c4 Mon Sep 17 00:00:00 2001 From: hop311 Date: Sat, 24 Feb 2024 13:17:07 +0000 Subject: Added GUIScrollbar and GFXCorneredTileSupportingTexture --- extension/src/openvic-extension/singletons/GameSingleton.cpp | 10 ---------- extension/src/openvic-extension/singletons/GameSingleton.hpp | 2 -- 2 files changed, 12 deletions(-) (limited to 'extension/src/openvic-extension/singletons') 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(); -- cgit v1.2.3-56-ga3b1