naev 0.11.5
PilotWeaponSet Struct Reference

A weapon set represents a set of weapons that have an action. More...

#include <pilot.h>

Data Fields

WeaponSetType type
 
int active
 
PilotWeaponSetOutfitslots
 
int inrange
 
int manual
 
int volley
 
double range [PILOT_WEAPSET_MAX_LEVELS]
 
double speed [PILOT_WEAPSET_MAX_LEVELS]
 

Detailed Description

A weapon set represents a set of weapons that have an action.

By default a weapon set indicates what weapons are enabled at a given time. However they can also be used to launch weapons.

Definition at line 164 of file pilot.h.

Field Documentation

◆ active

int PilotWeaponSet::active

Whether or not it's currently firing.

Definition at line 166 of file pilot.h.

◆ inrange

int PilotWeaponSet::inrange

Whether or not to fire only if the target is inrange.

Definition at line 169 of file pilot.h.

◆ manual

int PilotWeaponSet::manual

Whether or not is manually aiming.

Definition at line 170 of file pilot.h.

◆ range

double PilotWeaponSet::range[PILOT_WEAPSET_MAX_LEVELS]

Range of the levels in the outfit slot.

Definition at line 172 of file pilot.h.

◆ slots

PilotWeaponSetOutfit* PilotWeaponSet::slots

Slots involved with the weapon set.

Definition at line 167 of file pilot.h.

◆ speed

double PilotWeaponSet::speed[PILOT_WEAPSET_MAX_LEVELS]

Speed of the levels in the outfit slot.

Definition at line 173 of file pilot.h.

◆ type

WeaponSetType PilotWeaponSet::type

Type of the weaponset.

Definition at line 165 of file pilot.h.

◆ volley

int PilotWeaponSet::volley

Whether or not the weapon set is firing in volleys.

Definition at line 171 of file pilot.h.


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