16#include <CoreGraphics/CGGeometry.h>
float EvalComboAnimCurve(float flTime, unsigned int dwAnimGroup, int nFrameIndex)
Evaluates a piecewise-linear combo animation curve at flTime.
Definition combo_display.cpp:399
float GetComboScaleByCount(unsigned int dwStep, unsigned int dwDigitCount)
Looks up the combo-number scale factor for an animation step and digit count.
Definition combo_display.cpp:320
float GetComboScaleByDigit(unsigned int dwStep, unsigned int dwDigitCount, int nDigitIndex)
Looks up the combo-number scale factor for one digit position.
Definition combo_display.cpp:329
float GetComboScaleFactor(unsigned int dwStep)
Computes the combo scale factor for an animation step: a linear ramp from 1.0 to 1....
Definition combo_display.cpp:370
float EvalComboScaleCurve(float flTime, unsigned int dwCurveIndex)
Evaluates a four-keyframe piecewise-linear scale curve at flTime.
Definition combo_display.cpp:429
CGPoint GetComboAnimPosition(unsigned int dwAnimGroup, int nFrameIndex)
Returns the screen position for one frame of a combo animation group.
Definition combo_display.cpp:390
int GetComboDigitOffset(int nValue, unsigned int dwDigitCount, int nDigitIndex)
Returns the pixel offset applied to one combo digit, or 0 when it does not apply.
Definition combo_display.cpp:341
int GetComboAnimFrameCount(unsigned int dwAnimGroup)
Returns the number of animation frames defined for a combo animation group.
Definition combo_display.cpp:375
float GetComboFadeFactor(unsigned int dwStep)
Computes the combo fade factor for an animation step: a linear ramp from 0.3 to 0....
Definition combo_display.cpp:359
float GetComboAnimScale(unsigned int dwAnimGroup, int nFrameIndex)
Returns the per-frame combo burst scale for one of the five animation groups.
Definition combo_display.cpp:382