resonance 1.0.1
Loading...
Searching...
No Matches
TnlArms Class Reference

Burst of three particle arms shown for a limited time after a trigger frame. More...

#include <tnlarms.h>

Public Member Functions

 TnlArms ()
 Resolve the view and the three systems.
void Start (float flFrame)
 Show the view and restart the systems from flFrame.
void SetFrame (float flFrame)
 Drive the view to flFrame and end the burst on schedule.
void AttachTo (Rnd::Drawable *pParent)
 Draw the arms in a view, ahead of the tunnel.

Detailed Description

Burst of three particle arms shown for a limited time after a trigger frame.

The class is not polymorphic and emits no RTTI, and no allocation tag or file path identifies it. The name is inferred from the objects it drives, "arms.view" and "arms0.ps" through "arms2.ps".

The constructor detaches "arms.view" from the four local player views and silences the three systems. Start() shows the view and restarts the systems. For the next 1920 frames the view animates with the song, for the 7680 after that it animates while the systems stay silent, and then the view hides.

AppTunnel allocates one, 0x14 bytes, and stores it at +0x18. The destructor at 0x0043f920 is the implicit one and is not written.

Constructor & Destructor Documentation

◆ TnlArms()

TnlArms::TnlArms ( )

Resolve the view and the three systems.

Ghidra address:
NTSC-U/C: 0x0043f3f8
Ghidra address:
PAL: 0x0047bd80

Member Function Documentation

◆ Start()

void TnlArms::Start ( float flFrame)

Show the view and restart the systems from flFrame.

AppTunnel inlines this, and the out-of-line copy has no caller.

Parameters
flFrameThe trigger frame.
Ghidra address:
NTSC-U/C: 0x00456ad0
Ghidra address:
PAL: 0x00494000

◆ SetFrame()

void TnlArms::SetFrame ( float flFrame)

Drive the view to flFrame and end the burst on schedule.

Returns at once before the trigger frame. AppTunnel inlines this at 0x00446ff4, and the out-of-line copy has no caller.

Parameters
flFrameThe current frame.
Ghidra address:
NTSC-U/C: 0x00456ba0
Ghidra address:
PAL: 0x004940d0

◆ AttachTo()

void TnlArms::AttachTo ( Rnd::Drawable * pParent)

Draw the arms in a view, ahead of the tunnel.

AppTunnel's WinMsg handler inlines this for each winner's local view, and the out-of-line copy has no caller.

Parameters
pParentThe drawable to add the arms view to.
Ghidra address:
NTSC-U/C: 0x00456a88
Ghidra address:
PAL: 0x00493fb8

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