1
0
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:
olegv11
2015-07-31 12:42:40 +03:00
parent 5923b84f48
commit 2b6cfdec1d
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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