mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Test vertical tunnels properly
This commit is contained in:
@@ -45,6 +45,10 @@ uint8 gRightTunnelCount;
|
||||
uint8 gVerticalTunnelHeight;
|
||||
#endif
|
||||
|
||||
#ifdef __TESTPAINT__
|
||||
uint16 testPaintVerticalTunnelHeight;
|
||||
#endif
|
||||
|
||||
static void blank_tiles_paint(sint32 x, sint32 y);
|
||||
static void sub_68B3FB(sint32 x, sint32 y);
|
||||
|
||||
@@ -333,6 +337,9 @@ void paint_util_push_tunnel_right(uint16 height, uint8 type)
|
||||
|
||||
void paint_util_set_vertical_tunnel(uint16 height)
|
||||
{
|
||||
#ifdef __TESTPAINT__
|
||||
testPaintVerticalTunnelHeight = height;
|
||||
#endif
|
||||
gVerticalTunnelHeight = height / 16;
|
||||
}
|
||||
|
||||
|
||||
@@ -106,6 +106,10 @@ extern uint8 gVerticalTunnelHeight;
|
||||
#define gVerticalTunnelHeight RCT2_GLOBAL(0x009E323C, uint8)
|
||||
#endif
|
||||
|
||||
#ifdef __TESTPAINT__
|
||||
extern uint16 testPaintVerticalTunnelHeight;
|
||||
#endif
|
||||
|
||||
extern bool gShowSupportSegmentHeights;
|
||||
|
||||
extern const rct_xy16 BannerBoundBoxes[][2];
|
||||
|
||||
Reference in New Issue
Block a user