forked from rosebudai/OpenRCT2-Web
Merge pull request #26867 from AaronVanGeffen/strip-window-header
Strip window header further
This commit is contained in:
27 files changed
+128
-67
No files matched your search
@@ -10,6 +10,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <openrct2/interface/Window.h>
|
||||
#include <openrct2/world/Location.hpp>
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/interface/Chat.h>
|
||||
#include <openrct2/interface/Screenshot.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/network/Network.h>
|
||||
#include <openrct2/object/WallSceneryEntry.h>
|
||||
#include <openrct2/platform/Platform.h>
|
||||
|
||||
@@ -15,16 +15,18 @@
|
||||
#include <openrct2/Limits.h>
|
||||
#include <openrct2/core/EnumUtils.hpp>
|
||||
#include <openrct2/core/StringTypes.h>
|
||||
#include <openrct2/drawing/Colour.h>
|
||||
#include <openrct2/drawing/ImageId.hpp>
|
||||
#include <openrct2/interface/Window.h>
|
||||
#include <openrct2/world/Location.hpp>
|
||||
#include <optional>
|
||||
#include <span>
|
||||
|
||||
struct ImageId;
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
struct ColourWithFlags;
|
||||
class Formatter;
|
||||
struct Widget;
|
||||
} // namespace OpenRCT2
|
||||
|
||||
namespace OpenRCT2::Dropdown
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <openrct2/core/StringTypes.h>
|
||||
#include <openrct2/interface/Window.h>
|
||||
#include <openrct2/localisation/StringIdType.h>
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/drawing/Rectangle.h>
|
||||
#include <openrct2/drawing/Text.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Formatting.h>
|
||||
#include <openrct2/object/ClimateObject.h>
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/drawing/Rectangle.h>
|
||||
#include <openrct2/drawing/RenderTarget.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/object/EntranceObject.h>
|
||||
#include <openrct2/object/ObjectLimits.h>
|
||||
#include <openrct2/object/ObjectManager.h>
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <openrct2/drawing/Text.h>
|
||||
#include <openrct2/entity/Guest.h>
|
||||
#include <openrct2/entity/Staff.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Formatting.h>
|
||||
#include <openrct2/management/Marketing.h>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <openrct2/actions/ride/RideEntranceExitPlaceAction.h>
|
||||
#include <openrct2/audio/Audio.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatting.h>
|
||||
#include <openrct2/ride/RideConstruction.h>
|
||||
#include <openrct2/ride/RideData.h>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/drawing/Text.h>
|
||||
#include <openrct2/interface/Viewport.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/localisation/Formatting.h>
|
||||
#include <openrct2/network/Network.h>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <openrct2/drawing/Rectangle.h>
|
||||
#include <openrct2/drawing/RenderTarget.h>
|
||||
#include <openrct2/drawing/Text.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/management/Research.h>
|
||||
#include <openrct2/network/Network.h>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <openrct2/entity/EntityRegistry.h>
|
||||
#include <openrct2/entity/PatrolArea.h>
|
||||
#include <openrct2/entity/Staff.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
#include <openrct2/network/Network.h>
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <openrct2/entity/EntityRegistry.h>
|
||||
#include <openrct2/entity/PatrolArea.h>
|
||||
#include <openrct2/entity/Staff.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
#include <openrct2/object/ObjectLimits.h>
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/drawing/NewDrawing.h>
|
||||
#include <openrct2/drawing/Text.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatter.h>
|
||||
#include <openrct2/paint/VirtualFloor.h>
|
||||
#include <openrct2/ride/RideConstruction.h>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <openrct2/drawing/NewDrawing.h>
|
||||
#include <openrct2/drawing/Rectangle.h>
|
||||
#include <openrct2/drawing/Text.h>
|
||||
#include <openrct2/interface/WidgetIndexGlobals.h>
|
||||
#include <openrct2/localisation/Formatting.h>
|
||||
#include <openrct2/ride/RideConstruction.h>
|
||||
#include <openrct2/ride/RideData.h>
|
||||
|
||||
@@ -10,11 +10,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <openrct2/Identifiers.h>
|
||||
#include <openrct2/core/StringTypes.h>
|
||||
#include <openrct2/interface/Window.h>
|
||||
#include <openrct2/localisation/StringIdType.h>
|
||||
#include <openrct2/world/ScenerySelection.h>
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
|
||||
struct ScreenCoordsXY;
|
||||
struct StringWithArgs;
|
||||
struct Ride;
|
||||
struct RideSelection;
|
||||
@@ -36,6 +39,11 @@ namespace OpenRCT2
|
||||
struct TileElement;
|
||||
} // namespace OpenRCT2
|
||||
|
||||
namespace OpenRCT2::Drawing
|
||||
{
|
||||
enum class Colour : uint8_t;
|
||||
}
|
||||
|
||||
namespace OpenRCT2::Ui::Windows
|
||||
{
|
||||
constexpr int32_t kTabBarHeight = 43;
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
namespace OpenRCT2::Drawing
|
||||
{
|
||||
static TextColours _savedTextPalette{};
|
||||
|
||||
Drawing::Colour gCurrentWindowColours[3];
|
||||
|
||||
/**
|
||||
*
|
||||
* rct2: 0x006C23B1
|
||||
|
||||
@@ -48,6 +48,8 @@ namespace OpenRCT2::Drawing
|
||||
const int8_t* yOffset{};
|
||||
};
|
||||
|
||||
extern Drawing::Colour gCurrentWindowColours[3];
|
||||
|
||||
void drawStringCentredRaw(
|
||||
RenderTarget& rt, const ScreenCoordsXY& coords, int32_t numLines, const utf8* text, FontStyle fontStyle);
|
||||
void drawNewsTicker(
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
/*****************************************************************************
|
||||
* Copyright (c) 2014-2026 OpenRCT2 developers
|
||||
*
|
||||
* For a complete list of all authors, please refer to contributors.md
|
||||
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||||
*
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
constexpr int32_t WC_MAIN_WINDOW__0 = 0;
|
||||
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT = 27;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE = 32;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_EXIT = 33;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_ROTATE = 34;
|
||||
|
||||
constexpr int32_t WC_MAZE_CONSTRUCTION__WIDX_MAZE_DIRECTION_GROUPBOX = WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT;
|
||||
constexpr int32_t WC_MAZE_CONSTRUCTION__WIDX_MAZE_ENTRANCE = WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE;
|
||||
constexpr int32_t WC_MAZE_CONSTRUCTION__WIDX_MAZE_EXIT = WC_RIDE_CONSTRUCTION__WIDX_EXIT;
|
||||
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_BACKGROUND = 0;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_TAB_1 = 15;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_ROTATE_OBJECTS_BUTTON = 5;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_EYEDROPPER_BUTTON = 10;
|
||||
|
||||
constexpr int32_t WC_PEEP__WIDX_PATROL = 10;
|
||||
constexpr int32_t WC_PEEP__WIDX_ACTION_LBL = 13;
|
||||
constexpr int32_t WC_PEEP__WIDX_PICKUP = 14;
|
||||
|
||||
constexpr int32_t WC_TRACK_DESIGN_LIST__WIDX_ROTATE = 8;
|
||||
constexpr int32_t WC_TRACK_DESIGN_PLACE__WIDX_ROTATE = 3;
|
||||
|
||||
constexpr int32_t WC_EDITOR_PARK_ENTRANCE__WIDX_ROTATE_ENTRANCE_BUTTON = 6;
|
||||
constexpr int32_t WC_EDITOR_OBJECT_SELECTION__WIDX_TAB_1 = 22;
|
||||
|
||||
constexpr int32_t WC_STAFF__WIDX_PICKUP = 9;
|
||||
} // namespace OpenRCT2
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../audio/Audio.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../drawing/Drawing.String.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../drawing/RenderTarget.h"
|
||||
#include "../entity/EntityRegistry.h"
|
||||
@@ -25,6 +26,7 @@
|
||||
#include "../world/MapSelection.h"
|
||||
#include "Viewport.h"
|
||||
#include "Widget.h"
|
||||
#include "WidgetIndexGlobals.h"
|
||||
#include "WindowBase.h"
|
||||
|
||||
#include <cassert>
|
||||
@@ -33,14 +35,12 @@
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
|
||||
std::vector<std::unique_ptr<WindowBase>> gWindowList;
|
||||
WindowBase* gWindowAudioExclusive;
|
||||
|
||||
WindowCloseModifier gLastCloseModifier = { { WindowClass::null, 0 }, CloseWindowModifier::none };
|
||||
|
||||
uint32_t gWindowUpdateTicks;
|
||||
Drawing::Colour gCurrentWindowColours[3];
|
||||
|
||||
Tool gCurrentToolId;
|
||||
WidgetRef gCurrentToolWidget;
|
||||
@@ -626,9 +626,9 @@ static constexpr float kWindowScrollLocations[][2] = {
|
||||
w.onPrepareDraw();
|
||||
|
||||
// Text colouring
|
||||
gCurrentWindowColours[0] = w.colours[0].colour;
|
||||
gCurrentWindowColours[1] = w.colours[1].colour;
|
||||
gCurrentWindowColours[2] = w.colours[2].colour;
|
||||
Drawing::gCurrentWindowColours[0] = w.colours[0].colour;
|
||||
Drawing::gCurrentWindowColours[1] = w.colours[1].colour;
|
||||
Drawing::gCurrentWindowColours[2] = w.colours[2].colour;
|
||||
|
||||
w.onDraw(copy);
|
||||
}
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
|
||||
#include "../Identifiers.h"
|
||||
#include "../core/EnumUtils.hpp"
|
||||
#include "../windows/TileInspectorGlobals.h"
|
||||
#include "Widget.h"
|
||||
#include "../core/FlagHolder.hpp"
|
||||
#include "WindowClasses.h"
|
||||
#include "ZoomLevel.h"
|
||||
|
||||
@@ -21,6 +20,8 @@
|
||||
|
||||
enum class CloseWindowModifier : uint8_t;
|
||||
|
||||
struct CoordsXYZ;
|
||||
|
||||
namespace OpenRCT2::Drawing
|
||||
{
|
||||
struct RenderTarget;
|
||||
@@ -29,6 +30,7 @@ namespace OpenRCT2::Drawing
|
||||
namespace OpenRCT2
|
||||
{
|
||||
using WindowNumber = int16_t;
|
||||
using WidgetIndex = uint16_t;
|
||||
|
||||
struct WindowBase;
|
||||
struct WindowCloseModifier;
|
||||
@@ -129,62 +131,6 @@ namespace OpenRCT2
|
||||
#define VALIDATE_GLOBAL_WIDX(wc, widx) \
|
||||
static_assert(widx == wc##__##widx, "Global WIDX of " #widx " doesn't match actual value.")
|
||||
|
||||
constexpr int32_t WC_MAIN_WINDOW__0 = 0;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT = 27;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE = 32;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_EXIT = 33;
|
||||
constexpr int32_t WC_RIDE_CONSTRUCTION__WIDX_ROTATE = 34;
|
||||
constexpr int32_t WC_MAZE_CONSTRUCTION__WIDX_MAZE_DIRECTION_GROUPBOX = WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT;
|
||||
constexpr int32_t WC_MAZE_CONSTRUCTION__WIDX_MAZE_ENTRANCE = WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE;
|
||||
constexpr int32_t WC_MAZE_CONSTRUCTION__WIDX_MAZE_EXIT = WC_RIDE_CONSTRUCTION__WIDX_EXIT;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_BACKGROUND = 0;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_TAB_1 = 15;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_ROTATE_OBJECTS_BUTTON = 5;
|
||||
constexpr int32_t WC_SCENERY__WIDX_SCENERY_EYEDROPPER_BUTTON = 10;
|
||||
constexpr int32_t WC_PEEP__WIDX_PATROL = 10;
|
||||
constexpr int32_t WC_PEEP__WIDX_ACTION_LBL = 13;
|
||||
constexpr int32_t WC_PEEP__WIDX_PICKUP = 14;
|
||||
constexpr int32_t WC_TRACK_DESIGN_LIST__WIDX_ROTATE = 8;
|
||||
constexpr int32_t WC_TRACK_DESIGN_PLACE__WIDX_ROTATE = 3;
|
||||
constexpr int32_t WC_EDITOR_PARK_ENTRANCE__WIDX_ROTATE_ENTRANCE_BUTTON = 6;
|
||||
constexpr int32_t WC_EDITOR_OBJECT_SELECTION__WIDX_TAB_1 = 22;
|
||||
constexpr int32_t WC_STAFF__WIDX_PICKUP = 9;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_ROTATE = 15;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_COPY = 18;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_PASTE = 17;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_SORT = 16;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_REMOVE = 12;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_MOVE_UP = 13;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_MOVE_DOWN = 14;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_X_INCREASE = 6;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_X_DECREASE = 7;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_Y_INCREASE = 10;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_Y_DECREASE = 11;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_SURFACE = EnumValue(TileInspectorPage::surface);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SURFACE_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SURFACE_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_PATH = EnumValue(TileInspectorPage::path);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_PATH_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_PATH_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_TRACK = EnumValue(TileInspectorPage::track);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_TRACK_SPINNER_HEIGHT_INCREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_TRACK_SPINNER_HEIGHT_DECREASE = 31;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_SCENERY = EnumValue(TileInspectorPage::scenery);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SCENERY_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SCENERY_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_ENTRANCE = EnumValue(TileInspectorPage::entrance);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_ENTRANCE_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_ENTRANCE_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_WALL = EnumValue(TileInspectorPage::wall);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_WALL_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_WALL_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_LARGE_SCENERY = EnumValue(TileInspectorPage::largeScenery);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_LARGE_SCENERY_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_LARGE_SCENERY_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_BANNER = EnumValue(TileInspectorPage::banner);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BANNER_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BANNER_SPINNER_HEIGHT_DECREASE = 30;
|
||||
|
||||
enum class PromptMode : uint8_t
|
||||
{
|
||||
saveBeforeLoad = 0,
|
||||
@@ -278,8 +224,6 @@ namespace OpenRCT2
|
||||
|
||||
extern uint32_t gWindowUpdateTicks;
|
||||
|
||||
extern Drawing::Colour gCurrentWindowColours[3];
|
||||
|
||||
std::vector<std::unique_ptr<WindowBase>>::iterator WindowGetIterator(const WindowBase* w);
|
||||
void WindowVisitEach(std::function<void(WindowBase*)> func);
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "ColourWithFlags.h"
|
||||
#include "Cursors.h"
|
||||
#include "ScrollArea.h"
|
||||
#include "Widget.h"
|
||||
#include "Window.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "../drawing/IDrawingEngine.h"
|
||||
#include "../drawing/Text.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../interface/Widget.h"
|
||||
#include "../localisation/Formatting.h"
|
||||
#include "../paint/Paint.h"
|
||||
#include "../paint/VirtualFloor.h"
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "../entity/Peep.h"
|
||||
#include "../entity/Staff.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../interface/WidgetIndexGlobals.h"
|
||||
#include "../interface/WindowBase.h"
|
||||
#include "../localisation/Formatter.h"
|
||||
#include "../localisation/Formatting.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "../entity/EntityList.h"
|
||||
#include "../entity/EntityRegistry.h"
|
||||
#include "../entity/Staff.h"
|
||||
#include "../interface/WidgetIndexGlobals.h"
|
||||
#include "../interface/WindowBase.h"
|
||||
#include "../localisation/Formatter.h"
|
||||
#include "../network/Network.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../interface/Widget.h"
|
||||
#include "WindowManager.h"
|
||||
|
||||
namespace OpenRCT2::Ui
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "../interface/Window.h"
|
||||
#include "../localisation/StringIdType.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../core/EnumUtils.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
struct TileCoordsXY;
|
||||
@@ -29,3 +31,39 @@ enum class TileInspectorPage : int16_t
|
||||
extern TileCoordsXY windowTileInspectorTile;
|
||||
extern int32_t windowTileInspectorElementCount;
|
||||
extern int32_t windowTileInspectorSelectedIndex;
|
||||
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_ROTATE = 15;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_COPY = 18;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_PASTE = 17;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_SORT = 16;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_REMOVE = 12;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_MOVE_UP = 13;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BUTTON_MOVE_DOWN = 14;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_X_INCREASE = 6;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_X_DECREASE = 7;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_Y_INCREASE = 10;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SPINNER_Y_DECREASE = 11;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_SURFACE = EnumValue(TileInspectorPage::surface);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SURFACE_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SURFACE_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_PATH = EnumValue(TileInspectorPage::path);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_PATH_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_PATH_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_TRACK = EnumValue(TileInspectorPage::track);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_TRACK_SPINNER_HEIGHT_INCREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_TRACK_SPINNER_HEIGHT_DECREASE = 31;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_SCENERY = EnumValue(TileInspectorPage::scenery);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SCENERY_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_SCENERY_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_ENTRANCE = EnumValue(TileInspectorPage::entrance);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_ENTRANCE_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_ENTRANCE_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_WALL = EnumValue(TileInspectorPage::wall);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_WALL_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_WALL_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_LARGE_SCENERY = EnumValue(TileInspectorPage::largeScenery);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_LARGE_SCENERY_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_LARGE_SCENERY_SPINNER_HEIGHT_DECREASE = 30;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__TILE_INSPECTOR_PAGE_BANNER = EnumValue(TileInspectorPage::banner);
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BANNER_SPINNER_HEIGHT_INCREASE = 29;
|
||||
constexpr int32_t WC_TILE_INSPECTOR__WIDX_BANNER_SPINNER_HEIGHT_DECREASE = 30;
|
||||
Reference in new issue
Block a user