1
0
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:
IntelOrca
2014-11-02 03:37:56 +00:00
parent 3d40c7e3ee
commit cf59455d69
11 changed files with 1428 additions and 1307 deletions

View File

@@ -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);
}

View File

@@ -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();