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

Line of text on the head-up display, drawn on its own over the rest. More...

#include <hudtextnode.h>

Public Member Functions

 HudTextNode (const char *pszText, RndView *pHudView)
 Construct a hidden line.
void SetText (const char *pszText)
 Show a line, or hide the line for a null or empty text.
void Hide ()
 Hide the line.
void Draw ()
 Draw the line opaque while it shows.

Detailed Description

Line of text on the head-up display, drawn on its own over the rest.

The class is not polymorphic and emits no RTTI. The object is 4 bytes.

Constructor & Destructor Documentation

◆ HudTextNode()

HudTextNode::HudTextNode ( const char * pszText,
RndView * pHudView )

Construct a hidden line.

Parameters
pszTextThe text object, such as HUD genmsg.txt.
pHudViewThe view the text is removed from.
Ghidra address:
NTSC-U/C: 0x001bf8c0
Ghidra address:
PAL: 0x001c8660

Member Function Documentation

◆ SetText()

void HudTextNode::SetText ( const char * pszText)

Show a line, or hide the line for a null or empty text.

Parameters
pszTextThe line, or null.
Ghidra address:
NTSC-U/C: 0x001bf970
Ghidra address:
PAL: 0x001c8710

◆ Hide()

void HudTextNode::Hide ( )

Hide the line.

Ghidra address:
NTSC-U/C: 0x001bf9f8
Ghidra address:
PAL: 0x001c8798

◆ Draw()

void HudTextNode::Draw ( )

Draw the line opaque while it shows.

Ghidra address:
NTSC-U/C: 0x001bfa28
Ghidra address:
PAL: 0x001c87c8

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