A trail generated by a ship or an ammo.
More...
#include <spfx.h>
A trail generated by a ship or an ammo.
Definition at line 64 of file spfx.h.
◆ capacity
| size_t Trail_spfx::capacity |
Buffer size, guaranteed to be a power of 2.
Definition at line 67 of file spfx.h.
◆ dt
Timer accumulator (in seconds).
Definition at line 71 of file spfx.h.
◆ iread
Start index (NOT reduced modulo capacity).
Definition at line 68 of file spfx.h.
◆ iwrite
| size_t Trail_spfx::iwrite |
End index (NOT reduced modulo capacity).
Definition at line 69 of file spfx.h.
◆ ontop
| unsigned int Trail_spfx::ontop |
Boolean to decide if the trail is drawn before or after the ship.
Definition at line 73 of file spfx.h.
◆ point_ringbuf
Circular buffer (malloced/freed) of trail points.
Definition at line 66 of file spfx.h.
Random variable between 0 and 1 to make each trail unique.
Definition at line 72 of file spfx.h.
◆ refcount
Number of referrers. If 0, trail dies after its TTL.
Definition at line 70 of file spfx.h.
◆ spec
The documentation for this struct was generated from the following file:
- /builddir/build/BUILD/naev-0.11.5/src/spfx.h