mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
refactor ride update and fix bugs
This commit is contained in:
@@ -474,4 +474,14 @@ int map_is_location_in_park(int x, int y)
|
||||
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, uint16) = 1729;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006ECB60
|
||||
* NOTE: x, y and z are in pixels, not tile units
|
||||
*/
|
||||
void map_invalidate_tile(int x, int y, int zLow, int zHigh)
|
||||
{
|
||||
RCT2_CALLPROC_X(0x006ECB60, x, 0, y, 0, zHigh, zLow, 0);
|
||||
}
|
||||
@@ -207,6 +207,7 @@ void map_invalidate_animations();
|
||||
void sub_6A876D();
|
||||
int sub_664F72(int x, int y, int z);
|
||||
int map_is_location_in_park(int x, int y);
|
||||
void map_invalidate_tile(int x, int y, int zLow, int zHigh);
|
||||
|
||||
void fountain_update_all();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user