mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 16:54:52 +01:00
Rename snake_case Class names (Remaining Bits) (#19237)
* Rename snake_case Class names * Clang format * Fix build issues
This commit is contained in:
@@ -23,8 +23,8 @@ static Widget window_map_tooltip_widgets[] = {
|
||||
WIDGETS_END,
|
||||
};
|
||||
|
||||
static void WindowMapTooltipUpdate(rct_window *w);
|
||||
static void WindowMapTooltipPaint(rct_window *w, DrawPixelInfo *dpi);
|
||||
static void WindowMapTooltipUpdate(WindowBase *w);
|
||||
static void WindowMapTooltipPaint(WindowBase *w, DrawPixelInfo *dpi);
|
||||
|
||||
static WindowEventList window_map_tooltip_events([](auto& events)
|
||||
{
|
||||
@@ -100,7 +100,7 @@ void WindowMapTooltipUpdateVisibility()
|
||||
*/
|
||||
static void WindowMapTooltipOpen()
|
||||
{
|
||||
rct_window* w;
|
||||
WindowBase* w;
|
||||
|
||||
constexpr int32_t width = 200;
|
||||
constexpr int32_t height = 44;
|
||||
@@ -128,7 +128,7 @@ static void WindowMapTooltipOpen()
|
||||
*
|
||||
* rct2: 0x006EE8CE
|
||||
*/
|
||||
static void WindowMapTooltipUpdate(rct_window* w)
|
||||
static void WindowMapTooltipUpdate(WindowBase* w)
|
||||
{
|
||||
w->Invalidate();
|
||||
}
|
||||
@@ -137,7 +137,7 @@ static void WindowMapTooltipUpdate(rct_window* w)
|
||||
*
|
||||
* rct2: 0x006EE894
|
||||
*/
|
||||
static void WindowMapTooltipPaint(rct_window* w, DrawPixelInfo* dpi)
|
||||
static void WindowMapTooltipPaint(WindowBase* w, DrawPixelInfo* dpi)
|
||||
{
|
||||
StringId stringId;
|
||||
std::memcpy(&stringId, _mapTooltipArgs.Data(), sizeof(StringId));
|
||||
|
||||
Reference in New Issue
Block a user