diff options
Diffstat (limited to 'src/hl2h.h')
| -rw-r--r-- | src/hl2h.h | 11 |
1 files changed, 10 insertions, 1 deletions
| @@ -136,9 +136,17 @@ struct QAngle { float x, y, z; }; | |||
| 136 | extern Vector g_cam_eye; | 136 | extern Vector g_cam_eye; |
| 137 | extern Vector g_cam_view; | 137 | extern Vector g_cam_view; |
| 138 | QAngle vector_angles(const Vector &forward); | 138 | QAngle vector_angles(const Vector &forward); |
| 139 | Vector angle_forward_vector(const QAngle &angles); | ||
| 139 | float getfov(const QAngle &my_view, const QAngle &aim_ang); | 140 | float getfov(const QAngle &my_view, const QAngle &aim_ang); |
| 140 | bool aimbot_apply(CUserCmd *cmd); | 141 | bool aimbot_apply(CUserCmd *cmd); |
| 141 | enum FeatureId { FEAT_BHOP = 0, FEAT_ABH = 1, FEAT_ESP = 2, FEAT_AIMBOT = 3 }; | 142 | bool triggerbot_apply(CUserCmd *cmd); |
| 143 | enum FeatureId { | ||
| 144 | FEAT_BHOP = 0, | ||
| 145 | FEAT_ABH = 1, | ||
| 146 | FEAT_ESP = 2, | ||
| 147 | FEAT_AIMBOT = 3, | ||
| 148 | FEAT_TRIGGERBOT = 4 | ||
| 149 | }; | ||
| 142 | enum EspOption { | 150 | enum 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); | |||
| 176 | void esp_draw(); | 184 | void esp_draw(); |
| 177 | bool world_to_screen(const Vector &w, float &sx, float &sy); | 185 | bool world_to_screen(const Vector &w, float &sx, float &sy); |
| 178 | bool is_visible(const Vector &eye, const Vector &point); | 186 | bool is_visible(const Vector &eye, const Vector &point); |
| 187 | void *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) |
| 181 | bool bones_update(int idx, void *ent); | 190 | bool bones_update(int idx, void *ent); |
