summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hl2h.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index fdc88c1..92ae3f1 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -128,8 +128,8 @@ struct CUserCmd {
128// --------------------------------------------------------------------------- 128// ---------------------------------------------------------------------------
129 129
130enum { IN_ATTACK = 1 << 0, IN_JUMP = 1 << 1, IN_DUCK = 1 << 2, IN_USE = 1 << 5 }; 130enum { IN_ATTACK = 1 << 0, IN_JUMP = 1 << 1, IN_DUCK = 1 << 2, IN_USE = 1 << 5 };
131enum { FL_ONGROUND = 1 << 0, FL_INWATER = 1 << 9 }; 131enum { FL_ONGROUND = 1 << 0, FL_DUCKING = 1 << 1, FL_INWATER = 1 << 9 };
132enum { MOVETYPE_NOCLIP = 8, MOVETYPE_LADDER = 9 }; 132enum { MOVETYPE_WALK = 2, MOVETYPE_NOCLIP = 8, MOVETYPE_LADDER = 9 };
133 133
134// --------------------------------------------------------------------------- 134// ---------------------------------------------------------------------------
135// vector math 135// vector math
@@ -152,7 +152,8 @@ enum FeatureId {
152 FEAT_ESP = 2, 152 FEAT_ESP = 2,
153 FEAT_AIMBOT = 3, 153 FEAT_AIMBOT = 3,
154 FEAT_TRIGGERBOT = 4, 154 FEAT_TRIGGERBOT = 4,
155 FEAT_SILENTAIM = 5 155 FEAT_SILENTAIM = 5,
156 FEAT_JUMPBUG = 6
156}; 157};
157enum EspOption { 158enum EspOption {
158 ESP_OPT_SHOW_NEUTRAL = 0, 159 ESP_OPT_SHOW_NEUTRAL = 0,
@@ -200,6 +201,7 @@ bool world_to_screen(const Vector &w, float &sx, float &sy);
200void set_silent_restore(const QAngle &angles); 201void set_silent_restore(const QAngle &angles);
201bool is_visible(const Vector &eye, const Vector &point); 202bool is_visible(const Vector &eye, const Vector &point);
202void *trace_entity(const Vector &start, const Vector &end, void *ignore); 203void *trace_entity(const Vector &start, const Vector &end, void *ignore);
204float ground_distance(const Vector &origin, void *ignore, float max_dist);
203 205
204// bones.cpp — client-side animated skeleton / hitbox access (see there) 206// bones.cpp — client-side animated skeleton / hitbox access (see there)
205bool bones_update(int idx, void *ent); 207bool bones_update(int idx, void *ent);