forked from rosebudai/OpenRCT2-Web
Remove a bunch of Util.h includes
This commit is contained in:
1 parent
43be4d1d92
commit
d2e01dde4e
32 files changed
+9
-25
No files matched your search
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <openrct2/ride/RideTypes.h>
|
||||
#include <openrct2/ride/Track.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "network/network.h"
|
||||
#include "ride/Ride.h"
|
||||
#include "scenario/Scenario.h"
|
||||
#include "util/Util.h"
|
||||
#include "world/Climate.h"
|
||||
#include "world/Footpath.h"
|
||||
#include "world/Map.h"
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include "object/ObjectLimits.h"
|
||||
#include "object/ObjectManager.h"
|
||||
#include "object/ObjectRepository.h"
|
||||
#include "util/Util.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
||||
@@ -74,7 +74,6 @@
|
||||
#include "scripting/ScriptEngine.h"
|
||||
#include "ui/UiContext.h"
|
||||
#include "ui/WindowManager.h"
|
||||
#include "util/Util.h"
|
||||
#include "world/Park.h"
|
||||
|
||||
#include <chrono>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "../Context.h"
|
||||
#include "../Diagnostic.h"
|
||||
#include "../management/Finance.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Banner.h"
|
||||
#include "../world/tile_element/BannerElement.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "NetworkModifyGroupAction.h"
|
||||
|
||||
#include "../network/network.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include "../entity/EntityRegistry.h"
|
||||
#include "../entity/Peep.h"
|
||||
#include "../network/network.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "../interface/Window.h"
|
||||
#include "../management/Finance.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Park.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "../ride/Track.h"
|
||||
#include "../ride/TrackData.h"
|
||||
#include "../ride/TrackDesign.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Footpath.h"
|
||||
#include "../world/MapAnimation.h"
|
||||
#include "../world/tile_element/SurfaceElement.h"
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "../paint/Paint.h"
|
||||
#include "../profiling/Profiling.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/tile_element/TrackElement.h"
|
||||
#include "EntityRegistry.h"
|
||||
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
#include "../localisation/StringIdType.h"
|
||||
#include "../ride/RideTypes.h"
|
||||
#include "../ride/Station.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
|
||||
constexpr uint8_t kPeepMinEnergy = 32;
|
||||
constexpr uint8_t kPeepMaxEnergy = 128;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Map.h"
|
||||
#include "Peep.h"
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "../profiling/Profiling.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../ride/Vehicle.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
# include "../localisation/Localisation.Date.h"
|
||||
# include "../management/Finance.h"
|
||||
# include "../platform/Platform.h"
|
||||
# include "../util/Util.h"
|
||||
# include "../world/Map.h"
|
||||
# include "../world/Park.h"
|
||||
# include "Socket.h"
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "../core/JsonFwd.hpp"
|
||||
#include "../core/StringTypes.h"
|
||||
#include "../drawing/ImageIndexType.h"
|
||||
#include "../util/Util.h"
|
||||
#include "ImageTable.h"
|
||||
#include "ObjectAsset.h"
|
||||
#include "ObjectTypes.h"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "../core/String.hpp"
|
||||
#include "../localisation/LocalisationService.h"
|
||||
#include "../rct12/CSStringConverter.h"
|
||||
#include "../util/Util.h"
|
||||
#include "Object.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../core/Money.hpp"
|
||||
#include "Object.h"
|
||||
|
||||
struct CoordsXY;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "../ride/Station.h"
|
||||
#include "../ride/Track.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Entrance.h"
|
||||
#include "../world/Footpath.h"
|
||||
#include "../world/tile_element/BannerElement.h"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../entity/Peep.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
#include <span>
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
# include "../park/ParkFile.h"
|
||||
# include "../scenario/Scenario.h"
|
||||
# include "../util/SawyerCoding.h"
|
||||
# include "../util/Util.h"
|
||||
# include "Platform.h"
|
||||
|
||||
# define WSZ(x) L"" x
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
# include "../core/Memory.hpp"
|
||||
# include "../core/Path.hpp"
|
||||
# include "../core/String.hpp"
|
||||
# include "../util/Util.h"
|
||||
|
||||
# include <cerrno>
|
||||
# include <clocale>
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "../audio/audio.h"
|
||||
#include "../entity/EntityList.h"
|
||||
#include "../rct12/RCT12.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/tile_element/TileElement.h"
|
||||
#include "../world/tile_element/TrackElement.h"
|
||||
#include "Ride.h"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "../network/network.h"
|
||||
#include "../ui/UiContext.h"
|
||||
#include "../ui/WindowManager.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Banner.h"
|
||||
#include "../world/Climate.h"
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
|
||||
#include "../core/Money.hpp"
|
||||
#include "../entity/Litter.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
struct Ride;
|
||||
|
||||
enum class PeepThoughtType : uint8_t;
|
||||
|
||||
enum class ShopItem : uint8_t
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include "../rct1/RCT1.h"
|
||||
#include "../ride/RideColour.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Footpath.h"
|
||||
#include "../world/Map.h"
|
||||
#include "../world/MapAnimation.h"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "TrackData.h"
|
||||
|
||||
#include "../localisation/StringIds.h"
|
||||
#include "../util/Util.h"
|
||||
#include "Track.h"
|
||||
#include "TrackPaint.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "../localisation/LocalisationService.h"
|
||||
#include "../object/ObjectRepository.h"
|
||||
#include "../ride/RideData.h"
|
||||
#include "../util/Util.h"
|
||||
#include "TrackDesign.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "../object/ObjectManager.h"
|
||||
#include "../rct2/RCT2.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Footpath.h"
|
||||
#include "../world/Scenery.h"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../util/Util.h"
|
||||
#include "Track.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../util/Util.h"
|
||||
#include <cstdint>
|
||||
|
||||
enum class ClimateType : uint8_t
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include "../ride/RideData.h"
|
||||
#include "../ride/Track.h"
|
||||
#include "../ride/TrackData.h"
|
||||
#include "../util/Util.h"
|
||||
#include "Location.hpp"
|
||||
#include "Map.h"
|
||||
#include "MapAnimation.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "../object/TerrainEdgeObject.h"
|
||||
#include "../object/TerrainSurfaceObject.h"
|
||||
#include "../platform/Platform.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/tile_element/Slope.h"
|
||||
#include "../world/tile_element/SmallSceneryElement.h"
|
||||
#include "../world/tile_element/SurfaceElement.h"
|
||||
|
||||
Reference in new issue
Block a user