From e55eb27c13ef5e75ae727ba235c981f7c22826da Mon Sep 17 00:00:00 2001 From: Spacek531 Date: Mon, 2 Oct 2023 22:06:32 -0700 Subject: [PATCH] play with headers --- src/openrct2/ride/TrackPaint.h | 9 +++++++++ src/openrct2/ride/coaster/WoodenRollerCoaster.h | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) 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