void SnapshotParticleState(ParticleSnapshot *snapshot)
Copy the entire particle pool and all list heads from the race into a snapshot.
u16 g_wRenderTireSmokeListHead
The head index of the off-road tyre smoke selected for rendering, or zero for an empty list.
u16 g_wRenderPavedTireSmokeListHead
The head index of the paved-road tyre smoke selected for rendering, or zero for an empty list.
const Particle * g_pParticleListData
The borrowed particle pool used by rendering, valid until the next snapshot selection.
void LoadParticleListHeads(const ParticleSnapshot *snapshot)
Select a snapshot's particle pool and visible list heads without copying the pool.
u16 g_wRenderExhaustParticleListHead
The head index of the exhaust particles selected for rendering, or zero for an empty list.
Captured particle pool and list indices for one race simulation frame.
Definition particlesnapshot.h:6
u16 exhaustListHead
Definition particlesnapshot.h:8
Particle particles[PARTICLES]
Definition particlesnapshot.h:11
u16 tireSmokeListHead
Definition particlesnapshot.h:9
u16 freeListHead
Definition particlesnapshot.h:7
u16 pavedTireSmokeListHead
Definition particlesnapshot.h:10
A puff of smoke or exhaust, in a list of the pool linked by index.
Definition effects.h:21