forked from rosebudai/OpenRCT2-Web
1 parent
ae92e5ae7e
commit
7a93e1b356
5 files changed
+24
-3
No files matched your search
@@ -394,6 +394,7 @@
|
||||
<ClInclude Include="paint\Painter.h" />
|
||||
<ClInclude Include="paint\support\MetalSupports.h" />
|
||||
<ClInclude Include="paint\support\WoodenSupports.h" />
|
||||
<ClInclude Include="paint\tile_element\Paint.Banner.h" />
|
||||
<ClInclude Include="paint\tile_element\Paint.Entrance.h" />
|
||||
<ClInclude Include="paint\tile_element\Paint.LargeScenery.h" />
|
||||
<ClInclude Include="paint\tile_element\Paint.Path.h" />
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "../../world/Scenery.h"
|
||||
#include "../../world/TileInspector.h"
|
||||
#include "../../world/tile_element/BannerElement.h"
|
||||
#include "Paint.TileElement.h"
|
||||
#include "Paint.Banner.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
using namespace OpenRCT2::Drawing;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/*****************************************************************************
|
||||
* 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>
|
||||
|
||||
struct PaintSession;
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
struct BannerElement;
|
||||
}
|
||||
|
||||
void PaintBanner(PaintSession& session, uint8_t direction, int32_t height, const OpenRCT2::BannerElement& bannerElement);
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "../Paint.SessionFlags.h"
|
||||
#include "../Paint.h"
|
||||
#include "../VirtualFloor.h"
|
||||
#include "Paint.Banner.h"
|
||||
#include "Paint.Entrance.h"
|
||||
#include "Paint.LargeScenery.h"
|
||||
#include "Paint.Path.h"
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
struct BannerElement;
|
||||
struct PathElement;
|
||||
struct SurfaceElement;
|
||||
} // namespace OpenRCT2
|
||||
@@ -47,6 +46,5 @@ uint16_t PaintUtilRotateSegments(uint16_t segments, uint8_t rotation);
|
||||
|
||||
void TileElementPaintSetup(PaintSession& session, const CoordsXY& mapCoords, bool isTrackPiecePreview = false);
|
||||
|
||||
void PaintBanner(PaintSession& session, uint8_t direction, int32_t height, const OpenRCT2::BannerElement& bannerElement);
|
||||
void PaintSurface(PaintSession& session, uint8_t direction, uint16_t height, const OpenRCT2::SurfaceElement& tileElement);
|
||||
bool PaintShouldShowHeightMarkers(const PaintSession& session, uint32_t viewportFlag);
|
||||
Reference in new issue
Block a user