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