(svn r8428) -Codechange: Add proper names to aircraft subtypes instead of magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.

This commit is contained in:
Darkvater
2007-01-27 12:29:55 +00:00
parent 8bebb83de9
commit 50ca901b40
11 changed files with 74 additions and 50 deletions

View File

@@ -45,7 +45,7 @@ typedef struct ShipVehicleInfo {
bool refittable;
} ShipVehicleInfo;
// Aircraft subtypes
/* AircraftVehicleInfo subtypes */
enum {
AIR_CTOL = 1, // Conventional Take Off and Landing, i.e. planes
AIR_FAST = 2