mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
implement finish-map-window part 6
This commit is contained in:
@@ -1952,9 +1952,9 @@ void window_event_scroll_mousedown_call(rct_window* w, int scrollIndex, int x, i
|
||||
RCT2_CALLPROC_X(w->event_handlers[WE_SCROLL_MOUSEDOWN], scrollIndex, 0, x, y, (int)w, (int)window_get_scroll_widget(w, scrollIndex), 0);
|
||||
}
|
||||
|
||||
void window_event_unknown_11_call(rct_window* w)
|
||||
void window_event_scroll_mousedrag_call(rct_window* w, int scrollIndex, int x, int y)
|
||||
{
|
||||
window_event_call_address(w->event_handlers[WE_UNKNOWN_11], w);
|
||||
RCT2_CALLPROC_X(w->event_handlers[WE_SCROLL_MOUSEDRAG], scrollIndex, 0, x, y, (int)w, (int)window_get_scroll_widget(w, scrollIndex), 0);
|
||||
}
|
||||
|
||||
void window_event_scroll_mouseover_call(rct_window* w, int scrollIndex, int x, int y)
|
||||
|
||||
@@ -273,7 +273,7 @@ typedef enum {
|
||||
WE_UNKNOWN_0E = 14,
|
||||
WE_SCROLL_GETSIZE = 15,
|
||||
WE_SCROLL_MOUSEDOWN = 16,
|
||||
WE_UNKNOWN_11 = 17,
|
||||
WE_SCROLL_MOUSEDRAG = 17,
|
||||
WE_SCROLL_MOUSEOVER = 18,
|
||||
WE_TEXT_INPUT = 19,
|
||||
WE_UNKNOWN_14 = 20,
|
||||
@@ -632,7 +632,7 @@ void window_event_tool_abort_call(rct_window* w, int widgetIndex);
|
||||
void window_event_unknown_0E_call(rct_window* w);
|
||||
int window_get_scroll_size(rct_window *w, int scrollIndex, int *width, int *height);
|
||||
void window_event_scroll_mousedown_call(rct_window* w, int scrollIndex, int x, int y);
|
||||
void window_event_unknown_11_call(rct_window* w);
|
||||
void window_event_scroll_mousedrag_call(rct_window* w, int scrollIndex, int x, int y);
|
||||
void window_event_scroll_mouseover_call(rct_window* w, int scrollIndex, int x, int y);
|
||||
void window_event_textinput_call(rct_window *w, int widgetIndex, char *text);
|
||||
void window_event_unknown_14_call(rct_window* w);
|
||||
@@ -655,6 +655,8 @@ void window_cancel_textbox();
|
||||
void window_update_textbox_caret();
|
||||
void window_update_textbox();
|
||||
|
||||
bool land_tool_is_active();
|
||||
|
||||
//Cheat: in-game land ownership editor
|
||||
void toggle_ingame_land_ownership_editor();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user