diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 16:09:38 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 16:09:59 +0100 |
| commit | e2d238e1b4071ccbf3858eacb7b3ce8f98fa48e1 (patch) | |
| tree | 95e968f13428d181276932c93a53eaf2106ab8a6 /src/hl2h.h | |
| parent | Bones: client-side SetupBones/studiohdr groundwork (diff) | |
| download | hl2h-e2d238e1b4071ccbf3858eacb7b3ce8f98fa48e1.tar.gz hl2h-e2d238e1b4071ccbf3858eacb7b3ce8f98fa48e1.zip | |
Bones: robust head lookup (hitbox name -> head bone) + hitbox dump
Diffstat (limited to '')
| -rw-r--r-- | src/hl2h.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -175,6 +175,7 @@ int bone_find(int idx, const char *name); | |||
| 175 | int bone_parent(int idx, int bone); | 175 | int bone_parent(int idx, int bone); |
| 176 | bool bone_pos(int idx, int bone, Vector &out); | 176 | bool bone_pos(int idx, int bone, Vector &out); |
| 177 | bool hitbox_center(int idx, const char *hitbox_name, Vector &out); | 177 | bool hitbox_center(int idx, const char *hitbox_name, Vector &out); |
| 178 | bool head_position(int idx, Vector &out); | ||
| 178 | 179 | ||
| 179 | void outer_draw(); | 180 | void outer_draw(); |
| 180 | // raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp) | 181 | // raw ISurface slot calls used by the PaintTraverseEx hook (hl2h.cpp) |
