57 static void UnitToScreen(
float *pfX0,
float *pfY0,
float *pfX1,
float *pfY1);
70 void SetBoxRect(
float fX0,
float fY0,
float fX1,
float fY1,
float fDuration);
128 float mFromArrowAngle;
131 unsigned char mChanging;
Interpolator that follows an arctangent, which eases in and out of the range.
Definition interpolator.h:287
HudHiliteBox()
Construct a hidden box and arrow from HUD hilite_box.mesh, HUD hilite_box.mat, HUD hilite arrow....
static constexpr int kNumBoxVerts
The number of vertices of the box.
Definition hudhilitebox.h:28
Changing
The bits of mChanging, which say what Update() still moves.
Definition hudhilitebox.h:20
@ kChangingArrowMove
Definition hudhilitebox.h:24
@ kChangingArrowFade
Definition hudhilitebox.h:23
@ kChangingBoxMove
Definition hudhilitebox.h:22
@ kChangingBoxFade
Definition hudhilitebox.h:21
void ShowArrow(bool bShow)
Fade the arrow in or out over 240 ticks.
void SetArrowTarget(float fX, float fY, float fAngle, float fDuration)
Move and turn the arrow to point at a place of the screen.
void SetBoxRect(float fX0, float fY0, float fX1, float fY1, float fDuration)
Move and stretch the box to a rectangle of the screen.
void Update(float fTick)
Advance every change that runs.
void Reset()
Hide the box and the arrow at once and stop every change.
static void UnitToScreen(float *pfX0, float *pfY0, float *pfX1, float *pfY1)
Convert a rectangle in the unit square of the screen to the coordinates of the display.
void ShowBox(bool bShow)
Fade the box in or out over 480 ticks.
Straight-line interpolator.
Definition interpolator.h:99
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
Triangle mesh with a material.
Definition rndmesh.h:31
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27
Two-component vector, used for texture coordinates.
Definition vector2.h:12
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:14