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

Track name label of one player's track display on the head-up display. More...

#include <hudtracklabel.h>

Public Member Functions

 HudTrackLabel (int nIndex)
 Resolve the label's mesh and text, and show the mesh.
void SetText (const HxStr &text)
 Set the label's text.

Detailed Description

Track name label of one player's track display on the head-up display.

The class is not polymorphic and emits no RTTI. No descriptor, tag, or file path identifies it, and its name is inferred from the track objects it resolves. HudTrack embeds one at +0x50.

Constructor & Destructor Documentation

◆ HudTrackLabel()

HudTrackLabel::HudTrackLabel ( int nIndex)

Resolve the label's mesh and text, and show the mesh.

Parameters
nIndexThe track display number that fills <layout> track<n>.mesh and .txt.
Ghidra address:
NTSC-U/C: 0x00417d58
Ghidra address:
PAL: 0x00451d58

Member Function Documentation

◆ SetText()

void HudTrackLabel::SetText ( const HxStr & text)

Set the label's text.

The out-of-line copy has no caller. The title is inferred.

Parameters
textThe text to show.
Ghidra address:
NTSC-U/C: 0x00429e68
Ghidra address:
PAL: 0x004654a8

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