forked from rosebudai/OpenRCT2-Web
Reduce includes in common header
This commit is contained in:
1 parent
3303246b09
commit
cd065d4f41
130 files changed
+205
-7
No files matched your search
@@ -27,6 +27,7 @@
|
||||
#include <openrct2/core/Math.hpp>
|
||||
#include <openrct2/core/String.hpp>
|
||||
#include <openrct2/drawing/IDrawingEngine.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/localisation/StringIds.h>
|
||||
#include <openrct2/platform/Platform2.h>
|
||||
#include <openrct2/ui/UiContext.h>
|
||||
|
||||
@@ -32,9 +32,11 @@
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/ride/Track.h>
|
||||
#include <openrct2/ride/TrackPaint.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/title/TitleScreen.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include "KeyboardShortcuts.h"
|
||||
|
||||
uint8 gKeyboardShortcutChangeId;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/interface/Window.h>
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
static uint16 toolSizeSpriteIndices[] =
|
||||
{
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
||||
@@ -21,9 +21,10 @@
|
||||
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/world/Scenery.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/world/Banner.h>
|
||||
#include <openrct2/world/Scenery.h>
|
||||
|
||||
#define WW 113
|
||||
#define WH 96
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum WINDOW_CUSTOM_CURRENCY_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define WW 200
|
||||
#define WH 100
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
// The maximum number of rows to list before items overflow into new columns
|
||||
#define DROPDOWN_TEXT_MAX_ROWS 32
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/Scenery.h>
|
||||
#include <openrct2/management/Research.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum {
|
||||
WIDX_PREVIOUS_IMAGE, // 1
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/Climate.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
#include <openrct2/localisation/StringIds.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <openrct2/drawing/Font.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
#include <openrct2/ride/RideData.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/world/Footpath.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum
|
||||
{
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
#include <openrct2/peep/Staff.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/world/Climate.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
|
||||
enum WINDOW_GAME_BOTTOM_TOOLBAR_WIDGET_IDX
|
||||
{
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/Footpath.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum WINDOW_GUEST_PAGE {
|
||||
WINDOW_GUEST_OVERVIEW,
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
||||
enum {
|
||||
PAGE_INDIVIDUAL,
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/ride/TrackDesign.h>
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum WINDOW_LAND_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum WINDOW_WATER_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/ride/TrackDesign.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <openrct2/world/Entrance.h>
|
||||
#include <openrct2/world/Footpath.h>
|
||||
#include <openrct2/world/Scenery.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <openrct2/world/MapGen.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
WINDOW_MAPGEN_PAGE_BASE,
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
static rct_widget window_map_tooltip_widgets[] = {
|
||||
{ WWT_IMGBTN, 0, 0, 199, 0, 29, 0xFFFFFFFF, STR_NONE },
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
WINDOW_MULTIPLAYER_PAGE_INFORMATION,
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum WINDOW_MUSIC_CREDITS_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/network/network.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
static char _password[33];
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <openrct2/ride/Ride.h>
|
||||
#include <openrct2/ride/RideData.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define SELECTED_RIDE_UNDEFINED ((uint16)0xFFFF)
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
#define AVAILABILITY_STRING_SIZE 256
|
||||
#define WH 382
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <openrct2/peep/Staff.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum WINDOW_NEWS_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
NOTIFICATION_CATEGORY_PARK,
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
||||
enum WINDOW_OPTIONS_PAGE {
|
||||
WINDOW_OPTIONS_PAGE_DISPLAY,
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include <openrct2/world/Entrance.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
||||
enum WINDOW_PARK_PAGE {
|
||||
WINDOW_PARK_PAGE_ENTRANCE,
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum WINDOW_PLAYER_PAGE {
|
||||
WINDOW_PLAYER_PAGE_OVERVIEW,
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/world/Scenery.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
|
||||
enum {
|
||||
WINDOW_RESEARCH_PAGE_DEVELOPMENT,
|
||||
|
||||
@@ -47,6 +47,8 @@
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/ride/Station.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/ride/TrackDesign.h>
|
||||
|
||||
enum {
|
||||
WINDOW_RIDE_PAGE_MAIN,
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/Entrance.h>
|
||||
#include <openrct2/world/Footpath.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -27,6 +27,9 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
PAGE_RIDES,
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
||||
enum WINDOW_SAVE_PROMPT_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/world/Scenery.h>
|
||||
#include <openrct2/world/SmallScenery.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/management/Research.h>
|
||||
|
||||
#define WINDOW_SCENERY_WIDTH 634
|
||||
#define WINDOW_SCENERY_HEIGHT 180
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define WWIDTH_MIN 500
|
||||
#define WHEIGHT_MIN 300
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <openrct2-ui/interface/Window.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define WW 250
|
||||
#define WH 60
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define WW 420
|
||||
#define WH 280
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <openrct2/world/Wall.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/world/Banner.h>
|
||||
|
||||
#define WW 113
|
||||
#define WH 96
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
|
||||
#define WW 190
|
||||
#define WH 180
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define WW 200
|
||||
#define WH 100
|
||||
|
||||
@@ -31,6 +31,9 @@
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/Footpath.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/management/Finance.h>
|
||||
|
||||
enum {
|
||||
WINDOW_STAFF_LIST_TAB_HANDYMEN,
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#define WW 250
|
||||
#define WH 90
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
WINDOW_THEMES_TAB_SETTINGS,
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#include <openrct2/world/Scenery.h>
|
||||
#include <openrct2/world/SmallScenery.h>
|
||||
#include <openrct2/world/TileInspector.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
#include <openrct2/world/Banner.h>
|
||||
|
||||
static constexpr const rct_string_id TerrainTypeStringIds[] = {
|
||||
STR_TILE_INSPECTOR_TERRAIN_GRASS,
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/world/Sprite.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
struct TITLE_COMMAND_ORDER {
|
||||
// originally a uint8, but the new millisecond wait times require a uint16.
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
||||
enum WINDOW_TITLE_EDITOR_TAB {
|
||||
WINDOW_TITLE_EDITOR_TAB_PRESETS,
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/interface/Colour.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
static rct_widget window_title_logo_widgets[] = {
|
||||
{ WIDGETS_END },
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
|
||||
#define INITIAL_NUM_UNLOCKED_SCENARIOS 5
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
#include <openrct2/world/SmallScenery.h>
|
||||
#include <openrct2/world/Wall.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2/scenario/Scenario.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
enum {
|
||||
WIDX_PAUSE,
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/ride/TrackDesign.h>
|
||||
#include <openrct2/world/Park.h>
|
||||
|
||||
#define TRACK_MINI_PREVIEW_WIDTH 168
|
||||
#define TRACK_MINI_PREVIEW_HEIGHT 78
|
||||
@@ -40,6 +42,8 @@
|
||||
#define PALETTE_INDEX_PRIMARY_MID_DARK (248)
|
||||
#define PALETTE_INDEX_PRIMARY_LIGHTEST (252)
|
||||
|
||||
struct rct_track_td6;
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND,
|
||||
WIDX_TITLE,
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/ride/TrackDesign.h>
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2/paint/Paint.h>
|
||||
|
||||
enum WINDOW_VIEW_CLIPPING_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2/localisation/Localisation.h>
|
||||
#include <openrct2-ui/interface/LandTool.h>
|
||||
#include <openrct2/drawing/Drawing.h>
|
||||
|
||||
enum WINDOW_WATER_WIDGET_IDX {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -20,9 +20,13 @@
|
||||
|
||||
#include <openrct2-ui/interface/Window.h>
|
||||
#include <openrct2/windows/tile_inspector.h>
|
||||
#include <openrct2/ride/Ride.h>
|
||||
|
||||
using loadsave_callback = void (*)(sint32 result, const utf8 * path);
|
||||
using scenarioselect_callback = void (*)(const utf8 *path);
|
||||
struct rct_peep;
|
||||
struct rct_tile_element;
|
||||
struct rct_vehicle;
|
||||
|
||||
rct_window * window_about_open();
|
||||
rct_window * window_changelog_open();
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include "config/Config.h"
|
||||
#include "localisation/Localisation.h"
|
||||
#include "network/network.h"
|
||||
#include "ride/Ride.h"
|
||||
#include "scenario/Scenario.h"
|
||||
#include "util/Util.h"
|
||||
#include "world/Climate.h"
|
||||
#include "world/Footpath.h"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "platform/Crash.h"
|
||||
#include "PlatformEnvironment.h"
|
||||
#include "ride/TrackDesignRepository.h"
|
||||
#include "scenario/Scenario.h"
|
||||
#include "scenario/ScenarioRepository.h"
|
||||
#include "title/TitleScreen.h"
|
||||
#include "title/TitleSequenceManager.h"
|
||||
|
||||
@@ -31,12 +31,14 @@
|
||||
#include "object/ObjectManager.h"
|
||||
#include "peep/Staff.h"
|
||||
#include "rct1/RCT1.h"
|
||||
#include "scenario/Scenario.h"
|
||||
#include "util/Util.h"
|
||||
#include "windows/Intent.h"
|
||||
#include "world/Climate.h"
|
||||
#include "world/Entrance.h"
|
||||
#include "world/Footpath.h"
|
||||
#include "world/Scenery.h"
|
||||
#include "world/Park.h"
|
||||
#include "interface/Window_internal.h"
|
||||
|
||||
namespace Editor
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "EditorObjectSelectionSession.h"
|
||||
#include "Game.h"
|
||||
#include "localisation/Localisation.h"
|
||||
#include "management/Research.h"
|
||||
#include "object/DefaultObjects.h"
|
||||
#include "object/ObjectList.h"
|
||||
#include "object/ObjectManager.h"
|
||||
|
||||
@@ -22,10 +22,12 @@
|
||||
|
||||
#include "../Cheats.h"
|
||||
#include "../Context.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../interface/Window.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Park.h"
|
||||
#include "../world/Sprite.h"
|
||||
|
||||
struct GuestSetNameAction : public GameActionBase<GAME_COMMAND_SET_GUEST_NAME, GameActionResult>
|
||||
{
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "../Cheats.h"
|
||||
#include "../interface/Window.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../management/Finance.h"
|
||||
#include "../ride/Track.h"
|
||||
#include "../ride/TrackData.h"
|
||||
#include "../world/Park.h"
|
||||
|
||||
@@ -22,9 +22,12 @@
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../Cheats.h"
|
||||
#include "../management/Finance.h"
|
||||
#include "../world/Entrance.h"
|
||||
#include "../world/Park.h"
|
||||
#include "../world/Footpath.h"
|
||||
#include "../world/MapAnimation.h"
|
||||
#include "../world/Sprite.h"
|
||||
|
||||
struct PlaceParkEntranceAction : public GameActionBase<GAME_COMMAND_PLACE_PARK_ENTRANCE, GameActionResult>
|
||||
{
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "../ride/RideData.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../ride/Station.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
|
||||
class RideCreateGameActionResult final : public GameActionResult
|
||||
{
|
||||
|
||||
@@ -24,8 +24,11 @@
|
||||
#include "../Game.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../interface/Window.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/Map.h"
|
||||
#include "../world/Sprite.h"
|
||||
#include "Drawing.h"
|
||||
#include "LightFX.h"
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "Drawing.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../ride/TrackDesign.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
|
||||
#include "IDrawingEngine.h"
|
||||
#include "Rain.h"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include "../config/Config.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../interface/Viewport.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../platform/platform.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "../audio/audio.h"
|
||||
#include "../audio/AudioMixer.h"
|
||||
#include "../Context.h"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../interface/themes.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../network/network.h"
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/Map.h"
|
||||
#include "../world/Park.h"
|
||||
#include "Viewport.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
@@ -31,12 +31,14 @@
|
||||
#include "../core/Math.hpp"
|
||||
#include "../core/Path.hpp"
|
||||
#include "../core/String.hpp"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../localisation/Language.h"
|
||||
#include "../localisation/StringIds.h"
|
||||
#include "../PlatformEnvironment.h"
|
||||
#include "themes.h"
|
||||
#include "Window.h"
|
||||
#include "Window_internal.h"
|
||||
#include "Colour.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../paint/Paint.h"
|
||||
#include "../peep/Staff.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../ride/TrackDesign.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/Map.h"
|
||||
#include "../world/Sprite.h"
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#define _VIEWPORT_H_
|
||||
|
||||
#include "Window.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
struct paint_session;
|
||||
struct paint_struct;
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "../world/Scenery.h"
|
||||
#include "../world/LargeScenery.h"
|
||||
#include "../world/Sprite.h"
|
||||
#include "../world/Park.h"
|
||||
#include "Viewport.h"
|
||||
#include "Window_internal.h"
|
||||
#include "../Context.h"
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../Input.h"
|
||||
#include "../sprites.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "../localisation/StringIds.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../world/Map.h"
|
||||
#include "../world/Sprite.h"
|
||||
#include "Viewport.h"
|
||||
|
||||
@@ -18,13 +18,8 @@
|
||||
#define _WINDOW_H_
|
||||
|
||||
#include "../common.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../ride/TrackDesign.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../world/Park.h"
|
||||
#include "../paint/Paint.h"
|
||||
#include "Colour.h"
|
||||
|
||||
struct rct_drawpixelinfo;
|
||||
struct rct_window;
|
||||
union rct_window_event;
|
||||
struct track_design_file_ref;
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#define _WINDOW2_H_
|
||||
|
||||
struct rct_research_item;
|
||||
struct rct_object_entry;
|
||||
|
||||
/**
|
||||
* Window structure
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "../peep/Peep.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../world/Park.h"
|
||||
#include "Award.h"
|
||||
#include "NewsItem.h"
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "../peep/Peep.h"
|
||||
#include "../peep/Staff.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Park.h"
|
||||
#include "../world/Sprite.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../ride/RideData.h"
|
||||
#include "../world/Park.h"
|
||||
#include "../Cheats.h"
|
||||
#include "Finance.h"
|
||||
#include "Marketing.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "../interface/Window.h"
|
||||
#include "../localisation/Date.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../management/Research.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../ride/Ride.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
@@ -70,6 +70,7 @@ static sint32 _pickup_peep_old_x = LOCATION_NULL;
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../world/Park.h"
|
||||
|
||||
#include "NetworkAction.h"
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#ifndef _VIRTUAL_FLOOR_H
|
||||
#define _VIRTUAL_FLOOR_H
|
||||
|
||||
struct paint_session;
|
||||
|
||||
uint16 virtual_floor_get_height();
|
||||
|
||||
bool virtual_floor_is_enabled();
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
#include "../../world/Sprite.h"
|
||||
#include "../../ride/RideData.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../peep/Staff.h"
|
||||
#include "../../ride/VehiclePaint.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
|
||||
/**
|
||||
* Paint Quadrant
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "../../Game.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../localisation/Localisation.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "TileElement.h"
|
||||
#include "../../world/Banner.h"
|
||||
#include "../../world/Scenery.h"
|
||||
|
||||
@@ -19,8 +19,10 @@
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../localisation/Localisation.h"
|
||||
#include "../../ride/RideData.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "../../world/Entrance.h"
|
||||
#include "../../world/Footpath.h"
|
||||
#include "../../world/Park.h"
|
||||
#include "../Paint.h"
|
||||
#include "../Supports.h"
|
||||
#include "TileElement.h"
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "../../interface/Colour.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../ride/Track.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "../../world/Banner.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../../world/Scenery.h"
|
||||
#include "../../world/Wall.h"
|
||||
|
||||
@@ -19,7 +19,10 @@
|
||||
#include "../../Game.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../localisation/Localisation.h"
|
||||
#include "../../ride/Ride.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "../../util/Util.h"
|
||||
#include "../../world/Banner.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../../world/LargeScenery.h"
|
||||
#include "../../world/Scenery.h"
|
||||
|
||||
@@ -21,9 +21,11 @@
|
||||
#include "../../object/ObjectList.h"
|
||||
#include "../../peep/Staff.h"
|
||||
#include "../../ride/Track.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "../../ride/TrackPaint.h"
|
||||
#include "../../world/Footpath.h"
|
||||
#include "../../world/Scenery.h"
|
||||
#include "../../world/Sprite.h"
|
||||
#include "../Paint.h"
|
||||
#include "../Supports.h"
|
||||
#include "TileElement.h"
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../localisation/Date.h"
|
||||
#include "../Paint.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "../Supports.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../../world/Scenery.h"
|
||||
|
||||
@@ -21,9 +21,14 @@
|
||||
#include "../../config/Config.h"
|
||||
#include "../../core/Math.hpp"
|
||||
#include "../../core/Util.hpp"
|
||||
#include "../../drawing/Drawing.h"
|
||||
#include "../../interface/Colour.h"
|
||||
#include "../../interface/Viewport.h"
|
||||
#include "../../paint/Paint.h"
|
||||
#include "../../peep/Staff.h"
|
||||
#include "../../ride/TrackDesign.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Sprite.h"
|
||||
#include "Surface.h"
|
||||
#include "TileElement.h"
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "../world/Footpath.h"
|
||||
#include "../world/Map.h"
|
||||
#include "../world/LargeScenery.h"
|
||||
#include "../world/Park.h"
|
||||
#include "../world/Scenery.h"
|
||||
#include "../world/SmallScenery.h"
|
||||
#include "../world/Sprite.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "../object/ObjectRepository.h"
|
||||
#include "../ParkImporter.h"
|
||||
#include "../ride/Station.h"
|
||||
#include "../scenario/Scenario.h"
|
||||
#include "../scenario/ScenarioSources.h"
|
||||
#include "../scenario/ScenarioRepository.h"
|
||||
#include "Tables.h"
|
||||
|
||||
Loaded 100 of 130 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user