From 1b2773445d12037bb1293d35e5f1b9a4a44168d9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Apr 2008 10:16:51 +0000 Subject: (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. --- src/tunnelbridge.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tunnelbridge.h') 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 */ -- cgit v1.2.3-70-g09d2