1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Readd algorithm header where it is used (#22000)

This commit is contained in:
Duncan
2024-05-10 10:37:01 +01:00
committed by GitHub
parent 2884e095c9
commit eded6e2129
6 changed files with 8 additions and 0 deletions

View File

@@ -26,6 +26,8 @@
#include "../world/Surface.h" #include "../world/Surface.h"
#include "../world/SurfaceData.h" #include "../world/SurfaceData.h"
#include <algorithm>
LandSmoothAction::LandSmoothAction(const CoordsXY& coords, MapRange range, uint8_t selectionType, bool isLowering) LandSmoothAction::LandSmoothAction(const CoordsXY& coords, MapRange range, uint8_t selectionType, bool isLowering)
: _coords(coords) : _coords(coords)
, _range(range) , _range(range)

View File

@@ -30,6 +30,7 @@
#include "SmallSceneryObject.h" #include "SmallSceneryObject.h"
#include "WallObject.h" #include "WallObject.h"
#include <algorithm>
#include <array> #include <array>
#include <memory> #include <memory>
#include <mutex> #include <mutex>

View File

@@ -26,6 +26,7 @@
#include "Paint.Entity.h" #include "Paint.Entity.h"
#include "tile_element/Paint.TileElement.h" #include "tile_element/Paint.TileElement.h"
#include <algorithm>
#include <array> #include <array>
using namespace OpenRCT2; using namespace OpenRCT2;

View File

@@ -23,6 +23,7 @@
#include "Ride.h" #include "Ride.h"
#include "RideData.h" #include "RideData.h"
#include <algorithm>
#include <vector> #include <vector>
using namespace OpenRCT2; using namespace OpenRCT2;

View File

@@ -22,6 +22,7 @@
#include "../../platform/Platform.h" #include "../../platform/Platform.h"
#include "TitleSequence.h" #include "TitleSequence.h"
#include <algorithm>
#include <iterator> #include <iterator>
#include <vector> #include <vector>

View File

@@ -12,6 +12,8 @@
#include "Map.h" #include "Map.h"
#include "Surface.h" #include "Surface.h"
#include <algorithm>
static uint8_t GetBaseHeightOrZero(int32_t x, int32_t y) static uint8_t GetBaseHeightOrZero(int32_t x, int32_t y)
{ {
auto surfaceElement = MapGetSurfaceElementAt(TileCoordsXY{ x, y }); auto surfaceElement = MapGetSurfaceElementAt(TileCoordsXY{ x, y });