/*============================================================================= Name : Objtypes.h Purpose : Enumerations of object types, ships, race, class, etc. Created 7/8/1997 by gshaw Copyright Relic Entertainment, Inc. All rights reserved. =============================================================================*/ #ifndef ___OBJTYPES_H #define ___OBJTYPES_H #include "types.h" #include "ClassDefs.h" #include "RaceDefs.h" #include "ShipDefs.h" /*============================================================================= Types: =============================================================================*/ typedef enum { DockingCone, LatchPoint, LaunchPoint, } DockPointType; typedef enum { Heading, Up, AttachPoint, } SalvagePointType; typedef enum { GUN_Fixed, GUN_Gimble, GUN_NewGimble, GUN_MissileLauncher, GUN_MineLauncher } GunType; typedef enum { NAVLIGHT_Default, } NAVLightType; typedef enum { GS_LargeEnergyCannon, GS_LargeIonCannon, GS_LargePlasmaBomb, GS_LargeProjectile, GS_MediumEnergyCannon, GS_MediumIonCannon, GS_MediumPlasmaBomb, GS_MediumProjectile, GS_MineLauncher, GS_MissleLauncher, GS_SmallEnergyCannon, GS_SmallIonCannon, GS_SmallPlasmaBomb, GS_SmallProjectile, GS_VeryLargeEnergyCannon, GS_VeryLargeIonCannon, GS_VeryLargePlasmaBomb, GS_Laser, NUM_GUN_SOUND_TYPES } GunSoundType; typedef enum { BULLET_Projectile, BULLET_PlasmaBomb, BULLET_Beam, BULLET_Laser, BULLET_SpecialBurst } BulletType; typedef enum { MISSILE_Regular, MISSILE_Mine } MissileType; typedef enum { OBJ_ShipType, OBJ_BulletType, OBJ_AsteroidType, OBJ_NebulaType, OBJ_GasType, OBJ_DustType, OBJ_DerelictType, OBJ_EffectType, OBJ_MissileType } ObjType; // CLASS enumerations (changed to defines for speech tool in ClassDefs.h) typedef udword ShipClass; // RACE enumerations (changed to defines for speech tool in RaceDefs.h) typedef udword ShipRace; #define RaceToRaceBits(race) (1<<(race)) // RACE bits #define R1_VALID (1<