Changeset - r14708:daac455c605a
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2010-03-02 20:31:05
frosch@openttd.org
(svn r19303) -Codechange: Silence a gcc warning.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/newgrf_airport.h
Show inline comments
 
@@ -21,13 +21,13 @@ typedef byte StationGfx;
 
struct AirportTileTable {
 
	TileIndexDiffC ti;
 
	StationGfx gfx;
 
};
 

	
 
/** TTDP airport types. Used to map our types to TTDPatch's */
 
enum {
 
enum TTDPAirportType {
 
	ATP_TTDP_SMALL,    ///< Same as AT_SMALL
 
	ATP_TTDP_LARGE,    ///< Same as AT_LARGE
 
	ATP_TTDP_HELIPORT, ///< Same as AT_HELIPORT
 
	ATP_TTDP_OILRIG,   ///< Same as AT_OILRIG
 
};
 

	
 
@@ -41,13 +41,13 @@ struct AirportSpec {
 
	byte size_x;                           ///< size of airport in x direction
 
	byte size_y;                           ///< size of airport in y direction
 
	byte noise_level;                      ///< noise that this airport generates
 
	byte catchment;                        ///< catchment area of this airport
 
	Year min_year;                         ///< first year the airport is available
 
	Year max_year;                         ///< last year the airport is available
 
	byte ttd_airport_type;                 ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
 
	TTDPAirportType ttd_airport_type;      ///< ttdpatch airport type (Small/Large/Helipad/Oilrig)
 

	
 
	static const AirportSpec *Get(byte type);
 

	
 
	bool IsAvailable() const;
 

	
 
	static AirportSpec dummy;
0 comments (0 inline, 0 general)