naev 0.11.5
PilotOutfitSlot Struct Reference

Stores an outfit the pilot has. More...

#include <pilot.h>

Data Fields

int id
 
const Outfitoutfit
 
int active
 
ShipOutfitSlotsslot
 
double heat_T
 
double heat_C
 
double heat_area
 
double heat_start
 
PilotOutfitState state
 
double stimer
 
double timer
 
double rtimer
 
double progress
 
int level
 
int weapset
 
unsigned int inrange
 
union { 
 
   unsigned int   beamid 
 
   PilotOutfitAmmo   ammo 
 
u 
 
int lua_mem
 
ShipStatListlua_stats
 

Detailed Description

Stores an outfit the pilot has.

Definition at line 108 of file pilot.h.

Field Documentation

◆ active

int PilotOutfitSlot::active

Slot is an active slot.

Definition at line 113 of file pilot.h.

◆ ammo

PilotOutfitAmmo PilotOutfitSlot::ammo

Ammo for launchers.

Definition at line 135 of file pilot.h.

◆ beamid

unsigned int PilotOutfitSlot::beamid

ID of the beam used in this outfit, only used for beams.

Definition at line 134 of file pilot.h.

◆ heat_area

double PilotOutfitSlot::heat_area

Slot area of contact with ship hull. [m^2]

Definition at line 119 of file pilot.h.

◆ heat_C

double PilotOutfitSlot::heat_C

Slot heat capacity. [W/K]

Definition at line 118 of file pilot.h.

◆ heat_start

double PilotOutfitSlot::heat_start

Slot heat at the beginning of a cooldown period.

Definition at line 120 of file pilot.h.

◆ heat_T

double PilotOutfitSlot::heat_T

Slot temperature. [K]

Definition at line 117 of file pilot.h.

◆ id

int PilotOutfitSlot::id

Position in the global slot list.

Definition at line 109 of file pilot.h.

◆ inrange

unsigned int PilotOutfitSlot::inrange

Should the slot be shut down when not inrange? (only used for beams).

Definition at line 130 of file pilot.h.

◆ level

int PilotOutfitSlot::level

Level in current weapon set (-1 is none).

Definition at line 128 of file pilot.h.

◆ lua_mem

int PilotOutfitSlot::lua_mem

Lua reference to the memory table of the specific outfit.

Definition at line 139 of file pilot.h.

◆ lua_stats

ShipStatList* PilotOutfitSlot::lua_stats

Intrinsic ship stats for the outfit calculated on the fly. Used only by Lua outfits.

Definition at line 140 of file pilot.h.

◆ outfit

const Outfit* PilotOutfitSlot::outfit

Associated outfit.

Definition at line 112 of file pilot.h.

◆ progress

double PilotOutfitSlot::progress

Used to store state progress and used by Lua outfits.

Definition at line 127 of file pilot.h.

◆ rtimer

double PilotOutfitSlot::rtimer

Used to store when a reload can happen.

Definition at line 126 of file pilot.h.

◆ sslot

ShipOutfitSlot* PilotOutfitSlot::sslot

Ship outfit slot.

Definition at line 114 of file pilot.h.

◆ state

PilotOutfitState PilotOutfitSlot::state

State of the outfit.

Definition at line 123 of file pilot.h.

◆ stimer

double PilotOutfitSlot::stimer

State timer, tracking current state.

Definition at line 124 of file pilot.h.

◆ timer

double PilotOutfitSlot::timer

Used to store when it was last used.

Definition at line 125 of file pilot.h.

◆ weapset

int PilotOutfitSlot::weapset

First weapon set that uses the outfit (-1 is none).

Definition at line 129 of file pilot.h.


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