|
resonance 1.0.1
|
The parts of the head-up display that belong to the whole screen rather than to one player. More...
#include <hudpanel.h>

Public Member Functions | |
| HudPanel () | |
| Build every part. | |
| void | SetFrame (float flFrame, float flTime) |
| Advance every animated part. | |
The parts of the head-up display that belong to the whole screen rather than to one player.
The class is not polymorphic and emits no RTTI. No descriptor, tag, or file path identifies it, and its name is inferred. Overlay allocates one with the untagged scalar allocator (0x164 bytes) and records it at its +0x04.
The class declares no destructor. Overlay's destructor inlines the implicit one (~HudTextMessage() for the win message and ~HudPosition() at 0x0041ac18) and then frees the block.
Every member is public because Overlay's handlers drive the parts directly.
| HudPanel::HudPanel | ( | ) |
Build every part.
The song position bar is built over the play map Globals::GetPlayMap() reports, the assembly animation <layout> assembly.view ramps from frame 0 to frame 100 over 480 units, and the label swap animation HUD1 label swap.tnm ramps from frame 100 to frame 200 over 480 units.
| void HudPanel::SetFrame | ( | float | flFrame, |
| float | flTime ) |
Advance every animated part.
The song position bar, the highlight box, the letterbox, and the frame feedback follow the song position, and the two animation ramps and the win message follow the time. The screen flash reads the free-running clock.
| flFrame | The song position, in MIDI ticks. |
| flTime | The time. |
| HudPosition HudPanel::mPosition |
The song position bar. +0x00
| HudScreenFlash HudPanel::mScreenFlash |
The full-screen fade. +0x40
| HudGenMessage HudPanel::mMessage |
HUD genmsg.txt. +0x54
| OvyAssembly HudPanel::mAssembly |
The assembly animation. +0x58
| OvyAssembly HudPanel::mLabelSwap |
The label swap animation. +0x74
| HudHighlight HudPanel::mHighlight |
The highlight box. +0x90
| HudAnalogStick HudPanel::mAnalogStick |
The analog stick prompt. +0x104
| HudTcGroup HudPanel::mTcGroup |
tc_hi_group.view. +0x110
| HudScorePulse HudPanel::mScorePulse |
The pulse over the leader's score. +0x114
| HudLetterbox HudPanel::mLetterbox |
The letterbox bars. +0x118
| HudWinMessage HudPanel::mWinMessage |
The closing sequence. +0x134
| HudFeedback HudPanel::mFeedback |
The frame feedback before the song. +0x160