naev 0.12.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 198 of file shipstats.h.

Field Documentation

◆ d [1/2]

double ShipStatList::d

Floating point data.

Definition at line 204 of file shipstats.h.

◆ [union] [2/2]

union { ... } ShipStatList::d

Stat data.

◆ i

int ShipStatList::i

Integer data.

Definition at line 205 of file shipstats.h.

◆ next

struct ShipStatList_* ShipStatList::next

Next pointer.

Definition at line 199 of file shipstats.h.

◆ target

int ShipStatList::target

Whether or not it affects the target.

Definition at line 201 of file shipstats.h.

◆ type

ShipStatsType ShipStatList::type

Type of stat.

Definition at line 202 of file shipstats.h.


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