1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Rename sub_68B3FB to PaintTileElementBase

This commit is contained in:
Gymnasiast
2022-01-23 14:50:16 +01:00
parent a6042b8903
commit 573a28f835

View File

@@ -38,7 +38,7 @@ uint16_t testPaintVerticalTunnelHeight;
#endif
static void blank_tiles_paint(paint_session& session, int32_t x, int32_t y);
static void sub_68B3FB(paint_session& session, int32_t x, int32_t y);
static void PaintTileElementBase(paint_session& session, int32_t x, int32_t y);
const int32_t SEGMENTS_ALL = SEGMENT_B4 | SEGMENT_B8 | SEGMENT_BC | SEGMENT_C0 | SEGMENT_C4 | SEGMENT_C8 | SEGMENT_CC
| SEGMENT_D0 | SEGMENT_D4;
@@ -56,7 +56,7 @@ void tile_element_paint_setup(paint_session& session, const CoordsXY& mapCoords,
session.Unk141E9DB = isTrackPiecePreview ? PaintSessionFlags::IsTrackPiecePreview : 0;
session.WaterHeight = 0xFFFF;
sub_68B3FB(session, mapCoords.x, mapCoords.y);
PaintTileElementBase(session, mapCoords.x, mapCoords.y);
}
else if (!(session.ViewFlags & VIEWPORT_FLAG_TRANSPARENT_BACKGROUND))
{
@@ -114,7 +114,7 @@ bool gShowSupportSegmentHeights = false;
*
* rct2: 0x0068B3FB
*/
static void sub_68B3FB(paint_session& session, int32_t x, int32_t y)
static void PaintTileElementBase(paint_session& session, int32_t x, int32_t y)
{
rct_drawpixelinfo* dpi = &session.DPI;