diff --git a/src/openrct2-ui/windows/GameBottomToolbar.cpp b/src/openrct2-ui/windows/GameBottomToolbar.cpp index 5f428a2b9c..60e5a3abde 100644 --- a/src/openrct2-ui/windows/GameBottomToolbar.cpp +++ b/src/openrct2-ui/windows/GameBottomToolbar.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/openrct2-ui/windows/News.cpp b/src/openrct2-ui/windows/News.cpp index 782031ca3a..bfe1c2818d 100644 --- a/src/openrct2-ui/windows/News.cpp +++ b/src/openrct2-ui/windows/News.cpp @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/openrct2-ui/windows/Staff.cpp b/src/openrct2-ui/windows/Staff.cpp index 8b5af37dac..3e7cc2e8f1 100644 --- a/src/openrct2-ui/windows/Staff.cpp +++ b/src/openrct2-ui/windows/Staff.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/openrct2-ui/windows/StaffFirePrompt.cpp b/src/openrct2-ui/windows/StaffFirePrompt.cpp index e43d6882df..2fccba9a71 100644 --- a/src/openrct2-ui/windows/StaffFirePrompt.cpp +++ b/src/openrct2-ui/windows/StaffFirePrompt.cpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/openrct2-ui/windows/TitleCommandEditor.cpp b/src/openrct2-ui/windows/TitleCommandEditor.cpp index b52ab1f1fc..4a345b53f7 100644 --- a/src/openrct2-ui/windows/TitleCommandEditor.cpp +++ b/src/openrct2-ui/windows/TitleCommandEditor.cpp @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/src/openrct2/actions/BalloonPressAction.cpp b/src/openrct2/actions/BalloonPressAction.cpp index 6488ed6efc..13e9c82215 100644 --- a/src/openrct2/actions/BalloonPressAction.cpp +++ b/src/openrct2/actions/BalloonPressAction.cpp @@ -10,7 +10,7 @@ #include "BalloonPressAction.h" #include "../entity/Balloon.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "GameAction.h" BalloonPressAction::BalloonPressAction(uint16_t spriteIndex) diff --git a/src/openrct2/actions/GuestSetFlagsAction.cpp b/src/openrct2/actions/GuestSetFlagsAction.cpp index 4132e9b5ab..d3fd1747a3 100644 --- a/src/openrct2/actions/GuestSetFlagsAction.cpp +++ b/src/openrct2/actions/GuestSetFlagsAction.cpp @@ -11,7 +11,7 @@ #include "../Context.h" #include "../OpenRCT2.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" GuestSetFlagsAction::GuestSetFlagsAction(uint16_t peepId, uint32_t flags) : _peepId(peepId) diff --git a/src/openrct2/actions/GuestSetNameAction.cpp b/src/openrct2/actions/GuestSetNameAction.cpp index 559382f86b..2dfdf1ea5d 100644 --- a/src/openrct2/actions/GuestSetNameAction.cpp +++ b/src/openrct2/actions/GuestSetNameAction.cpp @@ -13,7 +13,7 @@ #include "../Context.h" #include "../core/MemoryStream.h" #include "../drawing/Drawing.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../interface/Window.h" #include "../localisation/Localisation.h" #include "../localisation/StringIds.h" diff --git a/src/openrct2/actions/PeepPickupAction.cpp b/src/openrct2/actions/PeepPickupAction.cpp index 8d1549cabd..27f134b530 100644 --- a/src/openrct2/actions/PeepPickupAction.cpp +++ b/src/openrct2/actions/PeepPickupAction.cpp @@ -10,7 +10,7 @@ #include "PeepPickupAction.h" #include "../Input.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../entity/Peep.h" #include "../network/network.h" #include "../util/Util.h" diff --git a/src/openrct2/actions/StaffFireAction.cpp b/src/openrct2/actions/StaffFireAction.cpp index c3f14155fe..b53436fbba 100644 --- a/src/openrct2/actions/StaffFireAction.cpp +++ b/src/openrct2/actions/StaffFireAction.cpp @@ -9,7 +9,7 @@ #include "StaffFireAction.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../entity/Staff.h" #include "../interface/Window.h" diff --git a/src/openrct2/actions/StaffSetCostumeAction.cpp b/src/openrct2/actions/StaffSetCostumeAction.cpp index c53f8f30a6..294339695c 100644 --- a/src/openrct2/actions/StaffSetCostumeAction.cpp +++ b/src/openrct2/actions/StaffSetCostumeAction.cpp @@ -10,7 +10,7 @@ #include "StaffSetCostumeAction.h" #include "../Context.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../interface/Window.h" #include "../localisation/Localisation.h" #include "../localisation/StringIds.h" diff --git a/src/openrct2/actions/StaffSetNameAction.cpp b/src/openrct2/actions/StaffSetNameAction.cpp index d86e8a9689..33e21ad200 100644 --- a/src/openrct2/actions/StaffSetNameAction.cpp +++ b/src/openrct2/actions/StaffSetNameAction.cpp @@ -13,7 +13,7 @@ #include "../Context.h" #include "../core/MemoryStream.h" #include "../drawing/Drawing.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../entity/Staff.h" #include "../interface/Window.h" #include "../localisation/Localisation.h" diff --git a/src/openrct2/actions/StaffSetOrdersAction.cpp b/src/openrct2/actions/StaffSetOrdersAction.cpp index 1e73b6755c..8070041c77 100644 --- a/src/openrct2/actions/StaffSetOrdersAction.cpp +++ b/src/openrct2/actions/StaffSetOrdersAction.cpp @@ -10,7 +10,7 @@ #include "StaffSetOrdersAction.h" #include "../Context.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../entity/Staff.h" #include "../interface/Window.h" #include "../localisation/Localisation.h" diff --git a/src/openrct2/actions/StaffSetPatrolAreaAction.cpp b/src/openrct2/actions/StaffSetPatrolAreaAction.cpp index 303b07c2ec..c95503da85 100644 --- a/src/openrct2/actions/StaffSetPatrolAreaAction.cpp +++ b/src/openrct2/actions/StaffSetPatrolAreaAction.cpp @@ -9,7 +9,7 @@ #include "StaffSetPatrolAreaAction.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../entity/Peep.h" #include "../entity/Staff.h" #include "../interface/Window.h" diff --git a/src/openrct2/drawing/LightFX.cpp b/src/openrct2/drawing/LightFX.cpp index 5b19babe33..59c2ae181d 100644 --- a/src/openrct2/drawing/LightFX.cpp +++ b/src/openrct2/drawing/LightFX.cpp @@ -14,7 +14,7 @@ # include "../Game.h" # include "../common.h" # include "../config/Config.h" -# include "../entity/Entity.h" +# include "../entity/EntityRegistry.h" # include "../interface/Viewport.h" # include "../interface/Window.h" # include "../interface/Window_internal.h" diff --git a/src/openrct2/entity/EntityList.h b/src/openrct2/entity/EntityList.h index f604398bed..a9699c8b94 100644 --- a/src/openrct2/entity/EntityList.h +++ b/src/openrct2/entity/EntityList.h @@ -12,8 +12,8 @@ #include "../common.h" #include "../rct12/RCT12.h" #include "../world/Location.hpp" -#include "Entity.h" #include "EntityBase.h" +#include "EntityRegistry.h" #include #include diff --git a/src/openrct2/entity/MoneyEffect.cpp b/src/openrct2/entity/MoneyEffect.cpp index 3eef69df90..10ffcfe4c3 100644 --- a/src/openrct2/entity/MoneyEffect.cpp +++ b/src/openrct2/entity/MoneyEffect.cpp @@ -16,7 +16,6 @@ #include "../localisation/Localisation.h" #include "../network/network.h" #include "../world/Map.h" -#include "Entity.h" #include "EntityRegistry.h" static constexpr const CoordsXY _moneyEffectMoveOffset[] = { diff --git a/src/openrct2/interface/Window_internal.cpp b/src/openrct2/interface/Window_internal.cpp index c5ff819125..4888d80226 100644 --- a/src/openrct2/interface/Window_internal.cpp +++ b/src/openrct2/interface/Window_internal.cpp @@ -1,7 +1,7 @@ #include "Window_internal.h" -#include "../entity/Entity.h" #include "../entity/EntityList.h" +#include "../entity/EntityRegistry.h" #include "Viewport.h" void rct_window::SetLocation(const CoordsXYZ& coords) diff --git a/src/openrct2/management/NewsItem.cpp b/src/openrct2/management/NewsItem.cpp index 89caf98505..3320d796ad 100644 --- a/src/openrct2/management/NewsItem.cpp +++ b/src/openrct2/management/NewsItem.cpp @@ -13,7 +13,7 @@ #include "../Input.h" #include "../OpenRCT2.h" #include "../audio/audio.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../entity/Peep.h" #include "../interface/Window.h" #include "../interface/Window_internal.h" diff --git a/src/openrct2/paint/tile_element/Paint.Path.cpp b/src/openrct2/paint/tile_element/Paint.Path.cpp index 4244ef9ded..de6353b834 100644 --- a/src/openrct2/paint/tile_element/Paint.Path.cpp +++ b/src/openrct2/paint/tile_element/Paint.Path.cpp @@ -12,7 +12,7 @@ #include "../../config/Config.h" #include "../../core/Numerics.hpp" #include "../../drawing/LightFX.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../entity/Peep.h" #include "../../entity/Staff.h" #include "../../interface/Viewport.h" diff --git a/src/openrct2/paint/tile_element/Paint.Surface.cpp b/src/openrct2/paint/tile_element/Paint.Surface.cpp index 6391e06643..4dcc0f2b50 100644 --- a/src/openrct2/paint/tile_element/Paint.Surface.cpp +++ b/src/openrct2/paint/tile_element/Paint.Surface.cpp @@ -16,7 +16,7 @@ #include "../../core/Guard.hpp" #include "../../core/Numerics.hpp" #include "../../drawing/Drawing.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../entity/Peep.h" #include "../../entity/Staff.h" #include "../../interface/Colour.h" diff --git a/src/openrct2/ride/RideConstruction.cpp b/src/openrct2/ride/RideConstruction.cpp index df1bde8e3a..7416f7cd4e 100644 --- a/src/openrct2/ride/RideConstruction.cpp +++ b/src/openrct2/ride/RideConstruction.cpp @@ -15,7 +15,6 @@ #include "../actions/RideSetVehicleAction.h" #include "../actions/TrackRemoveAction.h" #include "../common.h" -#include "../entity/Entity.h" #include "../entity/EntityList.h" #include "../entity/EntityRegistry.h" #include "../entity/Staff.h" diff --git a/src/openrct2/ride/TrainManager.cpp b/src/openrct2/ride/TrainManager.cpp index 6d12824ace..d87365cf85 100644 --- a/src/openrct2/ride/TrainManager.cpp +++ b/src/openrct2/ride/TrainManager.cpp @@ -9,8 +9,8 @@ #include "TrainManager.h" -#include "../entity/Entity.h" #include "../entity/EntityList.h" +#include "../entity/EntityRegistry.h" #include "Vehicle.h" namespace TrainManager diff --git a/src/openrct2/ride/VehiclePaint.cpp b/src/openrct2/ride/VehiclePaint.cpp index 30715bb3a3..6d9e440e1c 100644 --- a/src/openrct2/ride/VehiclePaint.cpp +++ b/src/openrct2/ride/VehiclePaint.cpp @@ -12,7 +12,7 @@ #include "../Game.h" #include "../drawing/Drawing.h" #include "../drawing/LightFX.h" -#include "../entity/Entity.h" +#include "../entity/EntityRegistry.h" #include "../interface/Viewport.h" #include "../paint/Paint.h" #include "../paint/sprite/Paint.Sprite.h" diff --git a/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp b/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp index f434207be5..5d2c6b62df 100644 --- a/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "../../drawing/Drawing.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/gentle/Circus.cpp b/src/openrct2/ride/gentle/Circus.cpp index 7512139adc..39b548c5d5 100644 --- a/src/openrct2/ride/gentle/Circus.cpp +++ b/src/openrct2/ride/gentle/Circus.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/gentle/CrookedHouse.cpp b/src/openrct2/ride/gentle/CrookedHouse.cpp index 1c2b6ab2bf..ebe9a72f94 100644 --- a/src/openrct2/ride/gentle/CrookedHouse.cpp +++ b/src/openrct2/ride/gentle/CrookedHouse.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/gentle/FerrisWheel.cpp b/src/openrct2/ride/gentle/FerrisWheel.cpp index 2cd8647e05..0e02c34ed6 100644 --- a/src/openrct2/ride/gentle/FerrisWheel.cpp +++ b/src/openrct2/ride/gentle/FerrisWheel.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../entity/Guest.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/gentle/HauntedHouse.cpp b/src/openrct2/ride/gentle/HauntedHouse.cpp index e4f3f32b91..1fa9a730ba 100644 --- a/src/openrct2/ride/gentle/HauntedHouse.cpp +++ b/src/openrct2/ride/gentle/HauntedHouse.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/gentle/MerryGoRound.cpp b/src/openrct2/ride/gentle/MerryGoRound.cpp index 11f2c3b320..90b224bc18 100644 --- a/src/openrct2/ride/gentle/MerryGoRound.cpp +++ b/src/openrct2/ride/gentle/MerryGoRound.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/gentle/MiniGolf.cpp b/src/openrct2/ride/gentle/MiniGolf.cpp index fabe6f5440..38cad1ba9e 100644 --- a/src/openrct2/ride/gentle/MiniGolf.cpp +++ b/src/openrct2/ride/gentle/MiniGolf.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "../../config/Config.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../entity/Guest.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/gentle/SpaceRings.cpp b/src/openrct2/ride/gentle/SpaceRings.cpp index 106cfd76af..313bc517e6 100644 --- a/src/openrct2/ride/gentle/SpaceRings.cpp +++ b/src/openrct2/ride/gentle/SpaceRings.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "../../common.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../entity/Guest.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/thrill/3dCinema.cpp b/src/openrct2/ride/thrill/3dCinema.cpp index aecff7aa81..9d8e6cfcd4 100644 --- a/src/openrct2/ride/thrill/3dCinema.cpp +++ b/src/openrct2/ride/thrill/3dCinema.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/thrill/Enterprise.cpp b/src/openrct2/ride/thrill/Enterprise.cpp index 3c0469ec33..49e3185656 100644 --- a/src/openrct2/ride/thrill/Enterprise.cpp +++ b/src/openrct2/ride/thrill/Enterprise.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "../../common.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/thrill/MagicCarpet.cpp b/src/openrct2/ride/thrill/MagicCarpet.cpp index 7219784ffa..af801b205f 100644 --- a/src/openrct2/ride/thrill/MagicCarpet.cpp +++ b/src/openrct2/ride/thrill/MagicCarpet.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../object/StationObject.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/thrill/MotionSimulator.cpp b/src/openrct2/ride/thrill/MotionSimulator.cpp index e901ab0a66..0aced31623 100644 --- a/src/openrct2/ride/thrill/MotionSimulator.cpp +++ b/src/openrct2/ride/thrill/MotionSimulator.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/thrill/SwingingInverterShip.cpp b/src/openrct2/ride/thrill/SwingingInverterShip.cpp index 1339feebb2..8a51899e46 100644 --- a/src/openrct2/ride/thrill/SwingingInverterShip.cpp +++ b/src/openrct2/ride/thrill/SwingingInverterShip.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../object/StationObject.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/thrill/SwingingShip.cpp b/src/openrct2/ride/thrill/SwingingShip.cpp index 0ce551effa..0175605a03 100644 --- a/src/openrct2/ride/thrill/SwingingShip.cpp +++ b/src/openrct2/ride/thrill/SwingingShip.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../object/StationObject.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/thrill/TopSpin.cpp b/src/openrct2/ride/thrill/TopSpin.cpp index d6d31ad980..08bcdf4995 100644 --- a/src/openrct2/ride/thrill/TopSpin.cpp +++ b/src/openrct2/ride/thrill/TopSpin.cpp @@ -7,7 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../localisation/Localisation.h" #include "../../paint/Paint.h" diff --git a/src/openrct2/ride/thrill/Twist.cpp b/src/openrct2/ride/thrill/Twist.cpp index 510a624932..81d5ef838b 100644 --- a/src/openrct2/ride/thrill/Twist.cpp +++ b/src/openrct2/ride/thrill/Twist.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "../../common.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h" diff --git a/src/openrct2/ride/water/SplashBoats.cpp b/src/openrct2/ride/water/SplashBoats.cpp index 1e3a21a58b..1f18e6a314 100644 --- a/src/openrct2/ride/water/SplashBoats.cpp +++ b/src/openrct2/ride/water/SplashBoats.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "../../config/Config.h" -#include "../../entity/Entity.h" +#include "../../entity/EntityRegistry.h" #include "../../interface/Viewport.h" #include "../../paint/Paint.h" #include "../../paint/Supports.h"