diff options
author | rubidium <rubidium@openttd.org> | 2008-04-18 10:16:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-18 10:16:51 +0000 |
commit | d46d8d9c9d75dda0b3688d8f74313acd4e2a84a9 (patch) | |
tree | dfc71064bea779abeeec229e5820046f40499776 /src/tunnelbridge.h | |
parent | 7d234fa0695f329f2bb6784291aa17bd2813ec89 (diff) | |
download | openttd-d46d8d9c9d75dda0b3688d8f74313acd4e2a84a9.tar.xz |
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
Diffstat (limited to 'src/tunnelbridge.h')
-rw-r--r-- | src/tunnelbridge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnelbridge.h b/src/tunnelbridge.h index 758ba59a5..88b42ae8c 100644 --- a/src/tunnelbridge.h +++ b/src/tunnelbridge.h @@ -6,8 +6,6 @@ #define TUNNELBRIDGE_H #include "tile_type.h" -#include "map_func.h" -#include "tunnelbridge_map.h" /** * Calculates the length of a tunnel or a bridge (without end tiles) @@ -23,4 +21,6 @@ static inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end) return abs(x2 + y2 - x1 - y1) - 1; } +extern TileIndex _build_tunnel_endtile; + #endif /* TUNNELBRIDGE_H */ |