From eded6e2129de1c386d423317e78d9c23fcee09d3 Mon Sep 17 00:00:00 2001 From: Duncan Date: Fri, 10 May 2024 10:37:01 +0100 Subject: [PATCH] Readd algorithm header where it is used (#22000) --- src/openrct2/actions/LandSmoothAction.cpp | 2 ++ src/openrct2/object/ObjectManager.cpp | 1 + src/openrct2/paint/Paint.cpp | 1 + src/openrct2/ride/RideAudio.cpp | 1 + src/openrct2/scenes/title/TitleSequenceManager.cpp | 1 + src/openrct2/world/MapHelpers.cpp | 2 ++ 6 files changed, 8 insertions(+) diff --git a/src/openrct2/actions/LandSmoothAction.cpp b/src/openrct2/actions/LandSmoothAction.cpp index 581eac460a..0837b23434 100644 --- a/src/openrct2/actions/LandSmoothAction.cpp +++ b/src/openrct2/actions/LandSmoothAction.cpp @@ -26,6 +26,8 @@ #include "../world/Surface.h" #include "../world/SurfaceData.h" +#include + LandSmoothAction::LandSmoothAction(const CoordsXY& coords, MapRange range, uint8_t selectionType, bool isLowering) : _coords(coords) , _range(range) diff --git a/src/openrct2/object/ObjectManager.cpp b/src/openrct2/object/ObjectManager.cpp index d7b4d35287..9c0157798a 100644 --- a/src/openrct2/object/ObjectManager.cpp +++ b/src/openrct2/object/ObjectManager.cpp @@ -30,6 +30,7 @@ #include "SmallSceneryObject.h" #include "WallObject.h" +#include #include #include #include diff --git a/src/openrct2/paint/Paint.cpp b/src/openrct2/paint/Paint.cpp index 9aa72628c1..2229a88f7f 100644 --- a/src/openrct2/paint/Paint.cpp +++ b/src/openrct2/paint/Paint.cpp @@ -26,6 +26,7 @@ #include "Paint.Entity.h" #include "tile_element/Paint.TileElement.h" +#include #include using namespace OpenRCT2; diff --git a/src/openrct2/ride/RideAudio.cpp b/src/openrct2/ride/RideAudio.cpp index 1ee1711c0b..62c48faad3 100644 --- a/src/openrct2/ride/RideAudio.cpp +++ b/src/openrct2/ride/RideAudio.cpp @@ -23,6 +23,7 @@ #include "Ride.h" #include "RideData.h" +#include #include using namespace OpenRCT2; diff --git a/src/openrct2/scenes/title/TitleSequenceManager.cpp b/src/openrct2/scenes/title/TitleSequenceManager.cpp index f4ff56ffb6..ccbd9131e9 100644 --- a/src/openrct2/scenes/title/TitleSequenceManager.cpp +++ b/src/openrct2/scenes/title/TitleSequenceManager.cpp @@ -22,6 +22,7 @@ #include "../../platform/Platform.h" #include "TitleSequence.h" +#include #include #include diff --git a/src/openrct2/world/MapHelpers.cpp b/src/openrct2/world/MapHelpers.cpp index ebe9fedc2f..60ced0ec8d 100644 --- a/src/openrct2/world/MapHelpers.cpp +++ b/src/openrct2/world/MapHelpers.cpp @@ -12,6 +12,8 @@ #include "Map.h" #include "Surface.h" +#include + static uint8_t GetBaseHeightOrZero(int32_t x, int32_t y) { auto surfaceElement = MapGetSurfaceElementAt(TileCoordsXY{ x, y });