MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / paintTrackAdditionPP

Function paintTrackAdditionPP

src/OpenLoco/src/Paint/PaintTrack.cpp:56–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 static void paintTrackAdditionPP(PaintSession& session, const World::TrackElement& elTrack, const uint8_t rotation, const ImageId baseImageId, const TrackPaintAdditionPiece& tppa)
57 {
58 if (tppa.isIsMergeable)
59 {
60 paintTrackAdditionPPMergeable(session, elTrack, rotation, baseImageId, tppa);
61 }
62 else
63 {
64 paintTrackAdditionPPStandard(session, elTrack, rotation, baseImageId, tppa);
65 }
66 }
67 }
68 namespace Style1
69 {

Callers 1

paintTrackFunction · 0.85

Calls 2

Tested by

no test coverage detected