Remove unused function Graphics::PrintOff()

This function was marked as unused by cppcheck.
This commit is contained in:
Misa 2021-01-02 00:18:17 -08:00 committed by Ethan Lee
parent 0e0f5c47a5
commit 42106cb59a
2 changed files with 0 additions and 6 deletions

View File

@ -455,10 +455,6 @@ int Graphics::len(std::string t)
return bfontpos;
}
void Graphics::PrintOff( int _x, int _y, std::string _s, int r, int g, int b, bool cen /*= false*/ ) {
PrintOffAlpha(_x,_y,_s,r,g,b,255,cen);
}
void Graphics::PrintOffAlpha( int _x, int _y, std::string _s, int r, int g, int b, int a, bool cen /*= false*/ )
{
std::vector<SDL_Surface*>& font = flipmode ? flipbfont : bfont;

View File

@ -113,8 +113,6 @@ public:
void RPrint(int _x, int _y, std::string _s, int r, int g, int b, bool cen = false);
void PrintOff(int _x, int _y, std::string _s, int r, int g, int b, bool cen = false);
void PrintOffAlpha(int _x, int _y, std::string _s, int r, int g, int b, int a, bool cen = false);
void bprint(int x, int y, std::string t, int r, int g, int b, bool cen = false);