UFO: Alien Invasion
|
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 |
bool | bullets |
bool | beam |
vec4_t | beamColor |
Aircraft items.
Definition at line 246 of file inv_shared.h.
bool craftitem_s::beam |
create (laser/particle) beam particles for the projectiles
Definition at line 254 of file inv_shared.h.
Referenced by AIRFIGHT_AddProjectile().
vec4_t craftitem_s::beamColor |
Definition at line 255 of file inv_shared.h.
Referenced by GEO_DrawMarkers().
bool craftitem_s::bullets |
create bullets for the projectiles
Definition at line 253 of file inv_shared.h.
Referenced by AIRFIGHT_AddProjectile().
int craftitem_s::installationTime |
The time needed to install/remove the item on an aircraft
Definition at line 252 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 248 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(), GEO_DrawMapOneBase(), GEO_DrawMapOneInstallation(), and UP_AircraftItemDescription().
aircraftItemType_t craftitem_s::type |
The type of the aircraft item.
Definition at line 247 of file inv_shared.h.
Referenced by AII_AddAmmoToSlot(), AII_AddItemToSlot(), AII_AutoAddAmmo(), AII_GetCraftitemTechsByType(), AIM_CheckTechnologyIntoSlot(), AIM_CrafttypeFilter(), AIM_SelectableCraftItem(), BS_ShowInfo_f(), Com_AddObjectLinks(), Com_ParseItem(), objDef_s::isBaseDefenceItem(), objDef_s::isCraftItem(), and UP_AircraftItemDescription().
float craftitem_s::weaponDamage |
The base damage inflicted by an ammo
Definition at line 249 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 251 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 250 of file inv_shared.h.
Referenced by AIRFIGHT_CampaignRunProjectiles(), and AIRFIGHT_ProjectileReachedTarget().