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

Animation of the arena screens that TnlArena drives. More...

#include <screenanim.h>

Inheritance diagram for ScreenAnim:

Public Member Functions

virtual ~ScreenAnim ()
virtual void SetFrame (float flFrame)
 Advance the screens to one song position.
virtual void SetLevel (int nLevel)
 Select how the screens show the session's state.
virtual void UpdateLeaders ()
 Recompute the players the screens show after a score change.

Detailed Description

Animation of the arena screens that TnlArena drives.

Its RTTI descriptor is at 0x0086f728. It is a root class with no base. Its type function is at 0x0040c4e0 and its table at 0x00817308 has five entries. The object is the four-byte vptr alone. TnlArena builds this class itself when configuration code 0x3a1 is set, and builds SoloScreenAnim or MultiScreenAnim otherwise. Every hook of this class does nothing.

The out-of-line copies of the members sit in the TnlArena unit. The hook titles are inferred from the two derived classes and from TnlArena's calls.

Constructor & Destructor Documentation

◆ ~ScreenAnim()

virtual ScreenAnim::~ScreenAnim ( )
virtual
Ghidra address:
NTSC-U/C: 0x0040c520
Ghidra address:
PAL: 0x00445f48

Member Function Documentation

◆ SetFrame()

virtual void ScreenAnim::SetFrame ( float flFrame)
virtual

Advance the screens to one song position.

Slot 2. The base implementation does nothing.

Parameters
flFrameThe song position, in MIDI ticks.
Ghidra address:
NTSC-U/C: 0x0040c550
Ghidra address:
PAL: 0x00445f78

Reimplemented in MultiScreenAnim, and SoloScreenAnim.

◆ SetLevel()

virtual void ScreenAnim::SetLevel ( int nLevel)
virtual

Select how the screens show the session's state.

Slot 3. The base implementation does nothing. TnlArena passes 1 at construction and at destruction.

Parameters
nLevelThe level, from 0 to 2.
Ghidra address:
NTSC-U/C: 0x0040c558
Ghidra address:
PAL: 0x00445f80

Reimplemented in SoloScreenAnim.

◆ UpdateLeaders()

virtual void ScreenAnim::UpdateLeaders ( )
virtual

Recompute the players the screens show after a score change.

Slot 4. The base implementation does nothing. TnlArena runs it for each PointAmountMsg.

Ghidra address:
NTSC-U/C: 0x0040c560
Ghidra address:
PAL: 0x00445f88

Reimplemented in MultiScreenAnim.


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