Remove openrct2-ui/ includes

This commit is contained in:
Harry Hopkinson committed 2026-08-11 17:01:15 +01:00
1 parent d9c423b1d6
commit a80faffd5c
10 files changed
+10 -24

No files matched your search

+4 -1
View File
@@ -9,7 +9,10 @@
#pragma once
#include <openrct2/interface/Cursors.h>
#include <cstdint>
#include <cstddef>
enum class CursorID : uint8_t;
namespace OpenRCT2::Ui
{
-1
View File
@@ -13,7 +13,6 @@
#include <cmath>
#include <openrct2/config/Config.h>
#include <openrct2/core/Guard.hpp>
#include <openrct2/interface/Cursors.h>
#include <vector>
+1 -3
View File
@@ -9,14 +9,12 @@
#pragma once
#include <SDL.h>
#include <SDL_mouse.h>
#include <functional>
#include <map>
#include <openrct2/core/EnumUtils.hpp>
#include <openrct2/interface/Cursors.h>
struct SDL_Cursor;
namespace OpenRCT2::Ui
{
struct CursorData;
-3
View File
@@ -10,14 +10,11 @@
#include "ProvisionalElements.h"
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/interface/WindowClasses.h>
#include <openrct2/interface/WindowTypes.h>
#include <openrct2/network/Network.h>
#include <openrct2/profiling/Profiling.h>
#include <openrct2/ride/RideConstruction.h>
#include <openrct2/ui/WindowManager.h>
#include <openrct2/world/Footpath.h>
using namespace OpenRCT2::Ui::Windows;
+1 -1
View File
@@ -9,7 +9,7 @@
#include "SDLException.h"
#include <SDL.h>
#include <SDL_error.h>
using namespace OpenRCT2::Ui;
+2 -2
View File
@@ -14,8 +14,8 @@
#include "interface/InGameConsole.h"
#include "interface/Window.h"
#include <SDL.h>
#include <openrct2-ui/windows/Windows.h>
#include <SDL_clipboard.h>
#include <SDL_events.h>
#include <openrct2/core/String.hpp>
#include <openrct2/core/UTF8.h>
#include <openrct2/ui/UiContext.h>
-2
View File
@@ -20,9 +20,7 @@
#include <openrct2/OpenRCT2.h>
#include <openrct2/PlatformEnvironment.h>
#include <openrct2/audio/AudioContext.h>
#include <openrct2/command_line/CommandLine.hpp>
#include <openrct2/command_line/ExitCode.h>
#include <openrct2/platform/Platform.h>
#include <openrct2/ui/UiContext.h>
#ifdef __EMSCRIPTEN__
+1 -5
View File
@@ -12,18 +12,15 @@
#include "CursorRepository.h"
#include "SDLException.h"
#include "TextComposition.h"
#include "UiStringIds.h"
#include "WindowManager.h"
#include "drawing/engines/DrawingEngineFactory.hpp"
#include "input/ShortcutManager.h"
#include "interface/InGameConsole.h"
#include "interface/Theme.h"
#include "interface/Viewport.h"
#include "scripting/UiExtensions.h"
#include "title/TitleSequencePlayer.h"
#include <SDL.h>
#include <chrono>
#include <cmath>
#include <cstdlib>
#include <memory>
@@ -43,9 +40,8 @@
#include <openrct2/drawing/NewDrawing.h>
#include <openrct2/drawing/RenderTarget.h>
#include <openrct2/interface/Chat.h>
#include <openrct2/platform/Platform.h>
#include <openrct2/interface/Viewport.h>
#include <openrct2/scenes/title/TitleSequencePlayer.h>
#include <openrct2/scripting/ScriptEngine.h>
#include <openrct2/ui/UiContext.h>
#include <openrct2/ui/WindowManager.h>
#include <openrct2/world/Location.hpp>
-1
View File
@@ -17,7 +17,6 @@ struct SDL_Window;
namespace OpenRCT2
{
struct IContext;
struct IPlatformEnvironment;
} // namespace OpenRCT2
+1 -5
View File
@@ -13,7 +13,6 @@
#include "interface/Theme.h"
#include "interface/Window.h"
#include "ride/VehicleSounds.h"
#include "windows/Windows.h"
#include <openrct2-ui/ProvisionalElements.h>
#include <openrct2-ui/UiContext.h>
@@ -23,18 +22,15 @@
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/audio/Audio.h>
#include <openrct2/config/Config.h>
#include <openrct2/core/Console.hpp>
#include <openrct2/core/Guard.hpp>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/entity/EntityRegistry.h>
#include <openrct2/interface/Viewport.h>
#include <openrct2/rct2/T6Exporter.h>
#include <openrct2/ride/Ride.h>
#include <openrct2/ride/RideConstruction.h>
#include <openrct2/ride/Vehicle.h>
#include <openrct2/ui/UiContext.h>
#include <openrct2/ui/WindowManager.h>