mirror of https://github.com/OpenRCT2/OpenRCT2.git
prefix new functions taking x and y with '_at'
This commit is contained in:
parent
83dbb52976
commit
d57f73673a
|
@ -5624,7 +5624,7 @@ void game_command_modify_tile(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx
|
|||
{
|
||||
const sint32 first_index = *edx;
|
||||
const sint32 second_index = *edi;
|
||||
*ebx = tile_inspector_swap_elements(x, y, first_index, second_index, flags);
|
||||
*ebx = tile_inspector_swap_elements_at(x, y, first_index, second_index, flags);
|
||||
return;
|
||||
}
|
||||
case TILE_INSPECTOR_ANY_INSERT_CORRUPT:
|
||||
|
@ -5650,7 +5650,7 @@ void game_command_modify_tile(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx
|
|||
}
|
||||
case TILE_INSPECTOR_ANY_SORT:
|
||||
{
|
||||
*ebx = tile_inspector_sort(x, y, flags);
|
||||
*ebx = tile_inspector_sort_elements_at(x, y, flags);
|
||||
return;
|
||||
}
|
||||
default:
|
||||
|
|
|
@ -153,7 +153,7 @@ sint32 tile_inspector_remove_element_at(sint32 x, sint32 y, sint16 element_index
|
|||
return 0;
|
||||
}
|
||||
|
||||
sint32 tile_inspector_swap_elements(sint32 x, sint32 y, sint16 first, sint16 second, sint32 flags)
|
||||
sint32 tile_inspector_swap_elements_at(sint32 x, sint32 y, sint16 first, sint16 second, sint32 flags)
|
||||
{
|
||||
if (flags & GAME_COMMAND_FLAG_APPLY)
|
||||
{
|
||||
|
@ -269,7 +269,7 @@ sint32 tile_inspector_paste_element_at(sint32 x, sint32 y, rct_map_element eleme
|
|||
return 0;
|
||||
}
|
||||
|
||||
sint32 tile_inspector_sort(sint32 x, sint32 y, sint32 flags)
|
||||
sint32 tile_inspector_sort_elements_at(sint32 x, sint32 y, sint32 flags)
|
||||
{
|
||||
if (flags & GAME_COMMAND_FLAG_APPLY)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ typedef enum {
|
|||
|
||||
sint32 tile_inspector_insert_corrupt_at(sint32 x, sint32 y, sint16 element_index, sint32 flags);
|
||||
sint32 tile_inspector_remove_element_at(sint32 x, sint32 y, sint16 element_index, sint32 flags);
|
||||
sint32 tile_inspector_swap_elements(sint32 x, sint32 y, sint16 first, sint16 second, sint32 flags);
|
||||
sint32 tile_inspector_swap_elements_at(sint32 x, sint32 y, sint16 first, sint16 second, sint32 flags);
|
||||
sint32 tile_inspector_rotate_element_at(sint32 x, sint32 y, sint32 element_index, sint32 flags);
|
||||
sint32 tile_inspector_paste_element_at(sint32 x, sint32 y, rct_map_element element, sint32 flags);
|
||||
sint32 tile_inspector_sort(sint32 x, sint32 y, sint32 flags);
|
||||
sint32 tile_inspector_sort_elements_at(sint32 x, sint32 y, sint32 flags);
|
||||
|
|
Loading…
Reference in New Issue