![]() |
naev 0.11.5
|
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 | |
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.
| double ShipStatList::d |
Floating point data.
Definition at line 173 of file shipstats.h.
| union { ... } ShipStatList::d |
Stat data.
| int ShipStatList::i |
Integer data.
Definition at line 174 of file shipstats.h.
| struct ShipStatList_* ShipStatList::next |
Next pointer.
Definition at line 168 of file shipstats.h.
| int ShipStatList::target |
Whether or not it affects the target.
Definition at line 170 of file shipstats.h.
| ShipStatsType ShipStatList::type |
Type of stat.
Definition at line 171 of file shipstats.h.