summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hl2h.h')
-rw-r--r--src/hl2h.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index 45a297e..e441167 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -67,6 +67,7 @@ struct GameInterfaces {
67 void *engineserver = nullptr; // IVEngineServer021 (edict access, incl. server entities) 67 void *engineserver = nullptr; // IVEngineServer021 (edict access, incl. server entities)
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}; 71};
71extern GameInterfaces g_iface; 72extern GameInterfaces g_iface;
72 73
@@ -176,7 +177,8 @@ enum FeatureId {
176 FEAT_MELEE = 7, 177 FEAT_MELEE = 7,
177 FEAT_SPREAD = 8, 178 FEAT_SPREAD = 8,
178 FEAT_ITEM_ESP = 9, 179 FEAT_ITEM_ESP = 9,
179 FEAT_COUNT = 10 180 FEAT_FULLBRIGHT = 10,
181 FEAT_COUNT = 11
180}; 182};
181enum EspOption { 183enum EspOption {
182 ESP_OPT_SHOW_NEUTRAL = 0, 184 ESP_OPT_SHOW_NEUTRAL = 0,
@@ -208,7 +210,7 @@ struct FeatureState {
208}; 210};
209 211
210extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp, 212extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp,
211 g_aimbot, g_triggerbot, g_silentaim, g_item_esp; 213 g_aimbot, g_triggerbot, g_silentaim, g_item_esp, g_fullbright;
212extern bool g_bhop_autostrafe; 214extern bool g_bhop_autostrafe;
213extern bool g_jumpbug_assist; 215extern bool g_jumpbug_assist;
214extern bool g_spread_no_spread; 216extern bool g_spread_no_spread;
@@ -243,6 +245,9 @@ void fix_verified_crc(int seq, uint32_t crc);
243uint32_t usercmd_checksum(const CUserCmd *c); 245uint32_t usercmd_checksum(const CUserCmd *c);
244bool find_input_global(); 246bool find_input_global();
245void resolve_netvars(); 247void resolve_netvars();
248bool cvar_set_int(const char *name, int value);
249void fullbright_update();
250void fullbright_invalidate();
246bool resolve_server_netvars(); 251bool resolve_server_netvars();
247int server_entity_health(int idx, int *maxhealth, int *lifestate, void **base_out); 252int server_entity_health(int idx, int *maxhealth, int *lifestate, void **base_out);
248bool server_set_velocity_z(int idx, float vz); 253bool server_set_velocity_z(int idx, float vz);