Fix includes

This commit is contained in:
ζeh Matt committed 2021-11-24 17:19:52 +02:00
1 parent 03fb9b390f
commit 0024252328
31 files changed
+40 -40

No files matched your search

@@ -17,6 +17,7 @@
#include <openrct2/Input.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/config/Config.h>
#include <openrct2/entity/Entity.h>
#include <openrct2/localisation/Date.h>
#include <openrct2/localisation/Localisation.h>
#include <openrct2/management/Finance.h>
@@ -25,7 +26,6 @@
#include <openrct2/peep/Staff.h>
#include <openrct2/sprites.h>
#include <openrct2/world/Climate.h>
#include <openrct2/world/Entity.h>
#include <openrct2/world/Park.h>
// clang-format off
+1 -1
View File
@@ -15,6 +15,7 @@
#include <openrct2/Game.h>
#include <openrct2/config/Config.h>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/entity/EntityRegistry.h>
#include <openrct2/localisation/Localisation.h>
#include <openrct2/peep/Guest.h>
#include <openrct2/ride/RideData.h>
@@ -23,7 +24,6 @@
#include <openrct2/util/Math.hpp>
#include <openrct2/util/Util.h>
#include <openrct2/world/Park.h>
#include <openrct2/world/Sprite.h>
#include <vector>
static constexpr const rct_string_id WINDOW_TITLE = STR_GUESTS;
+2 -2
View File
@@ -24,17 +24,17 @@
#include <openrct2/actions/PlacePeepSpawnAction.h>
#include <openrct2/actions/SurfaceSetStyleAction.h>
#include <openrct2/audio/audio.h>
#include <openrct2/entity/EntityList.h>
#include <openrct2/entity/EntityRegistry.h>
#include <openrct2/localisation/Localisation.h>
#include <openrct2/peep/Staff.h>
#include <openrct2/ride/RideData.h>
#include <openrct2/ride/Track.h>
#include <openrct2/ride/TrainManager.h>
#include <openrct2/ride/Vehicle.h>
#include <openrct2/world/EntityList.h>
#include <openrct2/world/Entrance.h>
#include <openrct2/world/Footpath.h>
#include <openrct2/world/Scenery.h>
#include <openrct2/world/Sprite.h>
#include <openrct2/world/Surface.h>
#include <vector>
+1 -1
View File
@@ -31,6 +31,7 @@
#include <openrct2/audio/audio.h>
#include <openrct2/config/Config.h>
#include <openrct2/core/String.hpp>
#include <openrct2/entity/EntityList.h>
#include <openrct2/localisation/Date.h>
#include <openrct2/localisation/Localisation.h>
#include <openrct2/localisation/LocalisationService.h>
@@ -53,7 +54,6 @@
#include <openrct2/ride/Vehicle.h>
#include <openrct2/sprites.h>
#include <openrct2/windows/Intent.h>
#include <openrct2/world/EntityList.h>
#include <openrct2/world/Park.h>
#include <optional>
#include <vector>
+2 -2
View File
@@ -39,6 +39,8 @@
#include "core/String.hpp"
#include "drawing/IDrawingEngine.h"
#include "drawing/LightFX.h"
#include "entity/EntityRegistry.h"
#include "entity/EntityTweener.h"
#include "interface/Chat.h"
#include "interface/InteractiveConsole.h"
#include "interface/Viewport.h"
@@ -65,9 +67,7 @@
#include "ui/UiContext.h"
#include "ui/WindowManager.h"
#include "util/Util.h"
#include "world/EntityTweener.h"
#include "world/Park.h"
#include "world/Sprite.h"
#include <algorithm>
#include <cmath>
+2 -2
View File
@@ -19,6 +19,8 @@
#include "actions/LandBuyRightsAction.h"
#include "actions/LandSetRightsAction.h"
#include "audio/audio.h"
#include "entity/EntityList.h"
#include "entity/EntityRegistry.h"
#include "interface/Viewport.h"
#include "interface/Window_internal.h"
#include "localisation/Localisation.h"
@@ -36,12 +38,10 @@
#include "util/Util.h"
#include "windows/Intent.h"
#include "world/Climate.h"
#include "world/EntityList.h"
#include "world/Entrance.h"
#include "world/Footpath.h"
#include "world/Park.h"
#include "world/Scenery.h"
#include "world/Sprite.h"
#include <algorithm>
#include <array>
+1 -1
View File
@@ -14,6 +14,7 @@
#include "../GameState.h"
#include "../core/MemoryStream.h"
#include "../drawing/Drawing.h"
#include "../entity/EntityList.h"
#include "../interface/Window.h"
#include "../localisation/Localisation.h"
#include "../management/NewsItem.h"
@@ -23,7 +24,6 @@
#include "../ui/UiContext.h"
#include "../ui/WindowManager.h"
#include "../world/Banner.h"
#include "../world/EntityList.h"
#include "../world/Park.h"
#include "MazeSetTrackAction.h"
#include "TrackRemoveAction.h"
+1 -1
View File
@@ -12,9 +12,9 @@
#include "../GameState.h"
#include "../OpenRCT2.h"
#include "../core/Console.hpp"
#include "../entity/EntityRegistry.h"
#include "../network/network.h"
#include "../platform/platform.h"
#include "../world/Sprite.h"
#include "CommandLine.hpp"
#include <cstdlib>
+1 -1
View File
@@ -14,6 +14,7 @@
# include "../Game.h"
# include "../common.h"
# include "../config/Config.h"
# include "../entity/Entity.h"
# include "../interface/Viewport.h"
# include "../interface/Window.h"
# include "../interface/Window_internal.h"
@@ -22,7 +23,6 @@
# include "../ride/Vehicle.h"
# include "../util/Util.h"
# include "../world/Climate.h"
# include "../world/Entity.h"
# include "../world/Map.h"
# include "Drawing.h"
+1 -1
View File
@@ -14,7 +14,7 @@
#include "../network/network.h"
#include "../scenario/Scenario.h"
#include "../util/Util.h"
#include "Sprite.h"
#include "EntityRegistry.h"
template<> bool EntityBase::Is<Balloon>() const
{
+1 -1
View File
@@ -14,7 +14,7 @@
#include "../scenario/Scenario.h"
#include "../sprites.h"
#include "../world/Surface.h"
#include "Sprite.h"
#include "EntityRegistry.h"
#include <algorithm>
#include <iterator>
+1 -1
View File
@@ -12,7 +12,7 @@
#include "../peep/Staff.h"
#include "../ride/Vehicle.h"
#include "EntityList.h"
#include "Sprite.h"
#include "EntityRegistry.h"
#include <cmath>
void EntityTweener::PopulateEntities()
+1 -1
View File
@@ -14,7 +14,7 @@
#include "../world/Footpath.h"
#include "../world/Map.h"
#include "../world/Scenery.h"
#include "Sprite.h"
#include "EntityRegistry.h"
enum class PATTERN
{
+1 -1
View File
@@ -16,7 +16,7 @@
#include "../network/network.h"
#include "../world/Map.h"
#include "Entity.h"
#include "Sprite.h"
#include "EntityRegistry.h"
static constexpr const CoordsXY _moneyEffectMoveOffset[] = {
{ 1, -1 },
+1 -1
View File
@@ -11,7 +11,7 @@
#include "../audio/audio.h"
#include "../paint/sprite/Paint.Sprite.h"
#include "../scenario/Scenario.h"
#include "Sprite.h"
#include "EntityRegistry.h"
#include <iterator>
+2 -2
View File
@@ -1,7 +1,7 @@
#include "Window_internal.h"
#include "../world/Entity.h"
#include "../world/EntityList.h"
#include "../entity/Entity.h"
#include "../entity/EntityList.h"
#include "Viewport.h"
void rct_window::SetLocation(const CoordsXYZ& coords)
+1 -1
View File
@@ -7,8 +7,8 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Litter.h"
#include "../../interface/Viewport.h"
#include "../../world/Litter.h"
#include "../Paint.h"
#include "Paint.Sprite.h"
+5 -5
View File
@@ -8,13 +8,13 @@
*****************************************************************************/
#include "../../drawing/Drawing.h"
#include "../../entity/Balloon.h"
#include "../../entity/Duck.h"
#include "../../entity/Fountain.h"
#include "../../entity/MoneyEffect.h"
#include "../../entity/Particle.h"
#include "../../interface/Viewport.h"
#include "../../localisation/StringIds.h"
#include "../../world/Balloon.h"
#include "../../world/Duck.h"
#include "../../world/Fountain.h"
#include "../../world/MoneyEffect.h"
#include "../../world/Particle.h"
#include "../Paint.h"
#include "Paint.Sprite.h"
+2 -2
View File
@@ -9,8 +9,8 @@
#include "TrainManager.h"
#include "../world/Entity.h"
#include "../world/EntityList.h"
#include "../entity/Entity.h"
#include "../entity/EntityList.h"
#include "Vehicle.h"
namespace TrainManager
+1 -1
View File
@@ -7,10 +7,10 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
+1 -1
View File
@@ -7,10 +7,10 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
+1 -1
View File
@@ -7,10 +7,10 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -7,10 +7,10 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -7,10 +7,10 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
+1 -1
View File
@@ -8,10 +8,10 @@
*****************************************************************************/
#include "../../common.h"
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -7,11 +7,11 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../object/StationObject.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -7,10 +7,10 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
@@ -7,11 +7,11 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../object/StationObject.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -7,11 +7,11 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../object/StationObject.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -8,10 +8,10 @@
*****************************************************************************/
#include "../../common.h"
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"
+1 -1
View File
@@ -8,11 +8,11 @@
*****************************************************************************/
#include "../../config/Config.h"
#include "../../entity/Entity.h"
#include "../../interface/Viewport.h"
#include "../../paint/Paint.h"
#include "../../paint/Supports.h"
#include "../../paint/sprite/Paint.Sprite.h"
#include "../../world/Entity.h"
#include "../Track.h"
#include "../TrackPaint.h"
#include "../Vehicle.h"