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 |
Aircraft items.
Definition at line 205 of file inv_shared.h.
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().
The time needed to install/remove the item on an aircraft
Definition at line 211 of file inv_shared.h.
Referenced by AII_AddItemToSlot(), AII_RemoveItemFromSlot(), AIM_AircraftEquipAddItem_f(), AIM_AircraftEquipMenuUpdate(), AIM_AircraftEquipRemoveItem_f(), AIM_CheckTechnologyIntoSlot(), AIM_CrafttypeFilter(), AIM_SelectableCraftItem(), BDEF_AddItem_f(), and BDEF_RemoveItem_f().
float craftitem_s::stats[AIR_STATS_MAX] |
All coefficient that can affect aircraft->stats
Definition at line 207 of file inv_shared.h.
Referenced by AII_CheckUpdateAircraftStats(), AII_UpdateAircraftStats(), AIR_GetAircraftWeaponRanges(), AIR_GetMaxAircraftWeaponRange(), AIRFIGHT_BaseShoot(), AIRFIGHT_CheckWeapon(), AIRFIGHT_InstallationShoot(), AIRFIGHT_ProbabilityToHit(), AIRFIGHT_ProjectileReachedTarget(), MAP_DrawMapOneBase(), MAP_DrawMapOneInstallation(), and UP_AircraftItemDescription().
The type of the aircraft item.
Definition at line 206 of file inv_shared.h.
Referenced by AII_AddAmmoToSlot(), AII_AddItemToSlot(), AII_AutoAddAmmo(), AII_GetCraftitemTechsByType(), AII_GetItemWeightBySize(), AIM_CheckTechnologyIntoSlot(), AIM_CrafttypeFilter(), AIM_SelectableCraftItem(), Com_AddObjectLinks(), Com_ParseItem(), INV_IsBaseDefenceItem(), INV_IsCraftItem(), and UP_AircraftItemDescription().
The base damage inflicted by an ammo
Definition at line 208 of file inv_shared.h.
Referenced by AIRFIGHT_GetDamage(), and UP_AircraftItemDescription().
float craftitem_s::weaponDelay |
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().
float craftitem_s::weaponSpeed |
The speed of the projectile on geoscape
Definition at line 209 of file inv_shared.h.
Referenced by AIRFIGHT_CampaignRunProjectiles(), and AIRFIGHT_ProjectileReachedTarget().