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

Frame feedback the head-up display runs before the song starts. More...

#include <hudfeedback.h>

Public Member Functions

void SetFrame (float flFrame)
 Drive the frame feedback for one song position.

Detailed Description

Frame feedback the head-up display runs before the song starts.

The class is not polymorphic and emits no RTTI. No descriptor, tag, or file path identifies it, resolves no object, and its name is inferred from the GfxDevice frame feedback it drives. The head-up display panel embeds one at +0x160.

Before song position -5500 the feedback runs at a fixed strength. Between -5500 and -2000 its alpha and its texture inset fall to zero, and from -2000 onwards, and whenever the song position stands still, the feedback is switched off.

Member Function Documentation

◆ SetFrame()

void HudFeedback::SetFrame ( float flFrame)

Drive the frame feedback for one song position.

Does nothing at a positive position.

Parameters
flFrameThe song position, in MIDI ticks.
Ghidra address:
NTSC-U/C: 0x0041bc50
Ghidra address:
PAL: 0x00456758

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