(svn r11700) -Codechange: reduce the amount of unnecessary includes.

This commit is contained in:
rubidium
2007-12-25 23:42:52 +00:00
parent 6cb68b9144
commit aac835171e
30 changed files with 106 additions and 74 deletions

View File

@@ -6,9 +6,11 @@
#define TILE_CMD_H
#include "slope_type.h"
#include "tile_type.h"
#include "command_type.h"
#include "vehicle_type.h"
#include "cargo_type.h"
#include "strings_type.h"
/** The returned bits of VehicleEnterTile. */
enum VehicleEnterTileStatus {
@@ -31,6 +33,21 @@ enum VehicleEnterTileStatus {
};
DECLARE_ENUM_AS_BIT_SET(VehicleEnterTileStatus);
struct TileInfo {
uint x;
uint y;
Slope tileh;
TileIndex tile;
uint z;
};
struct TileDesc {
StringID str;
Owner owner;
Date build_date;
uint64 dparam[2];
};
typedef void DrawTileProc(TileInfo *ti);
typedef uint GetSlopeZProc(TileIndex tile, uint x, uint y);
typedef CommandCost ClearTileProc(TileIndex tile, byte flags);