mirror of https://github.com/OpenRCT2/OpenRCT2.git
Reduce `<algorithm>` include (#21947)
This commit is contained in:
parent
8973e35ba1
commit
7b12667ddb
|
@ -13,7 +13,6 @@
|
|||
#include "interface/InGameConsole.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Window.h>
|
||||
#include <openrct2/common.h>
|
||||
#include <openrct2/core/Memory.hpp>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# include "UiContext.h"
|
||||
|
||||
# include <SDL.h>
|
||||
# include <algorithm>
|
||||
# include <dlfcn.h>
|
||||
# include <openrct2/common.h>
|
||||
# include <openrct2/core/Path.hpp>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
# include <SDL.h>
|
||||
# include <SDL_syswm.h>
|
||||
# include <algorithm>
|
||||
# include <openrct2/common.h>
|
||||
# include <openrct2/core/Path.hpp>
|
||||
# include <openrct2/core/String.hpp>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "title/TitleSequencePlayer.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "BitmapReader.h"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <openrct2/core/Imaging.h>
|
||||
#include <stdexcept>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
# include "TransparencyDepth.h"
|
||||
|
||||
# include <SDL.h>
|
||||
# include <algorithm>
|
||||
# include <cmath>
|
||||
# include <openrct2-ui/interface/Window.h>
|
||||
# include <openrct2/config/Config.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "OpenGLAPI.h"
|
||||
|
||||
#include <SDL_pixels.h>
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <mutex>
|
||||
#include <openrct2/common.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "Theme.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Version.h>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#include "Window.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/PlatformEnvironment.h>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "Viewport.h"
|
||||
#include "Window.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Editor.h>
|
||||
#include <openrct2/Game.h>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "Window.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Input.h>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "openrct2/world/Location.hpp"
|
||||
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Input.h>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
# include "ScViewport.hpp"
|
||||
# include "ScWindow.hpp"
|
||||
|
||||
# include <algorithm>
|
||||
# include <memory>
|
||||
# include <openrct2/Context.h>
|
||||
# include <openrct2/Input.h>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "../interface/Window.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <bitset>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "../interface/Window.h"
|
||||
#include "Window.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/GameState.h>
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "../interface/Window.h"
|
||||
#include "Window.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Editor.h>
|
||||
#include <openrct2/Game.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Graph.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "../interface/Theme.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <ctime>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
#include "../interface/Theme.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "../interface/Theme.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <limits>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "../interface/Theme.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "../ride/Construction.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <deque>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include <SDL.h>
|
||||
#include <SDL_keycode.h>
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "../interface/InGameConsole.h"
|
||||
#include "../scripting/CustomMenu.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/ride/Construction.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Theme.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
#include "localisation/LocalisationService.h"
|
||||
#include "object/Object.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
constexpr std::string_view ManifestFileName = "manifest.json";
|
||||
|
|
|
@ -77,7 +77,6 @@
|
|||
#include "util/Util.h"
|
||||
#include "world/Park.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <exception>
|
||||
#include <future>
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
#include "GameState.h"
|
||||
#include "core/Guard.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
constexpr int32_t kMonthTicksIncrement = 4;
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
#include "world/Park.h"
|
||||
#include "world/Scenery.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@
|
|||
#include "world/Scenery.h"
|
||||
#include "world/Surface.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "world/Park.h"
|
||||
#include "world/Scenery.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include "SmallSceneryRemoveAction.h"
|
||||
#include "WallRemoveAction.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
ClearAction::ClearAction(MapRange range, ClearableItems itemsToClear)
|
||||
: _range(range)
|
||||
, _itemsToClear(itemsToClear)
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "../world/Park.h"
|
||||
#include "../world/Scenery.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "../localisation/Localisation.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace GameActions
|
||||
{
|
||||
Result::Result(GameActions::Status error, StringId title, StringId message, uint8_t* args /*= nullptr*/)
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
#include "../scenario/Scenario.h"
|
||||
#include "../world/Park.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
RideCreateAction::RideCreateAction(
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#include "../util/Util.h"
|
||||
#include "../world/Park.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
void ScenarioSetSettingAction::Serialise(DataSerialiser& stream)
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "AudioContext.h"
|
||||
#include "AudioMixer.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "../core/String.hpp"
|
||||
#include "../platform/Platform.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
#pragma region CommandLineArgEnumerator
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
template<class ForwardIt, class T, class Compare = std::less<>>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
*****************************************************************************/
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "Crypt.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "Path.hpp"
|
||||
#include "String.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <string_view>
|
||||
|
||||
#ifndef _WIN32
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstdio>
|
||||
#include <stdexcept>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "Memory.hpp"
|
||||
#include "String.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
#include <png.h>
|
||||
#include <stdexcept>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "JobPool.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
JobPool::TaskData::TaskData(std::function<void()> workFn, std::function<void()> completionFn)
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "Memory.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
namespace OpenRCT2
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#include "Identifier.hpp"
|
||||
#include "MemoryStream.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "Memory.hpp"
|
||||
#include "String.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
namespace Path
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <cwctype>
|
||||
#include <iomanip>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "String.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
StringBuilder::StringBuilder(size_t capacity)
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "IStream.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#ifndef __ANDROID__
|
||||
# include <zip.h>
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "Drawing.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
template<DrawBlendOp TBlendOp, size_t TZoom>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "../util/Util.h"
|
||||
#include "ScrollingText.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#include "../sprites.h"
|
||||
#include "TTF.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
static int32_t TTFGetStringWidth(std::string_view text, FontStyle fontStyle, bool noFormatting);
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include "../world/Map.h"
|
||||
#include "Drawing.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "Drawing.h"
|
||||
#include "TTF.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <mutex>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
|
@ -35,7 +35,6 @@ misrepresented as being the original software.
|
|||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
# include <algorithm>
|
||||
# include <cmath>
|
||||
# include <cstring>
|
||||
# include <stdio.h>
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "LightFX.h"
|
||||
#include "Weather.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "../world/Surface.h"
|
||||
#include "EntityRegistry.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "MoneyEffect.h"
|
||||
#include "Particle.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iterator>
|
||||
#include <numeric>
|
||||
|
|
|
@ -61,7 +61,6 @@
|
|||
#include "Peep.h"
|
||||
#include "Staff.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
#include "PatrolArea.h"
|
||||
#include "Staff.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <map>
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "../util/Util.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <optional>
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#include "PatrolArea.h"
|
||||
#include "Peep.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#include "../util/Util.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "../drawing/Drawing.h"
|
||||
#include "../sprites.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
ColourShadeMap ColourMapA[COLOUR_COUNT] = {};
|
||||
|
|
|
@ -64,7 +64,6 @@
|
|||
#include "../world/Scenery.h"
|
||||
#include "Viewport.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cmath>
|
||||
#include <cstdarg>
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "../world/Surface.h"
|
||||
#include "Viewport.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <chrono>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include "Window.h"
|
||||
#include "Window_internal.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <list>
|
||||
#include <unordered_map>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "Widget.h"
|
||||
#include "Window_internal.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "ConversionTables.h"
|
||||
#include "Language.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <stdexcept>
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "Localisation.h"
|
||||
#include "LocalisationService.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "Formatting.h"
|
||||
#include "Localisation.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include "../world/Park.h"
|
||||
#include "NewsItem.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
constexpr uint8_t NEGATIVE = 0;
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include "Finance.h"
|
||||
#include "NewsItem.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue