1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

play with headers

This commit is contained in:
Spacek531
2023-10-02 22:06:32 -07:00
parent 2b51653759
commit e55eb27c13
2 changed files with 9 additions and 8 deletions

View File

@@ -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(

View File

@@ -17,14 +17,6 @@
#include <cstdint>
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