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

The particle arms of the tunnel, and the move_particle_arms script command that moves them. More...

#include <particlearms.h>

Public Member Functions

 ParticleArms (DataArray *pData, TnlGeom *pGeom)
 Register the script command and create the arms.
 ~ParticleArms ()
 Unregister the script command and delete the arms.
void LoadConfig (DataArray *pData)
 Load each assembly from its entry.
void Poll (float flTick)
 Advance each assembly to a tick.
void Report ()
 Report the use of the particles of each assembly through the debug output.

Detailed Description

The particle arms of the tunnel, and the move_particle_arms script command that moves them.

The class is not polymorphic, and the name is inferred. The object is 0x14 bytes.

Constructor & Destructor Documentation

◆ ParticleArms()

ParticleArms::ParticleArms ( DataArray * pData,
TnlGeom * pGeom )

Register the script command and create the arms.

Parameters
pDataThe configuration, a tag followed by one entry for each assembly.
pGeomThe geometry of the tunnel.
Ghidra address:
NTSC-U/C: 0x001f6fd0
Ghidra address:
PAL: 0x001ffd70

◆ ~ParticleArms()

ParticleArms::~ParticleArms ( )

Unregister the script command and delete the arms.

Ghidra address:
NTSC-U/C: 0x001f7188
Ghidra address:
PAL: 0x001fff28

Member Function Documentation

◆ LoadConfig()

void ParticleArms::LoadConfig ( DataArray * pData)

Load each assembly from its entry.

Parameters
pDataThe configuration, a tag followed by one entry for each assembly.
Ghidra address:
NTSC-U/C: 0x001f70f0
Ghidra address:
PAL: 0x001ffe90

◆ Poll()

void ParticleArms::Poll ( float flTick)

Advance each assembly to a tick.

Parameters
flTickThe tick of the song.
Ghidra address:
NTSC-U/C: 0x001f7258
Ghidra address:
PAL: 0x001ffff8

◆ Report()

void ParticleArms::Report ( )

Report the use of the particles of each assembly through the debug output.

Ghidra address:
NTSC-U/C: 0x001f72e0
Ghidra address:
PAL: 0x00200080

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