From b7c66e994917639046c489bff9d2c4366de37168 Mon Sep 17 00:00:00 2001 From: BttrDrgn <49764143+BttrDrgn@users.noreply.github.com> Date: Sat, 17 Dec 2022 00:52:11 -0800 Subject: [PATCH] Removed AddStandardText C-String overload --- src/haggle/sdk/Sexy/LogicMgr.cpp | 5 ----- src/haggle/sdk/Sexy/LogicMgr.hpp | 1 - 2 files changed, 6 deletions(-) diff --git a/src/haggle/sdk/Sexy/LogicMgr.cpp b/src/haggle/sdk/Sexy/LogicMgr.cpp index a0d9da8..9b93fb5 100644 --- a/src/haggle/sdk/Sexy/LogicMgr.cpp +++ b/src/haggle/sdk/Sexy/LogicMgr.cpp @@ -330,11 +330,6 @@ Sexy::FloatingText* Sexy::LogicMgr::AddStandardText(std::string& string, float x (logic_mgr, string, x_pos, y_pos, type); } -Sexy::FloatingText* Sexy::LogicMgr::AddStandardText(const char* string, float pos_x, float pos_y, int type) -{ - return Sexy::LogicMgr::AddStandardText(std::string(string), pos_x, pos_y, type); -} - void Sexy::LogicMgr::DoExploder(Sexy::Ball* ball, Sexy::PhysObj* phys_obj) { std::uint32_t address = 0x0; diff --git a/src/haggle/sdk/Sexy/LogicMgr.hpp b/src/haggle/sdk/Sexy/LogicMgr.hpp index 1aa61fd..36eafd6 100644 --- a/src/haggle/sdk/Sexy/LogicMgr.hpp +++ b/src/haggle/sdk/Sexy/LogicMgr.hpp @@ -98,7 +98,6 @@ namespace Sexy static float DegreesToRadians(float angleDegrees); static float RadiansToDegrees(float angleRadians); static Sexy::FloatingText* AddStandardText(std::string& string, float pos_x, float pos_y, int type); - static Sexy::FloatingText* AddStandardText(const char* string, float pos_x, float pos_y, int type); //overload for cstring static void CalcCornerDisplay(); private: