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

Banner of the letters of AMPLITUDE a duel player has won, which flies to the player's score. More...

#include <hudletterexit.h>

Public Member Functions

 HudLetterExit ()
 Construct an empty banner from <hud> letter_exit.view, the letters and the paths of each side, and the flight path of each letter.
 ~HudLetterExit ()
 Destroy the banner.
void Reset ()
 Hide the banner and stop its flight.
void Poll ()
 Pulse the banner, advance its flight, and fade it.
void ShowReveal (int nPlayer, int nPoints, const char *pszText)
 Show the letter a player won at the centre of the banner.
void ScaleByPulse (RndTransformable *pTrans)
 Scale a transform by the pulse of the banner.
void SetTime (float fLevel)
 Start a pulse that fades to a level.
void Fly (int nResult)
 Fly the letter of one side to its score.

Static Public Attributes

static constexpr int kNumLetters = 9
 The number of letters of AMPLITUDE.
static constexpr int kNumSides = 2
 The number of sides of a duel.
static constexpr int kBasisRows = 3
 The rows of a basis.
static constexpr int kRowFloats = 4
 The words of a row of a transform: three components and the padding.
static const char * sLetters
 The letters of AMPLITUDE.

Detailed Description

Banner of the letters of AMPLITUDE a duel player has won, which flies to the player's score.

The class is not polymorphic and emits no RTTI. The object is 0xc0 bytes. A reveal that arrives while the banner flies waits until the flight ends.

Constructor & Destructor Documentation

◆ HudLetterExit()

HudLetterExit::HudLetterExit ( )

Construct an empty banner from <hud> letter_exit.view, the letters and the paths of each side, and the flight path of each letter.

Ghidra address:
NTSC-U/C: 0x001bedd8
Ghidra address:
PAL: 0x001c7b78

◆ ~HudLetterExit()

HudLetterExit::~HudLetterExit ( )
inline

Destroy the banner.

The body is empty.

Ghidra address:
NTSC-U/C: 0x001bf090
Ghidra address:
PAL: 0x001c7e30

Member Function Documentation

◆ Reset()

void HudLetterExit::Reset ( )

Hide the banner and stop its flight.

Ghidra address:
NTSC-U/C: 0x001bf0b8
Ghidra address:
PAL: 0x001c7e58

◆ Poll()

void HudLetterExit::Poll ( )

Pulse the banner, advance its flight, and fade it.

A flight that ends shows the reveal that waited for it.

Ghidra address:
NTSC-U/C: 0x001bf130
Ghidra address:
PAL: 0x001c7ed0

◆ ShowReveal()

void HudLetterExit::ShowReveal ( int nPlayer,
int nPoints,
const char * pszText )

Show the letter a player won at the centre of the banner.

Parameters
nPlayerThe player.
nPointsThe number of letters the player has, from 1.
pszTextThe text of the points. The banner does not read it.
Ghidra address:
NTSC-U/C: 0x001bf388
Ghidra address:
PAL: 0x001c8128

◆ ScaleByPulse()

void HudLetterExit::ScaleByPulse ( RndTransformable * pTrans)

Scale a transform by the pulse of the banner.

The title is inferred.

Parameters
pTransThe transform.
Ghidra address:
NTSC-U/C: 0x001bf518
Ghidra address:
PAL: 0x001c82b8

◆ SetTime()

void HudLetterExit::SetTime ( float fLevel)

Start a pulse that fades to a level.

Parameters
fLevelThe level the pulse fades to.
Ghidra address:
NTSC-U/C: 0x001bf5a8
Ghidra address:
PAL: 0x001c8348

◆ Fly()

void HudLetterExit::Fly ( int nResult)

Fly the letter of one side to its score.

Parameters
nResultOne of GfxManager::PendingPointsResult. A lost letter flies from the second side.
Ghidra address:
NTSC-U/C: 0x001bf5c0
Ghidra address:
PAL: 0x001c8360

Member Data Documentation

◆ kNumLetters

int HudLetterExit::kNumLetters = 9
staticconstexpr

The number of letters of AMPLITUDE.

◆ kNumSides

int HudLetterExit::kNumSides = 2
staticconstexpr

The number of sides of a duel.

◆ kBasisRows

int HudLetterExit::kBasisRows = 3
staticconstexpr

The rows of a basis.

◆ kRowFloats

int HudLetterExit::kRowFloats = 4
staticconstexpr

The words of a row of a transform: three components and the padding.

◆ sLetters

const char* HudLetterExit::sLetters
static

The letters of AMPLITUDE.

Ghidra address:
NTSC-U/C: 0x003af950
Ghidra address:
PAL: 0x0042e7e4

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