src/bridge.h
branchnoai
changeset 9723 eee46cb39750
parent 9694 e72987579514
child 9724 b39bc69bb2f2
--- a/src/bridge.h	Fri Nov 23 16:59:30 2007 +0000
+++ b/src/bridge.h	Wed Jan 09 18:11:12 2008 +0000
@@ -5,6 +5,10 @@
 #ifndef BRIDGE_H
 #define BRIDGE_H
 
+#include "gfx_type.h"
+#include "direction_type.h"
+#include "tile_cmd.h"
+
 enum {
 	MAX_BRIDGES = 13
 };
@@ -37,4 +41,8 @@
 
 void DrawBridgeMiddle(const TileInfo *ti);
 
+bool CheckBridge_Stuff(byte bridge_type, uint bridge_len);
+uint32 GetBridgeLength(TileIndex begin, TileIndex end);
+int CalcBridgeLenCostFactor(int x);
+
 #endif /* BRIDGE_H */