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

Function paintTrackPP

src/OpenLoco/src/Paint/PaintTrack.cpp:226–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 }
225
226 static void paintTrackPP(PaintSession& session, const World::TrackElement& elTrack, const TrackPaintCommon& trackSession, const uint8_t rotation, const TrackPaintPiece& tpp)
227 {
228 if (tpp.isMergeable)
229 {
230 paintTrackPPMergeable(session, elTrack, trackSession, rotation, tpp);
231 }
232 else
233 {
234 paintTrackPPStandard(session, elTrack, trackSession, rotation, tpp);
235 }
236 }
237
238 // 0x0049B6BF
239 void paintTrack(PaintSession& session, const World::TrackElement& elTrack)

Callers 1

paintTrackFunction · 0.85

Calls 2

paintTrackPPMergeableFunction · 0.85
paintTrackPPStandardFunction · 0.85

Tested by

no test coverage detected