summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-08-01 16:31:19 +0000
committerludde <ludde@openttd.org>2005-08-01 16:31:19 +0000
commit29564f9fcfc6e2dffb7afa196dbcabb04c99bee7 (patch)
treedc182cc3e9eea6a1776b7fdc84014ec094051275 /tunnelbridge_cmd.c
parent91353c841f3adde7f601ab4185e3486a034dbd04 (diff)
downloadopenttd-29564f9fcfc6e2dffb7afa196dbcabb04c99bee7.tar.xz
(svn r2781) Fix some of the issues with variables in .h files.
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index 4b1472b19..2d4647b2a 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -17,6 +17,12 @@
#include "debug.h"
#include "variables.h"
+#include "table/bridge_land.h"
+#include "table/tunnel_land.h"
+
+extern const byte _track_sloped_sprites[14];
+extern const SpriteID _water_shore_sprites[15];
+
extern void DrawCanalWater(TileIndex tile);
static const byte _bridge_available_year[MAX_BRIDGES] = {
@@ -944,11 +950,6 @@ static const byte _bridge_foundations[2][16] = {
extern const byte _road_sloped_sprites[14];
-#include "table/track_land.h"
-#include "table/bridge_land.h"
-#include "table/tunnel_land.h"
-#include "table/water_land.h"
-
static void DrawBridgePillars(TileInfo *ti, int x, int y, int z)
{
const uint32 *b;