(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).

This commit is contained in:
rubidium
2007-12-26 11:45:43 +00:00
parent aac835171e
commit 2786d789a1
70 changed files with 124 additions and 129 deletions

View File

@@ -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);