1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Move wall declarations into wall.h

This commit is contained in:
duncanspumpkin
2024-10-03 21:15:12 +01:00
committed by Gymnasiast
parent 6283993351
commit 1cdcbba655
11 changed files with 14 additions and 4 deletions

View File

@@ -29,6 +29,7 @@
#include "../world/Scenery.h"
#include "../world/Surface.h"
#include "../world/TileElementsView.h"
#include "../world/Wall.h"
#include "../world/tile_element/EntranceElement.h"
#include "../world/tile_element/Slope.h"

View File

@@ -23,6 +23,7 @@
#include "../world/Scenery.h"
#include "../world/Surface.h"
#include "../world/TileElementsView.h"
#include "../world/Wall.h"
#include "../world/tile_element/Slope.h"
using namespace OpenRCT2;

View File

@@ -23,6 +23,7 @@
#include "../world/MapAnimation.h"
#include "../world/QuarterTile.h"
#include "../world/Surface.h"
#include "../world/Wall.h"
#include "../world/tile_element/Slope.h"
using namespace OpenRCT2;

View File

@@ -15,6 +15,7 @@
#include "../ride/RideData.h"
#include "../ride/TrackData.h"
#include "../world/ConstructionClearance.h"
#include "../world/Wall.h"
using namespace OpenRCT2;

View File

@@ -23,6 +23,7 @@
#include "../world/ConstructionClearance.h"
#include "../world/Footpath.h"
#include "../world/Park.h"
#include "../world/Wall.h"
using namespace OpenRCT2;

View File

@@ -17,6 +17,7 @@
#include "../ride/Station.h"
#include "../world/ConstructionClearance.h"
#include "../world/MapAnimation.h"
#include "../world/Wall.h"
#include "../world/tile_element/EntranceElement.h"
using namespace OpenRCT2;

View File

@@ -28,6 +28,7 @@
#include "../world/Scenery.h"
#include "../world/Surface.h"
#include "../world/TileElement.h"
#include "../world/Wall.h"
#include "../world/tile_element/Slope.h"
#include "GameAction.h"
#include "SmallSceneryRemoveAction.h"

View File

@@ -22,6 +22,7 @@
#include "../world/MapAnimation.h"
#include "../world/QuarterTile.h"
#include "../world/Surface.h"
#include "../world/Wall.h"
#include "../world/tile_element/Slope.h"
#include "RideSetSettingAction.h"

View File

@@ -16,6 +16,7 @@
#include "../world/ConstructionClearance.h"
#include "../world/Park.h"
#include "../world/Surface.h"
#include "../world/Wall.h"
using namespace OpenRCT2;

View File

@@ -200,9 +200,6 @@ void MapExtendBoundarySurfaceX();
void MapExtendBoundarySurfaceY();
bool MapLargeScenerySignSetColour(const CoordsXYZD& signPos, int32_t sequence, uint8_t mainColour, uint8_t textColour);
void WallRemoveAt(const CoordsXYRangedZ& wallPos);
void WallRemoveAtZ(const CoordsXYZ& wallPos);
void WallRemoveIntersectingWalls(const CoordsXYRangedZ& wallPos, Direction direction);
void MapInvalidateTile(const CoordsXYRangedZ& tilePos);
void MapInvalidateTileZoom1(const CoordsXYRangedZ& tilePos);

View File

@@ -9,7 +9,7 @@
#pragma once
#include "TileElement.h"
#include "Location.hpp"
enum EDGE_SLOPE
{
@@ -21,4 +21,8 @@ enum EDGE_SLOPE
EDGE_SLOPE_DOWNWARDS_ELEVATED = EDGE_SLOPE_DOWNWARDS | EDGE_SLOPE_ELEVATED,
};
void WallRemoveAt(const CoordsXYRangedZ& wallPos);
void WallRemoveAtZ(const CoordsXYZ& wallPos);
void WallRemoveIntersectingWalls(const CoordsXYRangedZ& wallPos, Direction direction);
uint8_t GetWallSlopeFromEdgeSlope(uint8_t Slope, uint8_t Edge);