diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 15:44:45 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 15:44:45 +0100 |
| commit | 15e4d33220bedb62beac635580fa4d222a7f5863 (patch) | |
| tree | 46cd1ee202b7d9d0597b7a91b6716ce4bef6d1a3 /src/hl2h.h | |
| parent | ESP: vertical health bar right of the box, HP number beside it (diff) | |
| download | hl2h-15e4d33220bedb62beac635580fa4d222a7f5863.tar.gz hl2h-15e4d33220bedb62beac635580fa4d222a7f5863.zip | |
ESP: menu toggles for neutral/healthbar/healthnum/name
Diffstat (limited to '')
| -rw-r--r-- | src/hl2h.h | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -136,6 +136,13 @@ extern Vector g_cam_eye; | |||
| 136 | extern Vector g_cam_view; | 136 | extern Vector g_cam_view; |
| 137 | QAngle vector_angles(const Vector &forward); | 137 | QAngle vector_angles(const Vector &forward); |
| 138 | enum FeatureId { FEAT_BHOP = 0, FEAT_ABH = 1, FEAT_ESP = 2 }; | 138 | enum FeatureId { FEAT_BHOP = 0, FEAT_ABH = 1, FEAT_ESP = 2 }; |
| 139 | enum EspOption { | ||
| 140 | ESP_OPT_SHOW_NEUTRAL = 0, | ||
| 141 | ESP_OPT_SHOW_HEALTHBAR = 1, | ||
| 142 | ESP_OPT_SHOW_HEALTHNUM = 2, | ||
| 143 | ESP_OPT_SHOW_NAME = 3, | ||
| 144 | ESP_OPT_COUNT = 4 | ||
| 145 | }; | ||
| 139 | 146 | ||
| 140 | // --------------------------------------------------------------------------- | 147 | // --------------------------------------------------------------------------- |
| 141 | // cross-file declarations | 148 | // cross-file declarations |
| @@ -153,6 +160,7 @@ int server_model_index(void *base); | |||
| 153 | void find_modules(); | 160 | void find_modules(); |
| 154 | void init_conmsg(); | 161 | void init_conmsg(); |
| 155 | bool feature_active(int feature); | 162 | bool feature_active(int feature); |
| 163 | bool esp_option(int opt); | ||
| 156 | void *entitylist_get(int idx); | 164 | void *entitylist_get(int idx); |
| 157 | int engine_get_local_player(); | 165 | int engine_get_local_player(); |
| 158 | void draw_text_col(int x, int y, const char *s, int r, int g, int b); | 166 | void draw_text_col(int x, int y, const char *s, int r, int g, int b); |
