Improve environment simulation

This commit is contained in:
Marijn van der Werf committed 2016-09-16 19:45:08 +02:00
1 parent 8982d87e77
commit f2f99d7bb1
2 files changed
+2

No files matched your search

+1
View File
@@ -535,6 +535,7 @@ static bool testTrackElement(uint8 rideType, uint8 trackType, utf8string *error)
RCT2_GLOBAL(0x009DE56E, sint16) = 64; // y
gDidPassSurface = true; // Above surface
gSurfaceElement = &surfaceElement;
g141E9DB = G141E9DB_FLAG_1 | G141E9DB_FLAG_2;
callCount = 0;
memset(&calls, 0, sizeof(calls));
+1
View File
@@ -344,6 +344,7 @@ namespace Intercept2
gSupport.height = 0;
gSupport.slope = 0xFF;
g141E9DB = G141E9DB_FLAG_1 | G141E9DB_FLAG_2;
uint32 *trackDirectionList = (uint32 *)RideTypeTrackPaintFunctionsOld[rideType][trackType];