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

Letterbox bars of the head-up display. More...

#include <hudletterbox.h>

Public Member Functions

 HudLetterbox ()
 Resolve the view, hide it, and set the ramp's range.
void SetFrame (float flTime)
 Advance the ramp, pose the view on its value, and show the view unless the value is 0.
void SetTarget (float flTarget)
 Start the bars moving toward a raw ramp position.
void Jump (float flTarget)
 Move the bars to a raw ramp position at once.

Detailed Description

Letterbox bars of 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 one object it resolves. The head-up display panel embeds one at +0x118.

The bars are one view whose animation a ramp drives from frame 0 to frame 100 over 480 units of time. The view shows only while the ramp is off frame 0.

Constructor & Destructor Documentation

◆ HudLetterbox()

HudLetterbox::HudLetterbox ( )

Resolve the view, hide it, and set the ramp's range.

Ghidra address:
NTSC-U/C: 0x0041b3b0
Ghidra address:
PAL: 0x00455d08

Member Function Documentation

◆ SetFrame()

void HudLetterbox::SetFrame ( float flTime)

Advance the ramp, pose the view on its value, and show the view unless the value is 0.

The head-up display panel inlines the body, and this copy has no caller.

Parameters
flTimeThe time the ramp runs against.
Ghidra address:
NTSC-U/C: 0x0042a608
Ghidra address:
PAL: 0x00465958

◆ SetTarget()

void HudLetterbox::SetTarget ( float flTarget)

Start the bars moving toward a raw ramp position.

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

Parameters
flTargetThe raw target, 0 for no bars and 1 for full bars.
Ghidra address:
NTSC-U/C: 0x0042a698
Ghidra address:
PAL: 0x004659e8

◆ Jump()

void HudLetterbox::Jump ( float flTarget)

Move the bars to a raw ramp position at once.

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

Parameters
flTargetThe raw target.
Ghidra address:
NTSC-U/C: 0x0042a6b8
Ghidra address:
PAL: 0x00465a08

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