diff --git a/src/openrct2-ui/interface/ViewportInteraction.cpp b/src/openrct2-ui/interface/ViewportInteraction.cpp index 0c6c88bcea..71e86839c0 100644 --- a/src/openrct2-ui/interface/ViewportInteraction.cpp +++ b/src/openrct2-ui/interface/ViewportInteraction.cpp @@ -31,7 +31,10 @@ #include #include #include +#include +#include #include +#include #include #include #include diff --git a/src/openrct2-ui/windows/Banner.cpp b/src/openrct2-ui/windows/Banner.cpp index 64cc65814d..3c8d0a3f54 100644 --- a/src/openrct2-ui/windows/Banner.cpp +++ b/src/openrct2-ui/windows/Banner.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/src/openrct2-ui/windows/Scenery.cpp b/src/openrct2-ui/windows/Scenery.cpp index 4c429c3972..f406b577c3 100644 --- a/src/openrct2-ui/windows/Scenery.cpp +++ b/src/openrct2-ui/windows/Scenery.cpp @@ -20,8 +20,11 @@ #include #include #include +#include +#include #include #include +#include #include #include #include diff --git a/src/openrct2-ui/windows/Sign.cpp b/src/openrct2-ui/windows/Sign.cpp index 3da1ee130a..68f55463c0 100644 --- a/src/openrct2-ui/windows/Sign.cpp +++ b/src/openrct2-ui/windows/Sign.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/src/openrct2-ui/windows/TileInspector.cpp b/src/openrct2-ui/windows/TileInspector.cpp index 4a743ac5ec..a05650155a 100644 --- a/src/openrct2-ui/windows/TileInspector.cpp +++ b/src/openrct2-ui/windows/TileInspector.cpp @@ -20,12 +20,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include diff --git a/src/openrct2-ui/windows/TopToolbar.cpp b/src/openrct2-ui/windows/TopToolbar.cpp index 6ec150978f..6a2448bf18 100644 --- a/src/openrct2-ui/windows/TopToolbar.cpp +++ b/src/openrct2-ui/windows/TopToolbar.cpp @@ -53,7 +53,9 @@ #include #include #include +#include #include +#include #include #include #include diff --git a/src/openrct2/actions/BannerPlaceAction.cpp b/src/openrct2/actions/BannerPlaceAction.cpp index 63055bb589..c8164b628c 100644 --- a/src/openrct2/actions/BannerPlaceAction.cpp +++ b/src/openrct2/actions/BannerPlaceAction.cpp @@ -10,6 +10,7 @@ #include "BannerPlaceAction.h" #include "../management/Finance.h" +#include "../object/BannerSceneryEntry.h" #include "../world/Banner.h" #include "../world/MapAnimation.h" #include "../world/Scenery.h" diff --git a/src/openrct2/actions/BannerRemoveAction.cpp b/src/openrct2/actions/BannerRemoveAction.cpp index 7271e9ea8b..3e7236e715 100644 --- a/src/openrct2/actions/BannerRemoveAction.cpp +++ b/src/openrct2/actions/BannerRemoveAction.cpp @@ -10,6 +10,7 @@ #include "BannerRemoveAction.h" #include "../management/Finance.h" +#include "../object/BannerSceneryEntry.h" #include "../world/Banner.h" #include "../world/MapAnimation.h" #include "../world/Scenery.h" diff --git a/src/openrct2/actions/CheatSetAction.cpp b/src/openrct2/actions/CheatSetAction.cpp index aaa7e6311a..b712dd6a31 100644 --- a/src/openrct2/actions/CheatSetAction.cpp +++ b/src/openrct2/actions/CheatSetAction.cpp @@ -21,6 +21,7 @@ #include "../localisation/Localisation.h" #include "../localisation/StringIds.h" #include "../network/network.h" +#include "../object/FootpathItemEntry.h" #include "../ride/Ride.h" #include "../ride/Vehicle.h" #include "../scenario/Scenario.h" diff --git a/src/openrct2/actions/FootpathAdditionPlaceAction.cpp b/src/openrct2/actions/FootpathAdditionPlaceAction.cpp index 4d19db4251..fead31c545 100644 --- a/src/openrct2/actions/FootpathAdditionPlaceAction.cpp +++ b/src/openrct2/actions/FootpathAdditionPlaceAction.cpp @@ -15,6 +15,7 @@ #include "../interface/Window.h" #include "../localisation/StringIds.h" #include "../management/Finance.h" +#include "../object/FootpathItemEntry.h" #include "../world/Footpath.h" #include "../world/Location.hpp" #include "../world/Park.h" diff --git a/src/openrct2/actions/FootpathPlaceAction.cpp b/src/openrct2/actions/FootpathPlaceAction.cpp index ecb62d6f6c..93f7f319c4 100644 --- a/src/openrct2/actions/FootpathPlaceAction.cpp +++ b/src/openrct2/actions/FootpathPlaceAction.cpp @@ -15,6 +15,7 @@ #include "../interface/Window.h" #include "../localisation/StringIds.h" #include "../management/Finance.h" +#include "../object/FootpathItemEntry.h" #include "../ride/RideConstruction.h" #include "../world/ConstructionClearance.h" #include "../world/Footpath.h" diff --git a/src/openrct2/actions/WallPlaceAction.cpp b/src/openrct2/actions/WallPlaceAction.cpp index f407acad72..4fb125c3f5 100644 --- a/src/openrct2/actions/WallPlaceAction.cpp +++ b/src/openrct2/actions/WallPlaceAction.cpp @@ -12,6 +12,7 @@ #include "../OpenRCT2.h" #include "../management/Finance.h" #include "../object/SmallSceneryEntry.h" +#include "../object/WallSceneryEntry.h" #include "../ride/Track.h" #include "../ride/TrackDesign.h" #include "../world/Banner.h" diff --git a/src/openrct2/actions/WallSetColourAction.cpp b/src/openrct2/actions/WallSetColourAction.cpp index 68435c0219..ed9c352704 100644 --- a/src/openrct2/actions/WallSetColourAction.cpp +++ b/src/openrct2/actions/WallSetColourAction.cpp @@ -11,6 +11,7 @@ #include "../OpenRCT2.h" #include "../management/Finance.h" +#include "../object/WallSceneryEntry.h" #include "../ride/Track.h" #include "../ride/TrackData.h" #include "../world/Banner.h" diff --git a/src/openrct2/entity/Fountain.cpp b/src/openrct2/entity/Fountain.cpp index f519f82fd3..818a59005a 100644 --- a/src/openrct2/entity/Fountain.cpp +++ b/src/openrct2/entity/Fountain.cpp @@ -11,6 +11,7 @@ #include "../Game.h" #include "../core/DataSerialiser.h" +#include "../object/FootpathItemEntry.h" #include "../paint/Paint.h" #include "../profiling/Profiling.h" #include "../scenario/Scenario.h" diff --git a/src/openrct2/entity/Guest.cpp b/src/openrct2/entity/Guest.cpp index 2d34a84e08..9b2516b607 100644 --- a/src/openrct2/entity/Guest.cpp +++ b/src/openrct2/entity/Guest.cpp @@ -29,7 +29,9 @@ #include "../management/Marketing.h" #include "../management/NewsItem.h" #include "../network/network.h" +#include "../object/FootpathItemEntry.h" #include "../object/MusicObject.h" +#include "../object/WallSceneryEntry.h" #include "../peep/GuestPathfinding.h" #include "../peep/RideUseSystem.h" #include "../rct2/RCT2.h" diff --git a/src/openrct2/entity/Staff.cpp b/src/openrct2/entity/Staff.cpp index c74bdd172f..5c1c700a69 100644 --- a/src/openrct2/entity/Staff.cpp +++ b/src/openrct2/entity/Staff.cpp @@ -23,6 +23,7 @@ #include "../localisation/StringIds.h" #include "../management/Finance.h" #include "../network/network.h" +#include "../object/FootpathItemEntry.h" #include "../object/ObjectList.h" #include "../object/ObjectManager.h" #include "../object/SmallSceneryEntry.h" diff --git a/src/openrct2/interface/Viewport.cpp b/src/openrct2/interface/Viewport.cpp index 3d5863b565..82e87c4866 100644 --- a/src/openrct2/interface/Viewport.cpp +++ b/src/openrct2/interface/Viewport.cpp @@ -23,6 +23,7 @@ #include "../entity/PatrolArea.h" #include "../entity/Staff.h" #include "../object/SmallSceneryEntry.h" +#include "../object/WallSceneryEntry.h" #include "../paint/Paint.h" #include "../profiling/Profiling.h" #include "../ride/Ride.h" diff --git a/src/openrct2/libopenrct2.vcxproj b/src/openrct2/libopenrct2.vcxproj index 1e5587325f..097a960400 100644 --- a/src/openrct2/libopenrct2.vcxproj +++ b/src/openrct2/libopenrct2.vcxproj @@ -295,8 +295,10 @@ + + @@ -321,6 +323,7 @@ + diff --git a/src/openrct2/object/BannerObject.h b/src/openrct2/object/BannerObject.h index ad3819ef43..fe348f4bba 100644 --- a/src/openrct2/object/BannerObject.h +++ b/src/openrct2/object/BannerObject.h @@ -10,7 +10,7 @@ #pragma once #include "../core/IStream.hpp" -#include "../world/Scenery.h" +#include "BannerSceneryEntry.h" #include "SceneryObject.h" class BannerObject final : public SceneryObject diff --git a/src/openrct2/object/BannerSceneryEntry.h b/src/openrct2/object/BannerSceneryEntry.h new file mode 100644 index 0000000000..3f19377cdf --- /dev/null +++ b/src/openrct2/object/BannerSceneryEntry.h @@ -0,0 +1,29 @@ +/***************************************************************************** + * Copyright (c) 2014-2023 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 "../common.h" + +using ObjectEntryIndex = uint16_t; + +enum +{ + BANNER_ENTRY_FLAG_HAS_PRIMARY_COLOUR = (1 << 0), +}; + +struct BannerSceneryEntry +{ + StringId name; + uint32_t image; + uint8_t scrolling_mode; + uint8_t flags; + int16_t price; + ObjectEntryIndex scenery_tab_id; +}; diff --git a/src/openrct2/object/FootpathItemEntry.h b/src/openrct2/object/FootpathItemEntry.h new file mode 100644 index 0000000000..be3c3e0c84 --- /dev/null +++ b/src/openrct2/object/FootpathItemEntry.h @@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2014-2023 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 "../common.h" +#include "../interface/Cursors.h" + +using ObjectEntryIndex = uint16_t; + +enum class PathBitDrawType : uint8_t +{ + Light, + Bin, + Bench, + JumpingFountain, +}; + +enum +{ + PATH_BIT_FLAG_IS_BIN = 1 << 0, + PATH_BIT_FLAG_IS_BENCH = 1 << 1, + PATH_BIT_FLAG_BREAKABLE = 1 << 2, + PATH_BIT_FLAG_LAMP = 1 << 3, + PATH_BIT_FLAG_JUMPING_FOUNTAIN_WATER = 1 << 4, + PATH_BIT_FLAG_JUMPING_FOUNTAIN_SNOW = 1 << 5, + PATH_BIT_FLAG_DONT_ALLOW_ON_QUEUE = 1 << 6, + PATH_BIT_FLAG_DONT_ALLOW_ON_SLOPE = 1 << 7, + PATH_BIT_FLAG_IS_QUEUE_SCREEN = 1 << 8 +}; + +struct PathBitEntry +{ + StringId name; + uint32_t image; + uint16_t flags; + PathBitDrawType draw_type; + CursorID tool_id; + money16 price; + ObjectEntryIndex scenery_tab_id; +}; diff --git a/src/openrct2/object/FootpathItemObject.h b/src/openrct2/object/FootpathItemObject.h index 37985eb3b2..d3085292fd 100644 --- a/src/openrct2/object/FootpathItemObject.h +++ b/src/openrct2/object/FootpathItemObject.h @@ -9,7 +9,7 @@ #pragma once -#include "../world/Scenery.h" +#include "FootpathItemEntry.h" #include "SceneryObject.h" class FootpathItemObject final : public SceneryObject diff --git a/src/openrct2/object/ObjectManager.cpp b/src/openrct2/object/ObjectManager.cpp index b1ed94e6c3..ba17ceb124 100644 --- a/src/openrct2/object/ObjectManager.cpp +++ b/src/openrct2/object/ObjectManager.cpp @@ -18,6 +18,7 @@ #include "../ride/Ride.h" #include "../ride/RideAudio.h" #include "../util/Util.h" +#include "BannerSceneryEntry.h" #include "FootpathItemObject.h" #include "LargeSceneryObject.h" #include "Object.h" diff --git a/src/openrct2/object/WallObject.h b/src/openrct2/object/WallObject.h index 900327d335..ccae049136 100644 --- a/src/openrct2/object/WallObject.h +++ b/src/openrct2/object/WallObject.h @@ -9,8 +9,8 @@ #pragma once -#include "../world/Scenery.h" #include "SceneryObject.h" +#include "WallSceneryEntry.h" class WallObject final : public SceneryObject { diff --git a/src/openrct2/object/WallSceneryEntry.h b/src/openrct2/object/WallSceneryEntry.h new file mode 100644 index 0000000000..6be71c7e34 --- /dev/null +++ b/src/openrct2/object/WallSceneryEntry.h @@ -0,0 +1,49 @@ +/***************************************************************************** + * Copyright (c) 2014-2023 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 "../common.h" +#include "../interface/Cursors.h" + +using ObjectEntryIndex = uint16_t; + +enum WALL_SCENERY_FLAGS +{ + WALL_SCENERY_HAS_PRIMARY_COLOUR = (1 << 0), // 0x1 + WALL_SCENERY_HAS_GLASS = (1 << 1), // 0x2 + WALL_SCENERY_CANT_BUILD_ON_SLOPE = (1 << 2), // 0x4 + WALL_SCENERY_IS_DOUBLE_SIDED = (1 << 3), // 0x8 + WALL_SCENERY_IS_DOOR = (1 << 4), // 0x10 + WALL_SCENERY_LONG_DOOR_ANIMATION = (1 << 5), // 0x20 + WALL_SCENERY_HAS_SECONDARY_COLOUR = (1 << 6), // 0x40 + WALL_SCENERY_HAS_TERTIARY_COLOUR = (1 << 7), // 0x80 +}; + +enum WALL_SCENERY_2_FLAGS +{ + WALL_SCENERY_2_NO_SELECT_PRIMARY_COLOUR = (1 << 0), // 0x1 + WALL_SCENERY_2_DOOR_SOUND_MASK = 0x6, + WALL_SCENERY_2_DOOR_SOUND_SHIFT = 1, + WALL_SCENERY_2_IS_OPAQUE = (1 << 3), // 0x8 + WALL_SCENERY_2_ANIMATED = (1 << 4), // 0x10 +}; + +struct WallSceneryEntry +{ + StringId name; + uint32_t image; + CursorID tool_id; + uint8_t flags; + uint8_t height; + uint8_t flags2; + money16 price; + ObjectEntryIndex scenery_tab_id; + uint8_t scrolling_mode; +}; diff --git a/src/openrct2/paint/tile_element/Paint.Banner.cpp b/src/openrct2/paint/tile_element/Paint.Banner.cpp index 4a1d898660..e46cb409df 100644 --- a/src/openrct2/paint/tile_element/Paint.Banner.cpp +++ b/src/openrct2/paint/tile_element/Paint.Banner.cpp @@ -15,6 +15,7 @@ #include "../../localisation/Formatter.h" #include "../../localisation/Formatting.h" #include "../../localisation/Localisation.h" +#include "../../object/BannerObject.h" #include "../../profiling/Profiling.h" #include "../../ride/TrackDesign.h" #include "../../sprites.h" diff --git a/src/openrct2/paint/tile_element/Paint.Path.cpp b/src/openrct2/paint/tile_element/Paint.Path.cpp index bce0c0f961..2d5e2d7da8 100644 --- a/src/openrct2/paint/tile_element/Paint.Path.cpp +++ b/src/openrct2/paint/tile_element/Paint.Path.cpp @@ -22,6 +22,7 @@ #include "../../localisation/Formatter.h" #include "../../localisation/Formatting.h" #include "../../localisation/Localisation.h" +#include "../../object/FootpathItemEntry.h" #include "../../object/FootpathObject.h" #include "../../object/FootpathRailingsObject.h" #include "../../object/FootpathSurfaceObject.h" diff --git a/src/openrct2/paint/tile_element/Paint.Wall.cpp b/src/openrct2/paint/tile_element/Paint.Wall.cpp index 4fa99de7c1..0d8d44f46f 100644 --- a/src/openrct2/paint/tile_element/Paint.Wall.cpp +++ b/src/openrct2/paint/tile_element/Paint.Wall.cpp @@ -17,6 +17,7 @@ #include "../../interface/Viewport.h" #include "../../localisation/Formatting.h" #include "../../localisation/Localisation.h" +#include "../../object/WallSceneryEntry.h" #include "../../profiling/Profiling.h" #include "../../ride/Track.h" #include "../../ride/TrackDesign.h" diff --git a/src/openrct2/rct2/S6Importer.cpp b/src/openrct2/rct2/S6Importer.cpp index efeaebf391..51bb6c9434 100644 --- a/src/openrct2/rct2/S6Importer.cpp +++ b/src/openrct2/rct2/S6Importer.cpp @@ -48,6 +48,7 @@ #include "../object/ObjectList.h" #include "../object/ObjectManager.h" #include "../object/ObjectRepository.h" +#include "../object/WallSceneryEntry.h" #include "../peep/RideUseSystem.h" #include "../rct12/EntryList.h" #include "../rct12/RCT12.h" diff --git a/src/openrct2/world/Banner.cpp b/src/openrct2/world/Banner.cpp index ab0c9355b7..5dd64a1d62 100644 --- a/src/openrct2/world/Banner.cpp +++ b/src/openrct2/world/Banner.cpp @@ -18,6 +18,7 @@ #include "../localisation/Localisation.h" #include "../management/Finance.h" #include "../network/network.h" +#include "../object/WallSceneryEntry.h" #include "../ride/Ride.h" #include "../ride/RideData.h" #include "../ride/Track.h" diff --git a/src/openrct2/world/ConstructionClearance.cpp b/src/openrct2/world/ConstructionClearance.cpp index a9c917a2aa..b6321ff91b 100644 --- a/src/openrct2/world/ConstructionClearance.cpp +++ b/src/openrct2/world/ConstructionClearance.cpp @@ -12,6 +12,7 @@ #include "../Game.h" #include "../localisation/Formatter.h" #include "../object/SmallSceneryEntry.h" +#include "../object/WallSceneryEntry.h" #include "../openrct2/Cheats.h" #include "../ride/Ride.h" #include "../ride/RideData.h" diff --git a/src/openrct2/world/MapAnimation.cpp b/src/openrct2/world/MapAnimation.cpp index 33926f2e38..dc32ab77d5 100644 --- a/src/openrct2/world/MapAnimation.cpp +++ b/src/openrct2/world/MapAnimation.cpp @@ -16,6 +16,7 @@ #include "../interface/Viewport.h" #include "../object/SmallSceneryEntry.h" #include "../object/StationObject.h" +#include "../object/WallSceneryEntry.h" #include "../profiling/Profiling.h" #include "../ride/Ride.h" #include "../ride/RideData.h" diff --git a/src/openrct2/world/Scenery.cpp b/src/openrct2/world/Scenery.cpp index 9e0a5a8ac0..6840ef1b5c 100644 --- a/src/openrct2/world/Scenery.cpp +++ b/src/openrct2/world/Scenery.cpp @@ -23,9 +23,11 @@ #include "../entity/Fountain.h" #include "../localisation/Localisation.h" #include "../network/network.h" +#include "../object/FootpathItemEntry.h" #include "../object/ObjectList.h" #include "../object/ObjectManager.h" #include "../object/SmallSceneryEntry.h" +#include "../object/WallSceneryEntry.h" #include "../scenario/Scenario.h" #include "Climate.h" #include "Footpath.h" diff --git a/src/openrct2/world/Scenery.h b/src/openrct2/world/Scenery.h index d046513087..588130ca6b 100644 --- a/src/openrct2/world/Scenery.h +++ b/src/openrct2/world/Scenery.h @@ -98,56 +98,6 @@ enum LARGE_SCENERY_FLAGS LARGE_SCENERY_FLAG_HAS_TERTIARY_COLOUR = (1 << 6), // 0x40 }; -enum WALL_SCENERY_FLAGS -{ - WALL_SCENERY_HAS_PRIMARY_COLOUR = (1 << 0), // 0x1 - WALL_SCENERY_HAS_GLASS = (1 << 1), // 0x2 - WALL_SCENERY_CANT_BUILD_ON_SLOPE = (1 << 2), // 0x4 - WALL_SCENERY_IS_DOUBLE_SIDED = (1 << 3), // 0x8 - WALL_SCENERY_IS_DOOR = (1 << 4), // 0x10 - WALL_SCENERY_LONG_DOOR_ANIMATION = (1 << 5), // 0x20 - WALL_SCENERY_HAS_SECONDARY_COLOUR = (1 << 6), // 0x40 - WALL_SCENERY_HAS_TERTIARY_COLOUR = (1 << 7), // 0x80 -}; - -enum WALL_SCENERY_2_FLAGS -{ - WALL_SCENERY_2_NO_SELECT_PRIMARY_COLOUR = (1 << 0), // 0x1 - WALL_SCENERY_2_DOOR_SOUND_MASK = 0x6, - WALL_SCENERY_2_DOOR_SOUND_SHIFT = 1, - WALL_SCENERY_2_IS_OPAQUE = (1 << 3), // 0x8 - WALL_SCENERY_2_ANIMATED = (1 << 4), // 0x10 -}; - -struct WallSceneryEntry : SceneryEntryBase -{ - CursorID tool_id; - uint8_t flags; - uint8_t height; - uint8_t flags2; - money16 price; - ObjectEntryIndex scenery_tab_id; - uint8_t scrolling_mode; -}; -enum class PathBitDrawType : uint8_t; - -struct PathBitEntry : SceneryEntryBase -{ - uint16_t flags; - PathBitDrawType draw_type; - CursorID tool_id; - money16 price; - ObjectEntryIndex scenery_tab_id; -}; - -struct BannerSceneryEntry : SceneryEntryBase -{ - uint8_t scrolling_mode; - uint8_t flags; - int16_t price; - ObjectEntryIndex scenery_tab_id; -}; - #pragma pack(pop) struct LargeSceneryText @@ -175,27 +125,6 @@ struct SceneryGroupEntry uint32_t entertainer_costumes; }; -enum -{ - PATH_BIT_FLAG_IS_BIN = 1 << 0, - PATH_BIT_FLAG_IS_BENCH = 1 << 1, - PATH_BIT_FLAG_BREAKABLE = 1 << 2, - PATH_BIT_FLAG_LAMP = 1 << 3, - PATH_BIT_FLAG_JUMPING_FOUNTAIN_WATER = 1 << 4, - PATH_BIT_FLAG_JUMPING_FOUNTAIN_SNOW = 1 << 5, - PATH_BIT_FLAG_DONT_ALLOW_ON_QUEUE = 1 << 6, - PATH_BIT_FLAG_DONT_ALLOW_ON_SLOPE = 1 << 7, - PATH_BIT_FLAG_IS_QUEUE_SCREEN = 1 << 8 -}; - -enum class PathBitDrawType : uint8_t -{ - Light, - Bin, - Bench, - JumpingFountain, -}; - enum { SCENERY_TYPE_SMALL, @@ -216,11 +145,6 @@ enum SCENERY_GHOST_FLAG_4 = (1 << SCENERY_TYPE_BANNER) }; -enum -{ - BANNER_ENTRY_FLAG_HAS_PRIMARY_COLOUR = (1 << 0), -}; - enum class ScatterToolDensity : uint8_t { LowDensity, @@ -257,6 +181,8 @@ void SceneryUpdateTile(const CoordsXY& sceneryPos); void ScenerySetDefaultPlacementConfiguration(); void SceneryRemoveGhostToolPlacement(); +struct WallSceneryEntry; + WallSceneryEntry* GetWallEntry(ObjectEntryIndex entryIndex); BannerSceneryEntry* GetBannerEntry(ObjectEntryIndex entryIndex); PathBitEntry* GetFootpathItemEntry(ObjectEntryIndex entryIndex); diff --git a/src/openrct2/world/TileElement.cpp b/src/openrct2/world/TileElement.cpp index fdc982fe11..cf0b5b6ec7 100644 --- a/src/openrct2/world/TileElement.cpp +++ b/src/openrct2/world/TileElement.cpp @@ -12,6 +12,7 @@ #include "../core/Guard.hpp" #include "../interface/Window.h" #include "../localisation/Localisation.h" +#include "../object/WallSceneryEntry.h" #include "../ride/Track.h" #include "Banner.h" #include "LargeScenery.h"