summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-04 18:08:07 +0100
committersalmonik <salmonik@tuta.io>2026-11-04 18:08:07 +0100
commitb3003583a1a66f5ae2eae63763f285635b43d58f (patch)
treed4d2e778a2265652befcc86fbaa8bf1f4fcb30c3 /src/hl2h.h
parentChams: quiet material lookup, accept any fallback by name (diff)
downloadhl2h-b3003583a1a66f5ae2eae63763f285635b43d58f.tar.gz
hl2h-b3003583a1a66f5ae2eae63763f285635b43d58f.zip
Chams: material styles and viewmodel support
- Material selector 0..4: debugwhite, debug wireframe (ignorez), vgui white_additive, debugtranslucentsinglecolor, vgui/white; cached per index with a debugwhite fallback. - Add "Viewmodel (hands/weapon)" toggle; viewmodel entities (class contains viewmodel or model path /v_...) get a normal-depth chams pass. - [chams] gains viewmodel= and material=.
Diffstat (limited to '')
-rw-r--r--src/hl2h.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index 55fac0d..1be1bb1 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -231,6 +231,8 @@ extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp,
231 g_world_tint, g_fog, g_skybox, g_projectiles, g_chams; 231 g_world_tint, g_fog, g_skybox, g_projectiles, g_chams;
232extern bool g_proj_fuse, g_proj_radius; 232extern bool g_proj_fuse, g_proj_radius;
233extern bool g_chams_walls; 233extern bool g_chams_walls;
234extern bool g_chams_viewmodel;
235extern int g_chams_mat_index;
234extern int g_chams_rgb[3]; 236extern int g_chams_rgb[3];
235extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on; 237extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on;
236extern int g_tint_world_rgb[3], g_tint_sky_rgb[3], g_tint_prop_rgb[3]; 238extern int g_tint_world_rgb[3], g_tint_sky_rgb[3], g_tint_prop_rgb[3];
@@ -334,6 +336,7 @@ void aimbot_reset_lock();
334void silentaim_reset_lock(); 336void silentaim_reset_lock();
335void *entitylist_get(int idx); 337void *entitylist_get(int idx);
336bool esp_is_npc_index(int idx); 338bool esp_is_npc_index(int idx);
339bool esp_is_viewmodel_index(int idx);
337void *world_find_material(const char *name); 340void *world_find_material(const char *name);
338void chams_init(); 341void chams_init();
339int engine_get_local_player(); 342int engine_get_local_player();