1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Remove unused window events

This commit is contained in:
Gymnasiast
2022-08-27 16:50:02 +02:00
parent a8fb31cbb9
commit ae8b2b8374
3 changed files with 0 additions and 20 deletions

View File

@@ -1470,13 +1470,6 @@ void window_event_periodic_update_call(rct_window* w)
w->event_handlers->periodic_update(w);
}
void window_event_unknown_08_call(rct_window* w)
{
if (w->event_handlers != nullptr)
if (w->event_handlers->unknown_08 != nullptr)
w->event_handlers->unknown_08(w);
}
void window_event_tool_update_call(rct_window* w, WidgetIndex widgetIndex, const ScreenCoordsXY& screenCoords)
{
if (w->event_handlers == nullptr)
@@ -1517,13 +1510,6 @@ void window_event_tool_abort_call(rct_window* w, WidgetIndex widgetIndex)
w->event_handlers->tool_abort(w, widgetIndex);
}
void window_event_unknown_0E_call(rct_window* w)
{
if (w->event_handlers != nullptr)
if (w->event_handlers->unknown_0E != nullptr)
w->event_handlers->unknown_0E(w);
}
void window_get_scroll_size(rct_window* w, int32_t scrollIndex, int32_t* width, int32_t* height)
{
if (w->event_handlers == nullptr)