forked from mirror/OpenTTD
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user