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

Method resetTileColumn

src/OpenLoco/src/Paint/Paint.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void PaintSession::resetTileColumn(const Ui::Point& pos)
70 {
71 setVpPosition(pos);
72 _didPassSurface = false;
73 setBridgeEntry(kNullBridgeEntry);
74 _525CF8 = SegmentFlags::none;
75 _trackRoadAdditionSupports = TrackRoadAdditionSupports{};
76 std::fill(std::begin(_trackRoadPaintStructs), std::end(_trackRoadPaintStructs), nullptr);
77 std::fill(std::begin(_trackRoadAdditionsPaintStructs), std::end(_trackRoadAdditionsPaintStructs), nullptr);
78 _roadMergeExits = 0;
79 _roadMergeStreetlightType = 0;
80 }
81
82 void PaintSession::setMaxHeight(const World::Pos2& loc)
83 {

Callers 1

paintTileElementsSetupFunction · 0.80

Calls 2

beginFunction · 0.85
endFunction · 0.85

Tested by

no test coverage detected