1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

revert some changes

This commit is contained in:
Spacek531
2023-10-04 22:26:23 -07:00
parent 87f246ed36
commit 1a2cd1d186
2 changed files with 8 additions and 9 deletions

View File

@@ -10,7 +10,6 @@
#pragma once
#include "../common.h"
#include "../paint/Boundbox.h"
#include "../paint/Paint.h"
#include "../paint/Supports.h"
#include "../paint/tile_element/Paint.TileElement.h"
@@ -284,14 +283,6 @@ 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,6 +17,14 @@
#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