mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Change all calls to DrawTextBasic to use Formatter
This commit is contained in:
@@ -112,16 +112,10 @@ static void DrawText(
|
||||
DrawText(dpi, coords, paint, buffer);
|
||||
}
|
||||
|
||||
void DrawTextBasic(
|
||||
rct_drawpixelinfo* dpi, const ScreenCoordsXY& coords, rct_string_id format, const void* args, TextPaint textPaint)
|
||||
{
|
||||
DrawText(dpi, coords, textPaint, format, args);
|
||||
}
|
||||
|
||||
void DrawTextBasic(
|
||||
rct_drawpixelinfo* dpi, const ScreenCoordsXY& coords, rct_string_id format, const Formatter& ft, TextPaint textPaint)
|
||||
{
|
||||
DrawTextBasic(dpi, coords, format, ft.Data(), textPaint);
|
||||
DrawText(dpi, coords, textPaint, format, ft.Data());
|
||||
}
|
||||
|
||||
void DrawTextEllipsised(
|
||||
|
||||
Reference in New Issue
Block a user