projectile used during fight between two or more aircraft More...
#include <cp_airfight.h>
Data Fields | |
const objDef_t * | aircraftItem |
int | idx |
vec3_t | pos [MAX_MULTIPLE_PROJECTILES] |
vec3_t | projectedPos [MAX_MULTIPLE_PROJECTILES] |
vec3_t | oldDrawPos [MAX_MULTIPLE_PROJECTILES] |
int | numProjectiles |
qboolean | hasMoved |
int | numInterpolationPoints |
vec3_t | idleTarget |
aircraft_t * | attackingAircraft |
vec3_t | attackerPos |
aircraft_t * | aimedAircraft |
int | time |
float | angle |
qboolean | bullets |
qboolean | beam |
projectile used during fight between two or more aircraft
Definition at line 44 of file cp_airfight.h.
target of the projectile/ used only if the projectile will touch its target (otherwise it's NULL)
Definition at line 58 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_LoadXML(), AIRFIGHT_MissTarget(), AIRFIGHT_ProjectileHits(), AIRFIGHT_ProjectileReachedTarget(), AIRFIGHT_RemoveProjectileAimingAircraft(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
Corresponding ammo
Definition at line 45 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_LoadXML(), AIRFIGHT_ProjectileHits(), AIRFIGHT_ProjectileReachedTarget(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
angle of the missile on the geoscape
Definition at line 61 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_LoadXML(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
position of the attacker. used only if base or samsite is shooting (attackingAircraft == NULL)
Definition at line 56 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), and MAP_DrawMapMarkers().
Aircraft which shot the projectile. NULL if aircraft is destroyed or base is shooting
Definition at line 55 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_LoadXML(), AIRFIGHT_MissTarget(), AIRFIGHT_ProjectileHits(), AIRFIGHT_SaveXML(), AIRFIGHT_UpdateProjectileForDestroyedAircraft(), and MAP_DrawMapMarkers().
projectile has an active (laser) beam on geoscape
Definition at line 63 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_LoadXML(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
projectile has active bullets on geoscape
Definition at line 62 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_LoadXML(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
Has the projectile been moved by the CampaignRunProjectiles function
Definition at line 51 of file cp_airfight.h.
Referenced by AIRFIGHT_CampaignRunProjectiles(), and MAP_DrawMapMarkers().
target of the projectile used only if the projectile will miss its target (that is if aimedAircraft is NULL)
Definition at line 53 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_LoadXML(), AIRFIGHT_MissTarget(), AIRFIGHT_ProjectileReachedTarget(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
self link of the idx in ccs.projectiles[]
Definition at line 46 of file cp_airfight.h.
Number of points drawn so far during interpolation.
Definition at line 52 of file cp_airfight.h.
Referenced by AIRFIGHT_CampaignRunProjectiles(), and MAP_DrawMapMarkers().
Number of projectile positions used for this projectile.
Definition at line 50 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_LoadXML(), and AIRFIGHT_SaveXML().
vec3_t aircraftProjectile_s::oldDrawPos[MAX_MULTIPLE_PROJECTILES] |
Array if old draw positions of the projectile (latitude and longitude).
Definition at line 49 of file cp_airfight.h.
vec3_t aircraftProjectile_s::pos[MAX_MULTIPLE_PROJECTILES] |
array of positions of the projectile (latitude and longitude)
Definition at line 47 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_LoadXML(), AIRFIGHT_MissTarget(), AIRFIGHT_ProjectileReachedTarget(), AIRFIGHT_SaveXML(), and MAP_DrawMapMarkers().
vec3_t aircraftProjectile_s::projectedPos[MAX_MULTIPLE_PROJECTILES] |
Array if projected positions of the projectile (latitude and longitude).
Definition at line 48 of file cp_airfight.h.
Referenced by AIRFIGHT_CampaignRunProjectiles(), and MAP_DrawMapMarkers().
time since the projectile has been launched
Definition at line 60 of file cp_airfight.h.
Referenced by AIRFIGHT_AddProjectile(), AIRFIGHT_CampaignRunProjectiles(), AIRFIGHT_LoadXML(), AIRFIGHT_ProjectileReachedTarget(), and AIRFIGHT_SaveXML().