diff options
author | rubidium <rubidium@openttd.org> | 2007-12-25 23:42:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-25 23:42:52 +0000 |
commit | aac835171e2ef3b72e3706754153c1b9304268a8 (patch) | |
tree | 070c07001872a2ff901cc931aa615cd0c58aca13 /src/tile_cmd.h | |
parent | 6cb68b9144a3c0cd22b4fd3392c519a4217b2f72 (diff) | |
download | openttd-aac835171e2ef3b72e3706754153c1b9304268a8.tar.xz |
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
Diffstat (limited to 'src/tile_cmd.h')
-rw-r--r-- | src/tile_cmd.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tile_cmd.h b/src/tile_cmd.h index 60f8940ce..4b08e9c5b 100644 --- a/src/tile_cmd.h +++ b/src/tile_cmd.h @@ -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); |