summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-21 22:50:51 +0000
committerrubidium <rubidium@openttd.org>2007-12-21 22:50:51 +0000
commit3074bca136dc9a7848d4897d7236baed51406bd3 (patch)
tree92a4b604ccb6ae352038348f78b52b1f91cfd691 /src/functions.h
parent4fc66235cb17456f8b7f09f8ba50bff6017c25d5 (diff)
downloadopenttd-3074bca136dc9a7848d4897d7236baed51406bd3.tar.xz
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
Diffstat (limited to 'src/functions.h')
-rw-r--r--src/functions.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/functions.h b/src/functions.h
index e7ee6f26f..c7b758132 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -8,6 +8,7 @@
#include "gfx.h"
#include "viewport.h"
#include "core/random_func.hpp"
+#include "command_type.h"
void UpdateTownMaxPass(Town *t);
@@ -38,11 +39,6 @@ void DeleteAnimatedTile(TileIndex tile);
void AnimateAnimatedTiles();
void InitializeAnimatedTiles();
-/* tunnelbridge_cmd.cpp */
-bool CheckBridge_Stuff(byte bridge_type, uint bridge_len);
-uint32 GetBridgeLength(TileIndex begin, TileIndex end);
-int CalcBridgeLenCostFactor(int x);
-
/* misc_cmd.cpp */
void PlaceTreesRandomly();