1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix testpaint

This commit is contained in:
Ted John
2017-12-03 22:07:24 +00:00
parent 99d7aaa2d6
commit ebf43c2529
14 changed files with 522 additions and 18 deletions

View File

@@ -166,6 +166,9 @@ public:
Ride *ride, rct_ride_entry *rideEntry
) override {
ride->entrance_style = variant;
Ride * rct2ride = RCT2_ADDRESS(0x013628F8, Ride);
rct2ride->entrance_style = variant;
}
};
@@ -345,6 +348,7 @@ static uint8 TestTrackElementPaintCalls(uint8 rideType, uint8 trackType, uint8 t
for (int currentRotation = 0; currentRotation < 4; currentRotation++) {
gCurrentRotation = currentRotation;
RCT2_CurrentRotation = currentRotation;
for (int direction = 0; direction < 4; direction++) {
RCT2_GLOBAL(0x009DE56A, sint16) = 64; // x
RCT2_GLOBAL(0x009DE56E, sint16) = 64; // y