summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hl2h.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index 98d93f4..28970b0 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -136,9 +136,17 @@ struct QAngle { float x, y, z; };
136extern Vector g_cam_eye; 136extern Vector g_cam_eye;
137extern Vector g_cam_view; 137extern Vector g_cam_view;
138QAngle vector_angles(const Vector &forward); 138QAngle vector_angles(const Vector &forward);
139Vector angle_forward_vector(const QAngle &angles);
139float getfov(const QAngle &my_view, const QAngle &aim_ang); 140float getfov(const QAngle &my_view, const QAngle &aim_ang);
140bool aimbot_apply(CUserCmd *cmd); 141bool aimbot_apply(CUserCmd *cmd);
141enum FeatureId { FEAT_BHOP = 0, FEAT_ABH = 1, FEAT_ESP = 2, FEAT_AIMBOT = 3 }; 142bool triggerbot_apply(CUserCmd *cmd);
143enum FeatureId {
144 FEAT_BHOP = 0,
145 FEAT_ABH = 1,
146 FEAT_ESP = 2,
147 FEAT_AIMBOT = 3,
148 FEAT_TRIGGERBOT = 4
149};
142enum EspOption { 150enum EspOption {
143 ESP_OPT_SHOW_NEUTRAL = 0, 151 ESP_OPT_SHOW_NEUTRAL = 0,
144 ESP_OPT_SHOW_HEALTHBAR = 1, 152 ESP_OPT_SHOW_HEALTHBAR = 1,
@@ -176,6 +184,7 @@ void draw_text_col(int x, int y, const char *s, int r, int g, int b);
176void esp_draw(); 184void esp_draw();
177bool world_to_screen(const Vector &w, float &sx, float &sy); 185bool world_to_screen(const Vector &w, float &sx, float &sy);
178bool is_visible(const Vector &eye, const Vector &point); 186bool is_visible(const Vector &eye, const Vector &point);
187void *trace_entity(const Vector &start, const Vector &end, void *ignore);
179 188
180// bones.cpp — client-side animated skeleton / hitbox access (see there) 189// bones.cpp — client-side animated skeleton / hitbox access (see there)
181bool bones_update(int idx, void *ent); 190bool bones_update(int idx, void *ent);