#include "tile_type.h"
Go to the source code of this file.
Functions | |
static uint | GetTunnelBridgeLength (TileIndex begin, TileIndex end) |
Calculates the length of a tunnel or a bridge (without end tiles). | |
Variables | |
TileIndex | _build_tunnel_endtile |
Definition in file tunnelbridge.h.
Calculates the length of a tunnel or a bridge (without end tiles).
Definition at line 21 of file tunnelbridge.h.
References abs(), TileX(), and TileY().
Referenced by CmdBuildBridge(), CmdBuildRoad(), CmdConvertRail(), CFollowTrackT< Ttr_type_, VehicleType, T90deg_turns_allowed_, Tmask_reserved_tracks >::FollowTileExit(), GetRailTrackBitsUniversal(), RemoveRoad(), and ShowBuildBridgeWindow().