craftitem_s Struct Reference

Aircraft items. More...

#include <inv_shared.h>

Data Fields

aircraftItemType_t type
float stats [AIR_STATS_MAX]
float weaponDamage
float weaponSpeed
float weaponDelay
int installationTime
qboolean bullets
qboolean beam
vec4_t beamColor

Detailed Description

Aircraft items.

Note:
This is a part of objDef, only filled for aircraft items (weapons, shield, electronics).
See also:
objDef_t
Todo:
move into campaign only structure

Definition at line 205 of file inv_shared.h.


Field Documentation

create (laser/partivle) beam particles for the projectiles

Definition at line 213 of file inv_shared.h.

Referenced by AIRFIGHT_AddProjectile().

Definition at line 214 of file inv_shared.h.

Referenced by MAP_DrawMapMarkers().

create bullets for the projectiles

Definition at line 212 of file inv_shared.h.

Referenced by AIRFIGHT_AddProjectile().

float craftitem_s::stats[AIR_STATS_MAX]

The base damage inflicted by an ammo

Definition at line 208 of file inv_shared.h.

Referenced by AIRFIGHT_GetDamage(), and UP_AircraftItemDescription().

The minimum delay between 2 shots

Definition at line 210 of file inv_shared.h.

Referenced by AII_ReloadWeapon(), AIRFIGHT_BaseShoot(), AIRFIGHT_ExecuteActions(), AIRFIGHT_InstallationShoot(), and UP_AircraftItemDescription().

The speed of the projectile on geoscape

Definition at line 209 of file inv_shared.h.

Referenced by AIRFIGHT_CampaignRunProjectiles(), and AIRFIGHT_ProjectileReachedTarget().


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

Generated by  doxygen 1.6.2