Changeset - r14845:64c3c2f4c551
[Not reviewed]
master
0 3 0
yexo - 14 years ago 2010-03-18 15:20:49
yexo@openttd.org
(svn r19451) -Cleanup: remove some unused code
3 files changed with 1 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/airport.h
Show inline comments
 
@@ -187,6 +187,4 @@ struct AirportFTA {
 

	
 
const AirportFTAClass *GetAirport(const byte airport_type);
 

	
 
extern const byte * const _airport_sections[];
 

	
 
#endif /* AIRPORT_H */
src/build_vehicle_gui.cpp
Show inline comments
 
@@ -768,7 +768,6 @@ struct BuildVehicleWindow : Window {
 
	VehicleType vehicle_type;
 
	union {
 
		RailTypeByte railtype;
 
		AirportFTAClass::Flags flags;
 
		RoadTypes roadtypes;
 
	} filter;
 
	bool descending_sort_order;
 
@@ -832,10 +831,7 @@ struct BuildVehicleWindow : Window {
 
			case VEH_ROAD:
 
				this->filter.roadtypes = (tile == INVALID_TILE) ? ROADTYPES_ALL : GetRoadTypes(tile);
 
			case VEH_SHIP:
 
				break;
 
			case VEH_AIRCRAFT:
 
				this->filter.flags =
 
					tile == INVALID_TILE ? AirportFTAClass::ALL : Station::GetByTile(tile)->Airport()->flags;
 
				break;
 
		}
 

	
src/table/airport_defaults.h
Show inline comments
 
@@ -16,7 +16,7 @@
 
 * Definition of an airport tiles layout.
 
 * @param x offset x of this tile
 
 * @param y offset y of this tile
 
 * @param m AirportGfx of the tile
 
 * @param m StationGfx of the tile
 
 * @see _airport_specs
 
 * @see AirportTileTable
 
 */
0 comments (0 inline, 0 general)