(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.

This commit is contained in:
rubidium
2008-04-18 10:16:51 +00:00
parent 2070cee089
commit 1b2773445d
13 changed files with 14 additions and 10 deletions

View File

@@ -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 */