Completely remove Graphics::PrintWrap

All print calls are font:: ones now and all the old Graphics:: print
functions have been removed, the migration is complete!
This commit is contained in:
Dav999-v
2023-01-20 21:11:18 +01:00
committed by Misa Elizabeth Kai
parent 0e30087f3b
commit 0eaceed0a2
4 changed files with 177 additions and 197 deletions

View File

@@ -337,24 +337,6 @@ void Graphics::map_option(int opt, int num_opts, const std::string& text, bool s
}
}
int Graphics::PrintWrap(
const int x,
int y,
const std::string& text,
const int r,
const int g,
const int b,
const bool cen /*= false*/,
int linespacing /*= -1*/,
int maxwidth /*= -1*/
) {
// DEPRECATED
if (cen)
return font::print_wrap(PR_CEN, -1, y, text, r, g, b, linespacing /*= -1 */, maxwidth /*= -1 */);
else
return font::print_wrap(0, x, y, text, r, g, b, linespacing /*= -1 */, maxwidth /*= -1 */);
}
void Graphics::printcrewname( int x, int y, int t )
{