|
OpenTTD Source
14.0-beta3
|
Go to the documentation of this file.
33 return IsSteepSlope(tileh) ? (tileh & entrance_corners) == entrance_corners : (tileh & entrance_corners) != 0;
bool CanBuildDepotByTileh(DiagDirection direction, Slope tileh)
Find out if the slope of the tile is suitable to build a depot of given direction.
static constexpr bool IsSteepSlope(Slope s)
Checks if a slope is steep.
Slope
Enumeration for the slope-type.
void DeleteDepotHighlightOfVehicle(const Vehicle *v)
Removes the highlight of a vehicle in a depot window.
DiagDirection
Enumeration for diagonal directions.
VehicleType
Available vehicle types.
void InitDepotWindowBlockSizes()
Set the size of the blocks in the window so we can be sure that they are big enough for the vehicle s...
Slope InclinedSlope(DiagDirection dir)
Returns the slope that is inclined in a specific direction.
void ShowDepotWindow(TileIndex tile, VehicleType type)
Opens a depot window.