A burst of a captured or erased gem, an animated view that spins along its track.
More...
#include <tnlgemcapfx.h>
|
| | TnlGemCapFX () |
| | Construct an idle burst.
|
| | ~TnlGemCapFX () |
| | Destroy the burst.
|
| void | Start (GfxTunnel *pTunnel, char nTrack, RndView *pView, float flTick, float flLateral, const Vector3 *pScale, bool bErase) |
| | Start the burst at a gem.
|
| void | Stop () |
| | Stop the burst at once.
|
| bool | Draw (TnlGeom *pGeom) |
| | Place, animate, and draw the burst.
|
| bool | IsIdle () const |
| | Report whether the burst is idle.
|
|
| static float | sAnimFrames |
| | The frames of the animation of the view over a burst.
|
| static float | sLengths [2] |
| | The length of a capture burst, then of an erase burst, in milliseconds.
|
| static float | sTravels [2] |
| | The ticks a capture burst moves forward, then those of an erase burst.
|
A burst of a captured or erased gem, an animated view that spins along its track.
The RTTI identifies the class, which is not polymorphic. The object is 0xc0 bytes. The tunnel keeps a pool of them.
◆ TnlGemCapFX()
| TnlGemCapFX::TnlGemCapFX |
( |
| ) |
|
Construct an idle burst.
- Ghidra address:
- NTSC-U/C: 0x001ef1c8
- Ghidra address:
- PAL: 0x001f7f68
◆ ~TnlGemCapFX()
| TnlGemCapFX::~TnlGemCapFX |
( |
| ) |
|
Destroy the burst.
- Ghidra address:
- NTSC-U/C: 0x001ef250
- Ghidra address:
- PAL: 0x001f7ff0
◆ Start()
| void TnlGemCapFX::Start |
( |
GfxTunnel * | pTunnel, |
|
|
char | nTrack, |
|
|
RndView * | pView, |
|
|
float | flTick, |
|
|
float | flLateral, |
|
|
const Vector3 * | pScale, |
|
|
bool | bErase ) |
Start the burst at a gem.
The burst turns to one of seven quarter turns at random, offset by the time, and a captured gem moves forward along its track while it bursts.
- Parameters
-
| pTunnel | The tunnel. The routine does not read it. |
| nTrack | The track of the gem. |
| pView | The view the burst animates. |
| flTick | The tick of the gem. |
| flLateral | The position of the gem across its track, from 0 to 1. |
| pScale | The scale of each axis of the burst. |
| bErase | Whether the gem is erased rather than captured. |
- Ghidra address:
- NTSC-U/C: 0x001ef288
- Ghidra address:
- PAL: 0x001f8028
◆ Stop()
| void TnlGemCapFX::Stop |
( |
| ) |
|
Stop the burst at once.
- Ghidra address:
- NTSC-U/C: 0x001ef498
- Ghidra address:
- PAL: 0x001f8238
◆ Draw()
| bool TnlGemCapFX::Draw |
( |
TnlGeom * | pGeom | ) |
|
Place, animate, and draw the burst.
- Parameters
-
| pGeom | The geometry of the tracks. |
- Returns
- Whether the burst ended during the call.
- Ghidra address:
- NTSC-U/C: 0x001ef4b0
- Ghidra address:
- PAL: 0x001f8250
◆ IsIdle()
| bool TnlGemCapFX::IsIdle |
( |
| ) |
const |
Report whether the burst is idle.
- Returns
- Whether the burst is idle.
- Ghidra address:
- NTSC-U/C: 0x001ef6a8
- Ghidra address:
- PAL: 0x001f8448
◆ sAnimFrames
| float TnlGemCapFX::sAnimFrames |
|
static |
The frames of the animation of the view over a burst.
- Ghidra address:
- NTSC-U/C: 0x003afb08
- Ghidra address:
- PAL: 0x0042e9a0
◆ sLengths
| float TnlGemCapFX::sLengths[2] |
|
static |
The length of a capture burst, then of an erase burst, in milliseconds.
- Ghidra address:
- NTSC-U/C: 0x003afb10
- Ghidra address:
- PAL: 0x0042e9a8
◆ sTravels
| float TnlGemCapFX::sTravels[2] |
|
static |
The ticks a capture burst moves forward, then those of an erase burst.
- Ghidra address:
- NTSC-U/C: 0x003afb18
- Ghidra address:
- PAL: 0x0042e9b0
The documentation for this class was generated from the following file: