naev 0.11.5
ShipStatList Struct Reference

Represents relative ship statistics as a linked list. More...

#include <shipstats.h>

Data Fields

struct ShipStatList_ * next
 
int target
 
ShipStatsType type
 
union { 
 
   double   d 
 
   int   i 
 
d 
 

Detailed Description

Represents relative ship statistics as a linked list.

Doubles: These values are relative so something like -0.15 would be -15%.

Absolute and Integers: These values are just absolute values.

Booleans: Can only be 1.

Definition at line 167 of file shipstats.h.

Field Documentation

◆ d [1/2]

double ShipStatList::d

Floating point data.

Definition at line 173 of file shipstats.h.

◆ [union] [2/2]

union { ... } ShipStatList::d

Stat data.

◆ i

int ShipStatList::i

Integer data.

Definition at line 174 of file shipstats.h.

◆ next

struct ShipStatList_* ShipStatList::next

Next pointer.

Definition at line 168 of file shipstats.h.

◆ target

int ShipStatList::target

Whether or not it affects the target.

Definition at line 170 of file shipstats.h.

◆ type

ShipStatsType ShipStatList::type

Type of stat.

Definition at line 171 of file shipstats.h.


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