Skip to content

Commit

Permalink
Merge pull request #24 from PeggleCommunity/rem-c-text
Browse files Browse the repository at this point in the history
Removed AddStandardText C-String overload
  • Loading branch information
BttrDrgn authored Dec 17, 2022
2 parents 2333bb5 + b7c66e9 commit 412bf44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/haggle/sdk/Sexy/LogicMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/haggle/sdk/Sexy/LogicMgr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 412bf44

Please sign in to comment.