mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 03:53:07 +01:00
Added a helper function footpath_element_is_wide
This commit is contained in:
@@ -1427,6 +1427,11 @@ bool footpath_element_is_queue(rct_map_element *mapElement)
|
||||
return mapElement->type & 1;
|
||||
}
|
||||
|
||||
bool footpath_element_is_wide(rct_map_element *mapElement)
|
||||
{
|
||||
return mapElement->type & 2;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006A76E9
|
||||
|
||||
@@ -70,6 +70,7 @@ int footpath_is_connected_to_map_edge(int x, int y, int z, int direction, int fl
|
||||
bool footpath_element_is_sloped(rct_map_element *mapElement);
|
||||
int footpath_element_get_slope_direction(rct_map_element *mapElement);
|
||||
bool footpath_element_is_queue(rct_map_element *mapElement);
|
||||
bool footpath_element_is_wide(rct_map_element *mapElement);
|
||||
void footpath_remove_edges_at(int x, int y, rct_map_element *mapElement);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user