78 mPulseRest = flFraction;
79 mPulse = flFraction + kPulseLift;
108 static constexpr float kPulseLift = 0.25f;
110 static constexpr float kFullFlash = 1.0f;
One run of an animation between two frames, played against a running time.
Definition animhelper.h:18
void Bank()
Send the points shown out through the exit animation, if any are shown, and hide the text.
void SetPoints(int nPoints)
Show a points total and start its flash from zero.
void Pulse(float flFraction)
Flash the readout and pulse it to a fraction of a phrase.
Definition hudpoints.h:77
void SetFrame(float flTime)
Advance the exit animation, apply the pulse and flash, and let both decay.
int mHot
Selects the hot material for the multiplier text.
Definition hudpoints.h:131
void SetMultiplier(int nMultiplier)
Show a multiplier as x<n>, visible only above 1.
HudPoints(int nIndex)
Resolve the readout's objects, arm the exit animation at frame 100, and hide both texts.
void ShowExit(int nPoints)
Show banked points exiting the readout.
Motion trail that redraws one drawable at the transforms it recently occupied.
Definition blur.h:39
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Run of text drawn as a quad per glyph.
Definition text.h:57
Root of a loadable scene.
Definition view.h:47
The rendering engine.
Definition animhelper.h:3