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

Function UpdateAllStationVirtCoords

src/station_cmd.cpp:464–469  ·  view source on GitHub ↗

Update the virtual coords needed to draw the station sign for all stations. */

Source from the content-addressed store, hash-verified

462
463/** Update the virtual coords needed to draw the station sign for all stations. */
464void UpdateAllStationVirtCoords()
465{
466 for (BaseStation *st : BaseStation::Iterate()) {
467 st->UpdateVirtCoord();
468 }
469}
470
471void BaseStation::FillCachedName() const
472{

Callers 2

CmdRenameTownFunction · 0.85
UpdateAllVirtCoordsFunction · 0.85

Calls 1

UpdateVirtCoordMethod · 0.45

Tested by

no test coverage detected