|
group2 0.1.0
CSE 125 Group 2
|
Functions | |
| void | filledPolygon (HudContext &ctx, const float *points, int n, HudColor color) |
| Fill a closed polygon with n points using a triangle fan from the first vertex. | |
| void | strokedPolygon (HudContext &ctx, const float *points, int n, float thickness, HudColor color) |
| Stroke a closed polygon (connects last point back to first). | |
| void | filledCircle (HudContext &ctx, float cx, float cy, float r, int sides, HudColor color) |
| Fill a regular polygon approximating a circle. | |
| void | strokedCircle (HudContext &ctx, float cx, float cy, float r, float thickness, int sides, HudColor color) |
| Stroke a circle as a sides-segment ring. | |
| void | hp (HudContext &ctx, float x, float y, float size, HudColor color) |
| Medical-cross HP glyph (filled). | |
| void | shield (HudContext &ctx, float x, float y, float size, HudColor color) |
| Shield silhouette: top-flat pentagon with curved bottom (stroked). | |
| void | skull (HudContext &ctx, float x, float y, float size, HudColor color) |
| Skull silhouette (filled). | |
| void | headshot (HudContext &ctx, float x, float y, float size, HudColor color) |
| Headshot reticle: circle + center pip + line below. | |
| void | gravityArrow (HudContext &ctx, float x, float y, float size, int direction, HudColor color) |
| Gravity arrow inside a small dial. direction is 0=down, 1=left, 2=up, 3=right. | |
| void | fall (HudContext &ctx, float x, float y, float size, HudColor color) |
| Upward filled triangle (used for "FALL" weapon kill icon). | |
| void | grenade (HudContext &ctx, float x, float y, float size, HudColor color) |
| Grenade: round body + collar + lever (filled silhouette). | |
| void | grapple (HudContext &ctx, float x, float y, float size, HudColor color) |
| Grapple hook: hook shape + diagonal rope (stroked). | |
| void | tactical (HudContext &ctx, float x, float y, float size, HudColor color) |
| Tactical: dotted ring + center pip (stroked). | |
| void | playerArrow (HudContext &ctx, float cx, float cy, float size, HudColor color) |
| Player arrow chevron used on the minimap (filled, with notch). | |
| void | enemyDiamond (HudContext &ctx, float cx, float cy, float size, HudColor color) |
| Diamond marker for enemy positions on the minimap. | |
| void voidfall::icons::enemyDiamond | ( | HudContext & | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | size, | ||
| HudColor | color ) |
Diamond marker for enemy positions on the minimap.
| void voidfall::icons::fall | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Upward filled triangle (used for "FALL" weapon kill icon).
| void voidfall::icons::filledCircle | ( | HudContext & | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | r, | ||
| int | sides, | ||
| HudColor | color ) |
Fill a regular polygon approximating a circle.
| void voidfall::icons::filledPolygon | ( | HudContext & | ctx, |
| const float * | points, | ||
| int | n, | ||
| HudColor | color ) |
Fill a closed polygon with n points using a triangle fan from the first vertex.
Points are flat (x0,y0,x1,y1,...).
| void voidfall::icons::grapple | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Grapple hook: hook shape + diagonal rope (stroked).
| void voidfall::icons::gravityArrow | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| int | direction, | ||
| HudColor | color ) |
Gravity arrow inside a small dial. direction is 0=down, 1=left, 2=up, 3=right.
| void voidfall::icons::grenade | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Grenade: round body + collar + lever (filled silhouette).
| void voidfall::icons::headshot | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Headshot reticle: circle + center pip + line below.
| void voidfall::icons::hp | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Medical-cross HP glyph (filled).
| void voidfall::icons::playerArrow | ( | HudContext & | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | size, | ||
| HudColor | color ) |
Player arrow chevron used on the minimap (filled, with notch).
| void voidfall::icons::shield | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Shield silhouette: top-flat pentagon with curved bottom (stroked).
| void voidfall::icons::skull | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Skull silhouette (filled).
| void voidfall::icons::strokedCircle | ( | HudContext & | ctx, |
| float | cx, | ||
| float | cy, | ||
| float | r, | ||
| float | thickness, | ||
| int | sides, | ||
| HudColor | color ) |
Stroke a circle as a sides-segment ring.
| void voidfall::icons::strokedPolygon | ( | HudContext & | ctx, |
| const float * | points, | ||
| int | n, | ||
| float | thickness, | ||
| HudColor | color ) |
Stroke a closed polygon (connects last point back to first).
| void voidfall::icons::tactical | ( | HudContext & | ctx, |
| float | x, | ||
| float | y, | ||
| float | size, | ||
| HudColor | color ) |
Tactical: dotted ring + center pip (stroked).