1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +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/SurfaceData.h"
#include <algorithm>
LandSmoothAction::LandSmoothAction(const CoordsXY& coords, MapRange range, uint8_t selectionType, bool isLowering)
: _coords(coords)
, _range(range)

View File

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

View File

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

View File

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

View File

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

View File

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