diff options
Diffstat (limited to '')
| -rw-r--r-- | src/hl2h.h | 11 |
1 files changed, 9 insertions, 2 deletions
| @@ -68,6 +68,7 @@ struct GameInterfaces { | |||
| 68 | void *debugoverlay = nullptr; // IVDebugOverlay003 (engine-accurate world->screen) | 68 | void *debugoverlay = nullptr; // IVDebugOverlay003 (engine-accurate world->screen) |
| 69 | void *enginetrace = nullptr; // EngineTraceClient003 (world vischeck) | 69 | void *enginetrace = nullptr; // EngineTraceClient003 (world vischeck) |
| 70 | void *cvar = nullptr; // VEngineCvar004 (mat_fullbright etc.) | 70 | void *cvar = nullptr; // VEngineCvar004 (mat_fullbright etc.) |
| 71 | void *modelrender = nullptr; // VEngineModel016 (chams) | ||
| 71 | }; | 72 | }; |
| 72 | extern GameInterfaces g_iface; | 73 | extern GameInterfaces g_iface; |
| 73 | 74 | ||
| @@ -189,7 +190,8 @@ enum FeatureId { | |||
| 189 | FEAT_FOG = 12, | 190 | FEAT_FOG = 12, |
| 190 | FEAT_SKYBOX = 13, | 191 | FEAT_SKYBOX = 13, |
| 191 | FEAT_PROJECTILES = 14, | 192 | FEAT_PROJECTILES = 14, |
| 192 | FEAT_COUNT = 15 | 193 | FEAT_CHAMS = 15, |
| 194 | FEAT_COUNT = 16 | ||
| 193 | }; | 195 | }; |
| 194 | enum EspOption { | 196 | enum EspOption { |
| 195 | ESP_OPT_SHOW_NEUTRAL = 0, | 197 | ESP_OPT_SHOW_NEUTRAL = 0, |
| @@ -226,8 +228,10 @@ struct FeatureState { | |||
| 226 | 228 | ||
| 227 | extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp, | 229 | extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp, |
| 228 | g_aimbot, g_triggerbot, g_silentaim, g_item_esp, g_fullbright, | 230 | g_aimbot, g_triggerbot, g_silentaim, g_item_esp, g_fullbright, |
| 229 | g_world_tint, g_fog, g_skybox, g_projectiles; | 231 | g_world_tint, g_fog, g_skybox, g_projectiles, g_chams; |
| 230 | extern bool g_proj_fuse, g_proj_radius; | 232 | extern bool g_proj_fuse, g_proj_radius; |
| 233 | extern bool g_chams_walls; | ||
| 234 | extern int g_chams_rgb[3]; | ||
| 231 | extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on; | 235 | extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on; |
| 232 | extern int g_tint_world_rgb[3], g_tint_sky_rgb[3], g_tint_prop_rgb[3]; | 236 | extern int g_tint_world_rgb[3], g_tint_sky_rgb[3], g_tint_prop_rgb[3]; |
| 233 | extern bool g_fog_skybox, g_fog_disable; | 237 | extern bool g_fog_skybox, g_fog_disable; |
| @@ -329,6 +333,9 @@ bool aimbot_fov_circle(); | |||
| 329 | void aimbot_reset_lock(); | 333 | void aimbot_reset_lock(); |
| 330 | void silentaim_reset_lock(); | 334 | void silentaim_reset_lock(); |
| 331 | void *entitylist_get(int idx); | 335 | void *entitylist_get(int idx); |
| 336 | bool esp_is_npc_index(int idx); | ||
| 337 | void *world_find_material(const char *name); | ||
| 338 | void chams_init(); | ||
| 332 | int engine_get_local_player(); | 339 | int engine_get_local_player(); |
| 333 | void draw_text_col(int x, int y, const char *s, int r, int g, int b); | 340 | void draw_text_col(int x, int y, const char *s, int r, int g, int b); |
| 334 | void draw_text_small_col(int x, int y, const char *s, int r, int g, int b); | 341 | void draw_text_small_col(int x, int y, const char *s, int r, int g, int b); |
