|
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::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::beamColor |
Definition at line 255 of file inv_shared.h.
Referenced by GEO_DrawMarkers().
| bool craftItem::bullets |
create bullets for the projectiles
Definition at line 253 of file inv_shared.h.
Referenced by AIRFIGHT_AddProjectile().
| int craftItem::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::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::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(), and UP_AircraftItemDescription().
| float craftItem::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::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::weaponSpeed |
The speed of the projectile on geoscape
Definition at line 250 of file inv_shared.h.
Referenced by AIRFIGHT_CampaignRunProjectiles(), and AIRFIGHT_ProjectileReachedTarget().