Completely remove Graphics::bigprint

The last two deprecated functions are:
- Graphics::Print
- Graphics::PrintWrap

These are used a lot, but they're relatively easy to replace, since the
only flag I probably have to immediately worry about is PR_CEN. I do
often need to add PR_FONT_* flags but I don't need to add any
PR_2X/PR_3X/PR_4X anymore.
This commit is contained in:
Dav999-v
2023-01-18 23:04:47 +01:00
committed by Misa Elizabeth Kai
parent ddaabb3efe
commit d2461c90ce
4 changed files with 133 additions and 143 deletions

View File

@@ -364,16 +364,6 @@ int Graphics::PrintWrap(
}
void Graphics::bigprint( int x, int y, const std::string& text, int r, int g, int b, bool cen, int sc )
{
// DEPRECATED. Also, use PR_2X/PR_3X/etc directly
int PR_scX = (sc-1);
if (cen)
font::print(PR_scX | PR_CEN, -1, y, text, r, g, b);
else
font::print(PR_scX, x, y, text, r, g, b);
}
void Graphics::printcrewname( int x, int y, int t )
{
//Print the name of crew member t in the right colour