1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 15:54:31 +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

@@ -142,7 +142,7 @@ rct_window* WindowErrorOpen(std::string_view title, std::string_view message)
GfxWrapString(buffer.data(), width + 1, FontStyle::Medium, &numLines);
width = width + 3;
int32_t height = (numLines + 1) * font_get_line_height(FontStyle::Medium) + 4;
int32_t height = (numLines + 1) * FontGetLineHeight(FontStyle::Medium) + 4;
int32_t screenWidth = ContextGetWidth();
int32_t screenHeight = ContextGetHeight();
const CursorState* state = ContextGetCursorState();