summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-26 11:45:43 +0000
committerrubidium <rubidium@openttd.org>2007-12-26 11:45:43 +0000
commit2786d789a15990a27b73c0a4fbceb429e7dac953 (patch)
tree2bf1079b51205ab440f2044971a218287481a5f6 /src/functions.h
parentaac835171e2ef3b72e3706754153c1b9304268a8 (diff)
downloadopenttd-2786d789a15990a27b73c0a4fbceb429e7dac953.tar.xz
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
Diffstat (limited to 'src/functions.h')
-rw-r--r--src/functions.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/functions.h b/src/functions.h
index 361d6491a..3afdcebbf 100644
--- a/src/functions.h
+++ b/src/functions.h
@@ -9,7 +9,6 @@
#include "command_type.h"
#include "openttd.h"
#include "tile_cmd.h"
-#include "map.h"
/* clear_land.cpp */
void DrawHillyLandTile(const TileInfo *ti);
@@ -24,10 +23,6 @@ void SubtractMoneyFromPlayerFract(PlayerID player, CommandCost cost);
bool CheckOwnership(Owner owner);
bool CheckTileOwnership(TileIndex tile);
-/* openttd.cpp */
-static inline TileIndex RandomTileSeed(uint32 r) { return TILE_MASK(r); }
-static inline TileIndex RandomTile() { return TILE_MASK(Random()); }
-
/* texteff.cpp */
void AddAnimatedTile(TileIndex tile);
void DeleteAnimatedTile(TileIndex tile);