group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HudTypes.hpp File Reference

Shared types for the HUD system. More...

#include <cstdint>
#include <glm/glm.hpp>
#include <span>
#include <string>
Include dependency graph for HudTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HudColor
 RGBA color for HUD elements (linear space, straight alpha). More...
struct  HudVertex
 Per-vertex data for all HUD geometry (48 bytes). More...
struct  CrosshairStyle
 Crosshair appearance parameters. More...
struct  HudKillFeedEntry
 Kill feed entry data. More...
struct  HudDamageEvent
 Damage direction indicator. More...
struct  HudHitConfirm
 Hit confirmation event. More...
struct  HudDamageNumber
 Floating damage number spawned at a world-space hit position. More...
struct  HudDamageAccum
 Current damage accumulator state for the local player. More...
struct  HudTeamMemberStatus
 Per-teammate status (for scoreboard / team bar). More...
struct  HudMinimapDot
 World-space position for minimap display. More...
struct  HudGameState
 Snapshot of game state consumed by the HUD each frame. More...

Enumerations

enum class  HudAnchor {
  TopLeft , TopCenter , TopRight , CenterLeft ,
  Center , CenterRight , BottomLeft , BottomCenter ,
  BottomRight
}
enum class  HudAlign { Left , Center , Right }
enum class  HudIcon : uint8_t { None = 0 }
 Icon identifiers for the HUD icon atlas. More...

Detailed Description

Shared types for the HUD system.

Enumeration Type Documentation

◆ HudAlign

enum class HudAlign
strong
Enumerator
Left 
Center 
Right 

◆ HudAnchor

enum class HudAnchor
strong
Enumerator
TopLeft 
TopCenter 
TopRight 
CenterLeft 
Center 
CenterRight 
BottomLeft 
BottomCenter 
BottomRight 

◆ HudIcon

enum class HudIcon : uint8_t
strong

Icon identifiers for the HUD icon atlas.

Enumerator
None