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

The bursts of the gems a player erases, each started at its time. More...

#include <gemerasefx.h>

Classes

class  Gem
 One burst, 0x10 bytes. More...

Public Member Functions

 GemEraseFX (GfxTunnel *pTunnel)
 Construct an empty list.
 ~GemEraseFX ()
 Release the list.
void Add (char nTrack, char nPlayer, float flTime, float flTick, float flLateral)
 Schedule a burst.
void Clear ()
 Cancel every burst.
void Poll ()
 Start the bursts whose time has come.

Detailed Description

The bursts of the gems a player erases, each started at its time.

The class is not polymorphic. The type of its list of gems records the name. The object is 0xc bytes.

Constructor & Destructor Documentation

◆ GemEraseFX()

GemEraseFX::GemEraseFX ( GfxTunnel * pTunnel)
explicit

Construct an empty list.

Parameters
pTunnelThe tunnel.
Ghidra address:
NTSC-U/C: 0x001f3210
Ghidra address:
PAL: 0x001fbfb0

◆ ~GemEraseFX()

GemEraseFX::~GemEraseFX ( )

Release the list.

Ghidra address:
NTSC-U/C: 0x001f3288
Ghidra address:
PAL: 0x001fc028

Member Function Documentation

◆ Add()

void GemEraseFX::Add ( char nTrack,
char nPlayer,
float flTime,
float flTick,
float flLateral )

Schedule a burst.

Parameters
nTrackThe track.
nPlayerThe player whose burst views to use, or a negative value for the shared ones.
flTimeThe song time of the burst.
flTickThe tick of the gem.
flLateralThe position across the track, 0 to 1.
Ghidra address:
NTSC-U/C: 0x001f32d8
Ghidra address:
PAL: 0x001fc078

◆ Clear()

void GemEraseFX::Clear ( )

Cancel every burst.

Ghidra address:
NTSC-U/C: 0x001f3400
Ghidra address:
PAL: 0x001fc1a0

◆ Poll()

void GemEraseFX::Poll ( )

Start the bursts whose time has come.

Ghidra address:
NTSC-U/C: 0x001f3420
Ghidra address:
PAL: 0x001fc1c0

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