wavelength 1.0.0
Loading...
Searching...
No Matches
ParticleArmsAssembly Class Reference

A particle system that sprays from arms turning about a point ahead on the tunnel. More...

#include <particlearmsassembly.h>

Public Member Functions

 ParticleArmsAssembly (DataArray *pData)
 Create the particle system and load the arms.
 ~ParticleArmsAssembly ()
 Delete the particle system and the curve.
void LoadConfig (DataArray *pData)
 Load the arms and the particle settings, and stop the emission.
void Poll (TnlGeom *pGeom, float flTick)
 Turn the arms and emit their particles up to a tick.
void Move (float flFromTicks, float flToTicks, float flTicks)
 Move the point the arms turn about over a span of ticks.
void Report ()
 Report the use of the particles through the debug output.
const char * Name () const
 Report the name of the particle system.

Detailed Description

A particle system that sprays from arms turning about a point ahead on the tunnel.

The class is not polymorphic. The RTTI of a pointer to it records the name. The object is 0x20 bytes. Each arm spawns its share of the particles of a frame from its own transform.

Constructor & Destructor Documentation

◆ ParticleArmsAssembly()

ParticleArmsAssembly::ParticleArmsAssembly ( DataArray * pData)
explicit

Create the particle system and load the arms.

Parameters
pDataThe entry, the name of the particle system followed by its settings.
Ghidra address:
NTSC-U/C: 0x001f6248
Ghidra address:
PAL: 0x001fefe8

◆ ~ParticleArmsAssembly()

ParticleArmsAssembly::~ParticleArmsAssembly ( )

Delete the particle system and the curve.

Ghidra address:
NTSC-U/C: 0x001f6bc8
Ghidra address:
PAL: 0x001ff968

Member Function Documentation

◆ LoadConfig()

void ParticleArmsAssembly::LoadConfig ( DataArray * pData)

Load the arms and the particle settings, and stop the emission.

Parameters
pDataThe entry.
Ghidra address:
NTSC-U/C: 0x001f63b8
Ghidra address:
PAL: 0x001ff158

◆ Poll()

void ParticleArmsAssembly::Poll ( TnlGeom * pGeom,
float flTick )

Turn the arms and emit their particles up to a tick.

A system with no live particles and no emission only records the tick.

Parameters
pGeomThe geometry of the tunnel, which places the arms when there is no path.
flTickThe tick of the song.
Ghidra address:
NTSC-U/C: 0x001f6c50
Ghidra address:
PAL: 0x001ff9f0

◆ Move()

void ParticleArmsAssembly::Move ( float flFromTicks,
float flToTicks,
float flTicks )

Move the point the arms turn about over a span of ticks.

Parameters
flFromTicksThe ticks ahead at the start of the move.
flToTicksThe ticks ahead at the end of the move.
flTicksThe length of the move.
Ghidra address:
NTSC-U/C: 0x001f6f08
Ghidra address:
PAL: 0x001ffca8

◆ Report()

void ParticleArmsAssembly::Report ( )

Report the use of the particles through the debug output.

Ghidra address:
NTSC-U/C: 0x001f6f40
Ghidra address:
PAL: 0x001ffce0

◆ Name()

const char * ParticleArmsAssembly::Name ( ) const

Report the name of the particle system.

Returns
The name.
Ghidra address:
NTSC-U/C: 0x001f6fc0
Ghidra address:
PAL: 0x001ffd60

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