#include <Minimap.hpp>
◆ Minimap()
◆ draw()
| void Minimap::draw |
( |
HudContext & | ctx, |
|
|
float | drawX, |
|
|
float | drawY ) |
|
overridevirtual |
Emit geometry into the draw context.
- Parameters
-
| ctx | Immediate-mode draw API. |
| drawX | Resolved pixel X (anchor + offset already applied). |
| drawY | Resolved pixel Y. |
Implements HudWidget.
◆ update()
Called each frame before draw(). Update animation, consume events.
Implements HudWidget.
◆ dotSize
| float Minimap::dotSize = 12.25f |
◆ dotZoneOffsetX
| float Minimap::dotZoneOffsetX = -1.f |
X offset of the dot projection circle from the SVG center.
◆ dotZoneOffsetY
| float Minimap::dotZoneOffsetY = 4.f |
Y offset of the dot projection circle from the SVG center.
◆ dotZoneRadius
| float Minimap::dotZoneRadius = 109.5f |
Radius of the enemy-dot projection circle, in unscaled HUD pixels.
◆ enemies_
| std::vector<Dot> Minimap::enemies_ |
|
private |
◆ localX_
| float Minimap::localX_ = 0.f |
|
private |
◆ localYaw_
| float Minimap::localYaw_ = 0.f |
|
private |
◆ localZ_
| float Minimap::localZ_ = 0.f |
|
private |
◆ mapSize
| float Minimap::mapSize = 275.f |
Pixel size of the Radar.svg quad.
◆ showDotZoneDebug
| bool Minimap::showDotZoneDebug = false |
◆ worldRange_
| float Minimap::worldRange_ = 100.f |
|
private |
The documentation for this struct was generated from the following files: