diff --git a/src/openrct2/ride/TrackPaint.h b/src/openrct2/ride/TrackPaint.h index 65a7e85a66..cebfb5fbef 100644 --- a/src/openrct2/ride/TrackPaint.h +++ b/src/openrct2/ride/TrackPaint.h @@ -9,6 +9,7 @@ #pragma once +#include "../../paint/Boundbox.h" #include "../common.h" #include "../paint/Paint.h" #include "../paint/Supports.h" @@ -283,6 +284,14 @@ extern const uint8_t mapLeftEighthTurnToOrthogonal[5]; extern const size_t MiniGolfPeepAnimationLengths[]; +struct SpriteBoundBox2 +{ + ImageIndex ImageIdA; + ImageIndex ImageIdB; + CoordsXYZ offset; + ::BoundBoxXYZ BoundBox; +}; + bool TrackPaintUtilHasFence( enum edge_t edge, const CoordsXY& position, const TrackElement& trackElement, const Ride& ride, uint8_t rotation); void TrackPaintUtilPaintFloor( diff --git a/src/openrct2/ride/coaster/WoodenRollerCoaster.h b/src/openrct2/ride/coaster/WoodenRollerCoaster.h index 9d8b16fb35..9ea50eecb0 100644 --- a/src/openrct2/ride/coaster/WoodenRollerCoaster.h +++ b/src/openrct2/ride/coaster/WoodenRollerCoaster.h @@ -17,14 +17,6 @@ #include -struct SpriteBoundBox2 -{ - ImageIndex ImageIdA; - ImageIndex ImageIdB; - CoordsXYZ offset; - ::BoundBoxXYZ BoundBox; -}; - // Magic number 4 refers to the number of track blocks in a diagonal track element static constexpr const int8_t WoodenRCDiagonalSupports[4][NumOrthogonalDirections] = { { -1, -1, -1, -1 }, // sequence 0