(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

@@ -8,11 +8,9 @@
#define VARDEF extern
#endif
#include "core/enum_type.hpp"
#include "strings_type.h"
#include "map.h"
#include "slope_type.h"
// Forward declarations of structs.
struct Depot;
struct Waypoint;
@@ -144,15 +142,6 @@ template <> struct EnumPropsT<TransportType> : MakeEnumPropsT<TransportType, byt
typedef TinyEnumT<TransportType> TransportTypeByte;
struct TileInfo {
uint x;
uint y;
Slope tileh;
TileIndex tile;
uint z;
};
/* Display Options */
enum {
DO_SHOW_TOWN_NAMES = 0,
@@ -216,21 +205,12 @@ struct GameDifficulty {
GDType town_council_tolerance; // minimum required town ratings to be allowed to demolish stuff
};
struct TileDesc {
StringID str;
Owner owner;
Date build_date;
uint64 dparam[2];
};
struct ViewportSign {
int32 left;
int32 top;
byte width_1, width_2;
};
typedef void PlaceProc(TileIndex tile);
enum {
SORT_ASCENDING = 0,
SORT_DESCENDING = 1,