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

Bars that close in over the top and the bottom of the screen. More...

#include <hudletterbox.h>

Public Member Functions

 HudLetterbox (RndView *pHudView)
 Construct open bars from HUD letterbox.view.
void Poll (float fDelta, float fDeltaTicks)
 Advance the bars, and show them while they are not open.
void SetClosed (float fClosed)
 Move the bars toward a part of the way closed.
RndView * GetView () const
const RampAnimator & GetSlide () const

Detailed Description

Bars that close in over the top and the bottom of the screen.

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

Constructor & Destructor Documentation

◆ HudLetterbox()

HudLetterbox::HudLetterbox ( RndView * pHudView)
explicit

Construct open bars from HUD letterbox.view.

Parameters
pHudViewThe view the bars are removed from.
Ghidra address:
NTSC-U/C: 0x001bf718
Ghidra address:
PAL: 0x001c84b8

Member Function Documentation

◆ Poll()

void HudLetterbox::Poll ( float fDelta,
float fDeltaTicks )

Advance the bars, and show them while they are not open.

Parameters
fDeltaThe time since the last poll, or 0 to take it from fDeltaTicks.
fDeltaTicksThe ticks since the last poll.
Ghidra address:
NTSC-U/C: 0x001bf800
Ghidra address:
PAL: 0x001c85a0

◆ SetClosed()

void HudLetterbox::SetClosed ( float fClosed)

Move the bars toward a part of the way closed.

Parameters
fClosedThe part, from 0 (open) to 1 (closed).
Ghidra address:
NTSC-U/C: 0x001bf890
Ghidra address:
PAL: 0x001c8630

◆ GetView()

RndView * HudLetterbox::GetView ( ) const
inline
Returns
HUD letterbox.view.

◆ GetSlide()

const RampAnimator & HudLetterbox::GetSlide ( ) const
inline
Returns
The bars, from 0 (open) to 100 (closed).

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