summaryrefslogtreecommitdiff
path: root/src/tunnelbridge.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-18 10:16:51 +0000
committerrubidium <rubidium@openttd.org>2008-04-18 10:16:51 +0000
commit1b2773445d12037bb1293d35e5f1b9a4a44168d9 (patch)
treedfc71064bea779abeeec229e5820046f40499776 /src/tunnelbridge.h
parent2070cee0892591be5842842c1e6be41cdeda2f36 (diff)
downloadopenttd-1b2773445d12037bb1293d35e5f1b9a4a44168d9.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.h4
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 */