1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Finish Removing snake_case from Drawing Methods

This commit is contained in:
Duncan
2023-01-16 22:31:34 +00:00
committed by GitHub
parent 0e3a0a5ce0
commit 8504c8d05e
72 changed files with 412 additions and 410 deletions

View File

@@ -280,7 +280,7 @@ static int32_t ChatHistoryDrawString(
int32_t numLines;
GfxWrapString(bufferPtr, width, FontStyle::Medium, &numLines);
auto lineHeight = font_get_line_height(FontStyle::Medium);
auto lineHeight = FontGetLineHeight(FontStyle::Medium);
int32_t expectedY = screenCoords.y - (numLines * lineHeight);
if (expectedY < 50)
@@ -308,7 +308,7 @@ int32_t ChatStringWrappedGetHeight(void* args, int32_t width)
int32_t numLines;
GfxWrapString(bufferPtr, width, FontStyle::Medium, &numLines);
int32_t lineHeight = font_get_line_height(FontStyle::Medium);
int32_t lineHeight = FontGetLineHeight(FontStyle::Medium);
int32_t lineY = 0;
for (int32_t line = 0; line <= numLines; ++line)