Centralise external window signatures in Windows.h (#23653)

This commit is contained in:
Aaron van Geffen 2025-01-19 15:50:54 +01:00 committed by GitHub
parent bed4d5bdca
commit 5fbe8d0ae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
92 changed files with 350 additions and 237 deletions

View file

@ -9,7 +9,7 @@
#include "ProvisionalElements.h"
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/interface/Window.h>
#include <openrct2/interface/WindowClasses.h>

View file

@ -12,9 +12,10 @@
#include "UiContext.h"
#include "UiStringIds.h"
#include "interface/InGameConsole.h"
#include "interface/Window.h"
#include <SDL.h>
#include <openrct2-ui/interface/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/core/Memory.hpp>
#include <openrct2/core/String.hpp>
#include <openrct2/core/UTF8.h>

View file

@ -10,15 +10,16 @@
#include "WindowManager.h"
#include "interface/Theme.h"
#include "interface/Window.h"
#include "ride/VehicleSounds.h"
#include "windows/Window.h"
#include "windows/Windows.h"
#include <openrct2-ui/ProvisionalElements.h>
#include <openrct2-ui/UiContext.h>
#include <openrct2-ui/input/InputManager.h>
#include <openrct2-ui/input/MouseInput.h>
#include <openrct2-ui/input/ShortcutManager.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Input.h>
#include <openrct2/OpenRCT2.h>

View file

@ -16,7 +16,8 @@
#include <openrct2-ui/input/MouseInput.h>
#include <openrct2-ui/input/ShortcutManager.h>
#include <openrct2-ui/interface/InGameConsole.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/interface/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Input.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/config/Config.h>

View file

@ -21,7 +21,7 @@
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/interface/Window.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>

View file

@ -17,7 +17,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/interface/Window.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Editor.h>
#include <openrct2/Game.h>

View file

@ -11,7 +11,7 @@
#include "../ProvisionalElements.h"
#include "../UiStringIds.h"
#include "../windows/Window.h"
#include "../windows/Windows.h"
#include "Viewport.h"
#include "Window.h"

View file

@ -12,6 +12,7 @@
#include <algorithm>
#include <cmath>
#include <openrct2-ui/UiStringIds.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/Game.h>

View file

@ -15,7 +15,7 @@
#include <SDL.h>
#include <algorithm>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -55,32 +55,6 @@ namespace OpenRCT2
namespace OpenRCT2::Ui::Windows
{
void RideConstructionToolupdateEntranceExit(const ScreenCoordsXY& screenCoords);
void RideConstructionToolupdateConstruct(const ScreenCoordsXY& screenCoords);
void RideConstructionTooldownConstruct(const ScreenCoordsXY& screenCoords);
void UpdateGhostTrackAndArrow();
void WindowRideConstructionKeyboardShortcutTurnLeft();
void WindowRideConstructionKeyboardShortcutTurnRight();
void WindowRideConstructionKeyboardShortcutUseTrackDefault();
void WindowRideConstructionKeyboardShortcutSlopeDown();
void WindowRideConstructionKeyboardShortcutSlopeUp();
void WindowRideConstructionKeyboardShortcutChainLiftToggle();
void WindowRideConstructionKeyboardShortcutBankLeft();
void WindowRideConstructionKeyboardShortcutBankRight();
void WindowRideConstructionKeyboardShortcutPreviousTrack();
void WindowRideConstructionKeyboardShortcutNextTrack();
void WindowRideConstructionKeyboardShortcutBuildCurrent();
void WindowRideConstructionKeyboardShortcutDemolishCurrent();
void WindowFootpathKeyboardShortcutTurnLeft();
void WindowFootpathKeyboardShortcutTurnRight();
void WindowFootpathKeyboardShortcutSlopeDown();
void WindowFootpathKeyboardShortcutSlopeUp();
void WindowFootpathKeyboardShortcutBuildCurrent();
void WindowFootpathKeyboardShortcutDemolishCurrent();
void WindowTileInspectorKeyboardShortcutToggleInvisibility();
extern const StringId ColourSchemeNames[4];
WindowBase* WindowGetListening();

View file

@ -101,7 +101,7 @@
<ClInclude Include="UiContext.h" />
<ClInclude Include="UiStringIds.h" />
<ClInclude Include="WindowManager.h" />
<ClInclude Include="windows\Window.h" />
<ClInclude Include="windows\Windows.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="audio\AudioChannel.cpp" />

View file

@ -2,6 +2,7 @@
#include "../interface/Viewport.h"
#include "../interface/Window.h"
#include "../windows/Windows.h"
#include <cassert>
#include <numeric>

View file

@ -13,7 +13,7 @@
#include "../interface/Viewport.h"
#include "../interface/Widget.h"
#include "../interface/Window.h"
#include "../windows/Windows.h"
#include <numeric>
#include <openrct2/Context.h>

View file

@ -15,7 +15,7 @@
#include "../interface/Widget.h"
#include "../scripting/ScGraphicsContext.hpp"
#include "../scripting/ScWidget.hpp"
#include "../windows/Window.h"
#include "../windows/Windows.h"
#include "CustomListView.h"
#include "ScUi.hpp"
#include "ScWindow.hpp"

View file

@ -11,7 +11,7 @@
#ifdef ENABLE_SCRIPTING
#include "../windows/Window.h"
#include "../windows/Windows.h"
#include "CustomMenu.h"
#include "ScImageManager.hpp"
#include "ScTileSelection.hpp"

View file

@ -12,7 +12,7 @@
#include "../interface/Window.h"
#include <memory>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/Game.h>

View file

@ -11,7 +11,7 @@
#include <SDL_clipboard.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/Version.h>
#include <openrct2/drawing/Drawing.h>

View file

@ -10,7 +10,7 @@
#include "../UiStringIds.h"
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/AssetPack.h>
#include <openrct2/AssetPackManager.h>
#include <openrct2/Context.h>

View file

@ -12,7 +12,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/actions/BannerRemoveAction.h>
#include <openrct2/actions/BannerSetNameAction.h>

View file

@ -9,7 +9,7 @@
#include <fstream>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/OpenRCT2.h>
#include <openrct2/PlatformEnvironment.h>

View file

@ -12,7 +12,7 @@
#include <iterator>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -10,7 +10,7 @@
#include <openrct2-ui/UiStringIds.h>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/config/Config.h>
#include <openrct2/core/EnumUtils.hpp>
#include <openrct2/core/String.hpp>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/core/Guard.hpp>
#include <openrct2/localisation/Language.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>
#include <openrct2/actions/RideDemolishAction.h>

View file

@ -10,7 +10,7 @@
#include "../interface/Theme.h"
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Editor.h>
#include <openrct2/EditorObjectSelectionSession.h>

View file

@ -10,7 +10,7 @@
#include <iterator>
#include <openrct2-ui/input/MouseInput.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Editor.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -11,7 +11,7 @@
#include <cctype>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/Editor.h>

View file

@ -11,7 +11,7 @@
#include "../interface/Dropdown.h"
#include "../interface/Widget.h"
#include "../interface/Window.h"
#include "Window.h"
#include "Windows.h"
#include <openrct2/Context.h>
#include <openrct2/GameState.h>

View file

@ -10,7 +10,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Input.h>
#include <openrct2/actions/ParkEntrancePlaceAction.h>

View file

@ -11,7 +11,7 @@
#include "../interface/Dropdown.h"
#include "../interface/Widget.h"
#include "../interface/Window.h"
#include "Window.h"
#include "Windows.h"
#include <openrct2/Context.h>
#include <openrct2/Editor.h>

View file

@ -9,7 +9,7 @@
#include <algorithm>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/OpenRCT2.h>

View file

@ -10,7 +10,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Graph.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/GameState.h>
#include <openrct2/actions/ParkSetLoanAction.h>
#include <openrct2/actions/ParkSetResearchFundingAction.h>

View file

@ -16,7 +16,7 @@
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/ViewportQuery.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Cheats.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>

View file

@ -10,7 +10,7 @@
#include "../interface/Theme.h"
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -13,7 +13,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -10,7 +10,7 @@
#include <cmath>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -11,7 +11,7 @@
#include <memory>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/PlatformEnvironment.h>

View file

@ -14,7 +14,7 @@
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Theme.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -13,7 +13,7 @@
#include <memory>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Editor.h>
#include <openrct2/FileClassifier.h>
#include <openrct2/Game.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/config/Config.h>
#include <openrct2/ui/WindowManager.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/ViewportQuery.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Cheats.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Input.h>
#include <openrct2/config/Config.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/input/InputManager.h>
#include <openrct2-ui/interface/Theme.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Input.h>
#include <openrct2/drawing/Drawing.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>

View file

@ -10,7 +10,7 @@
#include <cassert>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/actions/NetworkModifyGroupAction.h>
#include <openrct2/config/Config.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/drawing/Text.h>
#include <openrct2/network/network.h>

View file

@ -10,7 +10,7 @@
#include <algorithm>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/actions/ParkMarketingAction.h>
#include <openrct2/core/BitSet.hpp>

View file

@ -12,7 +12,7 @@
#include <limits>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/ride/Construction.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/audio/audio.h>

View file

@ -9,7 +9,7 @@
#include <cstddef>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/config/Config.h>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/sprites.h>

View file

@ -9,7 +9,7 @@
#include <mutex>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/core/Console.hpp>
#include <openrct2/core/Http.h>

View file

@ -17,7 +17,7 @@
#include <openrct2-ui/interface/Theme.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/PlatformEnvironment.h>
#include <openrct2/actions/ScenarioSetSettingAction.h>

View file

@ -15,7 +15,7 @@
#include <openrct2-ui/interface/Theme.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -12,7 +12,7 @@
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Input.h>
#include <openrct2/actions/PlayerKickAction.h>
#include <openrct2/actions/PlayerSetGroupAction.h>

View file

@ -9,7 +9,7 @@
#include <array>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/drawing/Text.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>
#include <openrct2/actions/RideDemolishAction.h>

View file

@ -10,7 +10,7 @@
#include <iterator>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>
#include <openrct2/actions/ParkSetResearchFundingAction.h>

View file

@ -18,7 +18,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Cheats.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>

View file

@ -17,7 +17,7 @@
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/ride/Construction.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Cheats.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>

View file

@ -12,7 +12,7 @@
#include <iterator>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -9,7 +9,7 @@
#include <iterator>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/Game.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Objective.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/audio/audio.h>
#include <openrct2/config/Config.h>

View file

@ -14,7 +14,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -10,7 +10,7 @@
#include <algorithm>
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/core/String.hpp>
#include <openrct2/localisation/Formatter.h>
#include <openrct2/sprites.h>

View file

@ -13,7 +13,7 @@
#include <chrono>
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/config/Config.h>

View file

@ -12,7 +12,7 @@
#include "../interface/Theme.h"
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/ParkImporter.h>
#include <openrct2/config/Config.h>

View file

@ -7,7 +7,7 @@
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "Window.h"
#include "Windows.h"
#include <algorithm>
#include <openrct2-ui/UiContext.h>

View file

@ -12,7 +12,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/actions/LargeSceneryRemoveAction.h>
#include <openrct2/actions/SignSetNameAction.h>

View file

@ -12,7 +12,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/ViewportQuery.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/actions/StaffFireAction.h>
#include <openrct2/drawing/Drawing.h>

View file

@ -14,7 +14,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/ViewportQuery.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>

View file

@ -11,7 +11,7 @@
#include <SDL_keycode.h>
#include <iterator>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/core/String.hpp>
#include <openrct2/core/UTF8.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>

View file

@ -14,7 +14,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>
#include <openrct2/actions/TileModifyAction.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/sprites.h>
#include <openrct2/ui/WindowManager.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/interface/Colour.h>
#include <openrct2/sprites.h>

View file

@ -10,7 +10,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/scripting/CustomMenu.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Editor.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/ui/WindowManager.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Version.h>
#include <openrct2/drawing/Drawing.h>

View file

@ -9,7 +9,7 @@
#include <algorithm>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/Input.h>

View file

@ -17,7 +17,7 @@
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Cheats.h>
#include <openrct2/Diagnostic.h>
#include <openrct2/Editor.h>

View file

@ -8,7 +8,7 @@
*****************************************************************************/
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/drawing/Drawing.h>
#include <openrct2/localisation/Formatter.h>

View file

@ -12,7 +12,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/ViewportInteraction.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Cheats.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>

View file

@ -9,7 +9,7 @@
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/ride/Construction.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Editor.h>
#include <openrct2/OpenRCT2.h>

View file

@ -12,7 +12,7 @@
#include <openrct2-ui/interface/Dropdown.h>
#include <openrct2-ui/interface/Theme.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Game.h>
#include <openrct2/GameState.h>
#include <openrct2/OpenRCT2.h>

View file

@ -10,7 +10,7 @@
#include <cmath>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Input.h>
#include <openrct2/config/Config.h>
#include <openrct2/drawing/Drawing.h>

View file

@ -9,7 +9,7 @@
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/Game.h>
#include <openrct2/audio/audio.h>

View file

@ -11,7 +11,7 @@
#include <openrct2-ui/interface/LandTool.h>
#include <openrct2-ui/interface/Viewport.h>
#include <openrct2-ui/interface/Widget.h>
#include <openrct2-ui/windows/Window.h>
#include <openrct2-ui/windows/Windows.h>
#include <openrct2/Context.h>
#include <openrct2/GameState.h>
#include <openrct2/Input.h>

View file

@ -9,12 +9,16 @@
#pragma once
#include <openrct2-ui/interface/Window.h>
#include <openrct2/Identifiers.h>
#include <openrct2/interface/Window.h>
#include <openrct2/world/ScenerySelection.h>
#include <optional>
#include <string_view>
class Formatter;
struct ObjectEntryDescriptor;
struct OpenRCT2String;
struct Peep;
struct Ride;
struct RideSelection;
@ -37,109 +41,175 @@ namespace OpenRCT2::Ui::Windows
extern bool gWindowSceneryEyedropperEnabled;
extern bool gDisableErrorWindowSound;
// About
WindowBase* AboutOpen();
void WindowCampaignRefreshRides();
// AssetPacks
WindowBase* AssetPacksOpen();
// Banner
WindowBase* BannerOpen(rct_windownumber number);
// Changelog
WindowBase* ChangelogOpen(int personality);
// Cheats
WindowBase* CheatsOpen();
// ClearScenery
WindowBase* ClearSceneryOpen();
void ToggleClearSceneryWindow();
// CustomCurrency
WindowBase* CustomCurrencyOpen();
// DebugPaint
WindowBase* DebugPaintOpen();
// DemolishRidePrompt
WindowBase* RideDemolishPromptOpen(const Ride& ride);
// EditorInventionsList
WindowBase* EditorInventionsListOpen();
WindowBase* EditorMainOpen();
// EditorBottomToolbar
WindowBase* EditorBottomToolbarOpen();
// EditorObjectiveOptions
WindowBase* EditorObjectiveOptionsOpen();
WindowBase* EditorScenarioOptionsOpen();
WindowBase* FootpathOpen();
void WindowFootpathResetSelectedPath();
void ToggleFootpathWindow();
// EditorObjectSelection
WindowBase* EditorObjectSelectionOpen();
bool EditorObjectSelectionWindowCheck();
WindowBase* GuestOpen(Peep* peep);
WindowBase* LandOpen();
void ToggleLandWindow();
WindowBase* LandRightsOpen();
WindowBase* MainOpen();
WindowBase* MapgenOpen();
WindowBase* MultiplayerOpen();
WindowBase* NewsOpen();
WindowBase* NewsOptionsOpen();
WindowBase* OptionsOpen();
WindowBase* SavePromptOpen();
#ifndef DISABLE_NETWORK
WindowBase* ServerListOpen();
WindowBase* ServerStartOpen();
#endif
WindowBase* ShortcutKeysOpen();
WindowBase* StaffListOpen();
WindowBase* StaffOpen(Peep* peep);
void WindowStaffListRefresh();
WindowBase* ThemesOpen();
WindowBase* TitleExitOpen();
WindowBase* TitleLogoOpen();
WindowBase* TitleMenuOpen();
WindowBase* TitleOptionsOpen();
WindowBase* TitleVersionOpen();
WindowBase* ViewportOpen();
WindowBase* WaterOpen();
void ToggleWaterWindow();
WindowBase* ViewClippingOpen();
WindowBase* TransparencyOpen();
WindowBase* AssetPacksOpen();
// EditorParkEntrance
WindowBase* EditorParkEntranceOpen();
// WC_FINANCES
// EditorScenarioOptions
WindowBase* EditorScenarioOptionsOpen();
// Error
WindowBase* ErrorOpen(StringId title, StringId message, const class Formatter& formatter, bool autoClose = false);
WindowBase* ErrorOpen(std::string_view title, std::string_view message, bool autoClose = false);
// Finances
WindowBase* FinancesOpen();
WindowBase* FinancesResearchOpen();
WindowBase* FinancesMarketingOpen();
// WC_PARK_INFORMATION
WindowBase* ParkAwardsOpen();
WindowBase* ParkEntranceOpen();
WindowBase* ParkGuestsOpen();
WindowBase* ParkObjectiveOpen();
WindowBase* ParkRatingOpen();
// Footpath
WindowBase* FootpathOpen();
void WindowFootpathResetSelectedPath();
void ToggleFootpathWindow();
void WindowFootpathKeyboardShortcutTurnLeft();
void WindowFootpathKeyboardShortcutTurnRight();
void WindowFootpathKeyboardShortcutSlopeDown();
void WindowFootpathKeyboardShortcutSlopeUp();
void WindowFootpathKeyboardShortcutBuildCurrent();
void WindowFootpathKeyboardShortcutDemolishCurrent();
WindowBase* BannerOpen(rct_windownumber number);
WindowBase* RideDemolishPromptOpen(const Ride& ride);
WindowBase* RideRefurbishPromptOpen(const Ride& ride);
WindowBase* SignOpen(rct_windownumber number);
WindowBase* SignSmallOpen(rct_windownumber number);
WindowBase* PlayerOpen(uint8_t id);
WindowBase* NewCampaignOpen(int16_t campaignType);
// GameBottomToolbar
extern uint8_t gToolbarDirtyFlags;
WindowBase* GameBottomToolbarOpen();
void WindowGameBottomToolbarInvalidateNewsItem();
WindowBase* InstallTrackOpen(const utf8* path);
void WindowGuestListRefreshList();
// Guest
WindowBase* GuestOpen(Peep* peep);
// GuestList
WindowBase* GuestListOpen();
WindowBase* GuestListOpenWithFilter(GuestListFilterType type, int32_t index);
WindowBase* StaffFirePromptOpen(Peep* peep);
WindowBase* ScenarioselectOpen(ScenarioSelectCallback callback);
WindowBase* ScenarioselectOpen(std::function<void(std::string_view)> callback);
void WindowGuestListRefreshList();
WindowBase* ErrorOpen(StringId title, StringId message, const class Formatter& formatter, bool autoClose = false);
WindowBase* ErrorOpen(std::string_view title, std::string_view message, bool autoClose = false);
// InstallTrack
WindowBase* InstallTrackOpen(const utf8* path);
// Land
WindowBase* LandOpen();
void ToggleLandWindow();
// LandRights
WindowBase* LandRightsOpen();
// LoadSave
WindowBase* LoadsaveOpen(
int32_t type, std::string_view defaultPath, std::function<void(int32_t result, std::string_view)> callback,
TrackDesign* trackDesign);
void WindowLoadSaveInputKey(WindowBase* w, uint32_t keycode);
void WindowLoadSaveOverwritePromptInputKey(WindowBase* w, uint32_t keycode);
WindowBase* TrackPlaceOpen(const struct TrackDesignFileRef* tdFileRef);
WindowBase* TrackManageOpen(struct TrackDesignFileRef* tdFileRef);
void TrackPlaceClearProvisionalTemporarily();
void TrackPlaceRestoreProvisional();
// Main
WindowBase* MainOpen();
// Map
WindowBase* MapOpen();
void WindowMapReset();
// MapGen
WindowBase* MapgenOpen();
// MapTooltip
void SetMapTooltip(Formatter& ft);
const Formatter& GetMapTooltip();
void WindowMapTooltipUpdateVisibility();
// MazeConstruction
WindowBase* MazeConstructionOpen();
void WindowMazeConstructionUpdatePressedWidgets();
// Multiplatyer
WindowBase* MultiplayerOpen();
// NewCampaign
WindowBase* NewCampaignOpen(int16_t campaignType);
void WindowCampaignRefreshRides();
// NewRide
WindowBase* NewRideOpen();
WindowBase* NewRideOpenResearch();
void WindowNewRideInitVars();
void WindowNewRideFocus(RideSelection rideItem);
// News
WindowBase* NewsOpen();
// NewsOptions
WindowBase* NewsOptionsOpen();
// NetworkStatus
WindowBase* NetworkStatusOpen(const std::string& text, CloseCallback onClose);
WindowBase* NetworkStatusOpenPassword();
void WindowNetworkStatusClose();
// ObjectLoadError
WindowBase* ObjectLoadErrorOpen(utf8* path, size_t numMissingObjects, const ObjectEntryDescriptor* missingObjects);
// Options
WindowBase* OptionsOpen();
// Park
WindowBase* ParkAwardsOpen();
WindowBase* ParkEntranceOpen();
WindowBase* ParkGuestsOpen();
WindowBase* ParkObjectiveOpen();
WindowBase* ParkRatingOpen();
// Player
WindowBase* PlayerOpen(uint8_t id);
// ProgressWindow
WindowBase* ProgressWindowOpen(const std::string& text, CloseCallback onClose = nullptr);
void ProgressWindowSet(uint32_t currentProgress, uint32_t totalCount, StringId format = STR_NONE);
void ProgressWindowClose();
// PatrolArea
WindowBase* PatrolAreaOpen(EntityId staffId);
EntityId WindowPatrolAreaGetCurrentStaffId();
// RefurbishRidePrompt
WindowBase* RideRefurbishPromptOpen(const Ride& ride);
// Research
WindowBase* ResearchOpen();
void WindowResearchDevelopmentMouseUp(WidgetIndex widgetIndex, WidgetIndex baseWidgetIndex);
void WindowResearchDevelopmentPrepareDraw(WindowBase* w, WidgetIndex baseWidgetIndex);
@ -150,14 +220,7 @@ namespace OpenRCT2::Ui::Windows
void WindowResearchFundingPrepareDraw(WindowBase* w, WidgetIndex baseWidgetIndex);
void WindowResearchFundingDraw(WindowBase* w, DrawPixelInfo& dpi);
WindowBase* NewRideOpen();
WindowBase* NewRideOpenResearch();
void WindowNewRideInitVars();
void WindowNewRideFocus(RideSelection rideItem);
WindowBase* RideListOpen();
void WindowRideListRefreshList(WindowBase* w);
// Ride
WindowBase* RideMainOpen(const Ride& ride);
WindowBase* RideOpenTrack(TileElement* tileElement);
WindowBase* RideOpenVehicle(Vehicle* vehicle);
@ -165,49 +228,41 @@ namespace OpenRCT2::Ui::Windows
void WindowRidePaintResetVehicle(RideId rideIndex);
void WindowRideMeasurementsDesignCancel();
// rct2: 0x00F635EE
extern RideSelection _window_track_list_item;
WindowBase* TrackListOpen(RideSelection item);
void WindowTrackDesignListReloadTracks();
void WindowTrackDesignListSetBeingUpdated(bool beingUpdated);
void SetMapTooltip(Formatter& ft);
const Formatter& GetMapTooltip();
void WindowMapTooltipUpdateVisibility();
WindowBase* MazeConstructionOpen();
void WindowMazeConstructionUpdatePressedWidgets();
WindowBase* NetworkStatusOpen(const std::string& text, CloseCallback onClose);
WindowBase* NetworkStatusOpenPassword();
void WindowNetworkStatusClose();
WindowBase* ProgressWindowOpen(const std::string& text, CloseCallback onClose = nullptr);
void ProgressWindowSet(uint32_t currentProgress, uint32_t totalCount, StringId format = STR_NONE);
void ProgressWindowClose();
void WindowTextInputKey(WindowBase* w, uint32_t keycode);
void WindowTextInputOpen(
WindowBase* call_w, WidgetIndex call_widget, StringId title, StringId description, const Formatter& descriptionArgs,
StringId existing_text, uintptr_t existing_args, int32_t maxLength);
void WindowTextInputRawOpen(
WindowBase* call_w, WidgetIndex call_widget, StringId title, StringId description, const Formatter& descriptionArgs,
const_utf8string existing_text, int32_t maxLength);
void WindowTextInputOpen(
std::string_view title, std::string_view description, std::string_view initialValue, size_t maxLength,
std::function<void(std::string_view)> okCallback, std::function<void()> cancelCallback);
WindowBase* ObjectLoadErrorOpen(utf8* path, size_t numMissingObjects, const ObjectEntryDescriptor* missingObjects);
// RideConstruction
WindowBase* RideConstructionOpen();
void WindowRideConstructionUpdateActiveElementsImpl();
void WindowRideConstructionUpdateEnabledTrackPieces();
void RideRestoreProvisionalTrackPiece();
void RideRemoveProvisionalTrackPiece();
void RideConstructionToolupdateEntranceExit(const ScreenCoordsXY& screenCoords);
void RideConstructionToolupdateConstruct(const ScreenCoordsXY& screenCoords);
void RideConstructionTooldownConstruct(const ScreenCoordsXY& screenCoords);
void UpdateGhostTrackAndArrow();
void WindowRideConstructionKeyboardShortcutTurnLeft();
void WindowRideConstructionKeyboardShortcutTurnRight();
void WindowRideConstructionKeyboardShortcutUseTrackDefault();
void WindowRideConstructionKeyboardShortcutSlopeDown();
void WindowRideConstructionKeyboardShortcutSlopeUp();
void WindowRideConstructionKeyboardShortcutChainLiftToggle();
void WindowRideConstructionKeyboardShortcutBankLeft();
void WindowRideConstructionKeyboardShortcutBankRight();
void WindowRideConstructionKeyboardShortcutPreviousTrack();
void WindowRideConstructionKeyboardShortcutNextTrack();
void WindowRideConstructionKeyboardShortcutBuildCurrent();
void WindowRideConstructionKeyboardShortcutDemolishCurrent();
WindowBase* TopToolbarOpen();
// RideList
WindowBase* RideListOpen();
void WindowRideListRefreshList(WindowBase* w);
// SavePrompt
WindowBase* SavePromptOpen();
// ScenarioSelect
WindowBase* ScenarioselectOpen(ScenarioSelectCallback callback);
WindowBase* ScenarioselectOpen(std::function<void(std::string_view)> callback);
// Scenery
WindowBase* SceneryOpen();
void WindowScenerySetSelectedItem(
const ScenerySelection& sceneryconst, std::optional<colour_t> primary, const std::optional<colour_t> secondary,
@ -219,24 +274,103 @@ namespace OpenRCT2::Ui::Windows
const ScenerySelection WindowSceneryGetTabSelection();
void ToggleSceneryWindow();
extern uint8_t gToolbarDirtyFlags;
WindowBase* GameBottomToolbarOpen();
void WindowGameBottomToolbarInvalidateNewsItem();
// SceneryScatter
WindowBase* SceneryScatterOpen();
WindowBase* EditorBottomToolbarOpen();
#ifndef DISABLE_NETWORK
// ServerList
WindowBase* ServerListOpen();
// ServerStart
WindowBase* ServerStartOpen();
#endif
// ShortcutKeys
WindowBase* ShortcutKeysOpen();
// Sign
WindowBase* SignOpen(rct_windownumber number);
WindowBase* SignSmallOpen(rct_windownumber number);
// Staff
WindowBase* StaffOpen(Peep* peep);
// StaffFirePrompt
WindowBase* StaffFirePromptOpen(Peep* peep);
// StaffList
WindowBase* StaffListOpen();
void WindowStaffListRefresh();
// TextInput
void WindowTextInputKey(WindowBase* w, uint32_t keycode);
void WindowTextInputOpen(
WindowBase* call_w, WidgetIndex call_widget, StringId title, StringId description, const Formatter& descriptionArgs,
StringId existing_text, uintptr_t existing_args, int32_t maxLength);
void WindowTextInputRawOpen(
WindowBase* call_w, WidgetIndex call_widget, StringId title, StringId description, const Formatter& descriptionArgs,
const_utf8string existing_text, int32_t maxLength);
void WindowTextInputOpen(
std::string_view title, std::string_view description, std::string_view initialValue, size_t maxLength,
std::function<void(std::string_view)> okCallback, std::function<void()> cancelCallback);
// Themes
WindowBase* ThemesOpen();
// TileInspector
WindowBase* TileInspectorOpen();
void WindowTileInspectorClearClipboard();
void WindowTileInspectorKeyboardShortcutToggleInvisibility();
WindowBase* EditorObjectSelectionOpen();
bool EditorObjectSelectionWindowCheck();
// TitleExit
WindowBase* TitleExitOpen();
// TitleLogo
WindowBase* TitleLogoOpen();
// TitleMenu
WindowBase* TitleMenuOpen();
// TitleOptions
WindowBase* TitleOptionsOpen();
// TitleVersion
WindowBase* TitleVersionOpen();
// Tooltip
void WindowTooltipReset(const ScreenCoordsXY& screenCoords);
void WindowTooltipShow(const OpenRCT2String& message, ScreenCoordsXY screenCoords);
void WindowTooltipOpen(WindowBase* widgetWindow, WidgetIndex widgetIndex, const ScreenCoordsXY& screenCoords);
void WindowTooltipClose();
WindowBase* SceneryScatterOpen();
WindowBase* PatrolAreaOpen(EntityId staffId);
EntityId WindowPatrolAreaGetCurrentStaffId();
// TopToolbar
WindowBase* TopToolbarOpen();
// TrackDesignPlace
WindowBase* TrackPlaceOpen(const struct TrackDesignFileRef* tdFileRef);
void TrackPlaceClearProvisionalTemporarily();
void TrackPlaceRestoreProvisional();
// TrackDesignManage
WindowBase* TrackManageOpen(struct TrackDesignFileRef* tdFileRef);
// TrackList
// rct2: 0x00F635EE
extern RideSelection _window_track_list_item;
WindowBase* TrackListOpen(RideSelection item);
void WindowTrackDesignListReloadTracks();
void WindowTrackDesignListSetBeingUpdated(bool beingUpdated);
// Transparency
WindowBase* TransparencyOpen();
// ViewClipping
WindowBase* ViewClippingOpen();
// Viewport
WindowBase* ViewportOpen();
// Water
WindowBase* WaterOpen();
void ToggleWaterWindow();
} // namespace OpenRCT2::Ui::Windows