MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / VpSetPlaceSizingLimit

Function VpSetPlaceSizingLimit

src/viewport.cpp:2843–2846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2841}
2842
2843void VpSetPlaceSizingLimit(int limit)
2844{
2845 _thd.sizelimit = limit;
2846}
2847
2848/**
2849 * Highlights all tiles between a set of two tiles. Used in dock and tunnel placement

Callers 6

PlaceRail_WaypointFunction · 0.85
PlaceRail_StationFunction · 0.85
BuildRailClick_RemoveFunction · 0.85
PlaceRoad_WaypointFunction · 0.85
PlaceRoad_BusStationFunction · 0.85
PlaceRoad_TruckStationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected