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

Pulse drawn over the leader's score on the head-up display. More...

#include <hudscorepulse.h>

Public Member Functions

 HudScorePulse ()
 Resolve <layout> score pulse.mesh and hide it.
void MoveTo (HudBadge *pBadge)
 Show the pulse over one badge's score, in its player's colour.
void Hide ()
 Hide the pulse.

Detailed Description

Pulse drawn over the leader's score on the head-up display.

The class is not polymorphic and emits no RTTI. It occupies +0x114 of HudPanel, whose constructor runs the constructor. No descriptor, tag, or file path identifies the class, and its name is inferred from the one object it resolves.

Constructor & Destructor Documentation

◆ HudScorePulse()

HudScorePulse::HudScorePulse ( )

Resolve <layout> score pulse.mesh and hide it.

Ghidra address:
NTSC-U/C: 0x0041bdb8
Ghidra address:
PAL: 0x004568c0

Member Function Documentation

◆ MoveTo()

void HudScorePulse::MoveTo ( HudBadge * pBadge)

Show the pulse over one badge's score, in its player's colour.

Sets the emissive colour of the mesh's material to HudColorFromName() of the player's colour name, copies the translation row of the score mesh's local transform into the pulse mesh's, marks the transform dirty, and shows the mesh. Overlay::OnLeaderChanged() is the caller. The title is inferred.

Parameters
pBadgeThe leader's badge.
Ghidra address:
NTSC-U/C: 0x0041c2b0
Ghidra address:
PAL: 0x00456c48

◆ Hide()

void HudScorePulse::Hide ( )
inline

Hide the pulse.

Overlay::OnLeaderChanged() inlines the body when no player leads, and no out-of-line copy exists.


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