|
group2 0.1.0
CSE 125 Group 2
|
Skeleton-driven hitbox types: body regions, capsule definitions, damage profiles, and per-entity runtime state. More...
#include <array>#include <cstdint>#include <glm/glm.hpp>#include <string>#include <unordered_map>#include <vector>Go to the source code of this file.
Classes | |
| struct | HitboxDef |
| Hitbox definition (static, per-rig). More... | |
| struct | WorldCapsule |
| Runtime capsule (world-space, per-entity, per-frame). More... | |
| struct | HitboxInstance |
| ECS components. More... | |
| struct | JointMatrices |
| ECS component: per-entity model-space joint matrices from animation. More... | |
| struct | DamageProfile |
| Damage profile. More... | |
| struct | HitboxRig |
| Hitbox rig (shared per character archetype). More... | |
| struct | HitDebugSnapshot |
| Debug: hit detection snapshot (for client-server mismatch debugging). More... | |
Enumerations | |
| enum class | BodyRegion : uint8_t { Head , Neck , UpperTorso , LowerTorso , LeftUpperArm , LeftLowerArm , RightUpperArm , RightLowerArm , LeftUpperLeg , LeftLowerLeg , RightUpperLeg , RightLowerLeg , Count } |
| Body regions. More... | |
Functions | |
| const char * | bodyRegionName (BodyRegion region) |
| Human-readable name for a body region (UI / kill feed / logging). | |
| const DamageProfile & | defaultDamageProfile () |
| Global (default) damage profile accessor. | |
Skeleton-driven hitbox types: body regions, capsule definitions, damage profiles, and per-entity runtime state.
Modern FPS hitbox system (CS2/Valorant/Deadlock style):
|
strong |
|
inline |
Human-readable name for a body region (UI / kill feed / logging).
|
inline |
Global (default) damage profile accessor.