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

Method IsEmpty

src/station.cpp:570–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570bool StationRect::IsEmpty() const
571{
572 return this->left == 0 || this->left > this->right || this->top > this->bottom;
573}
574
575CommandCost StationRect::BeforeAddTile(TileIndex tile, StationRectMode mode)
576{

Callers 15

BeforeAddTileMethod · 0.95
UpdateFilterStateMethod · 0.45
OnInvalidateDataMethod · 0.45
BuildDisplayListMethod · 0.45
OnEditboxChangedMethod · 0.45
BuildSortTownListMethod · 0.45
CheckSubsidisedFunction · 0.45
UpdateStationAcceptanceFunction · 0.45
UpdateStationSignCoordFunction · 0.45
OnInvalidateDataMethod · 0.45
OnEditboxChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected