34 return IsSteepSlope(tileh) ? (tileh & entrance_corners) == entrance_corners : (tileh & entrance_corners) != 0;
static bool IsSteepSlope(Slope s)
Checks if a slope is steep.
VehicleType
Available vehicle types.
Functions related to slopes.
void DeleteDepotHighlightOfVehicle(const Vehicle *v)
Removes the highlight of a vehicle in a depot window.
void ShowDepotWindow(TileIndex tile, VehicleType type)
Opens a depot window.
DiagDirection
Enumeration for diagonal directions.
static Slope InclinedSlope(DiagDirection dir)
Returns the slope that is inclined in a specific direction.
static bool CanBuildDepotByTileh(DiagDirection direction, Slope tileh)
Find out if the slope of the tile is suitable to build a depot of given direction.
uint32 TileIndex
The index/ID of a Tile.
Types related to vehicles.
Slope
Enumeration for the slope-type.