aircraftProjectile_s Struct Reference

projectile used during fight between two or more aircraft More...

#include <cp_airfight.h>

Collaboration diagram for aircraftProjectile_s:
Collaboration graph
[legend]

Data Fields

const objDef_taircraftItem
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_tattackingAircraft
vec3_t attackerPos
aircraft_taimedAircraft
int time
float angle
qboolean bullets
qboolean beam

Detailed Description

projectile used during fight between two or more aircraft

Definition at line 44 of file cp_airfight.h.


Field Documentation

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[]

Todo:
: is this really needed?

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().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2