From 5a9fd14f9424d7f66b0454464be95b40b10ee5c4 Mon Sep 17 00:00:00 2001 From: salmonik Date: Fri, 6 Nov 2026 16:23:29 +0100 Subject: ESP: extract item ESP into its own translation unit Second slice of the esp.cpp split. Model-name lookup joins the shared helpers in esp_internal.h. --- src/esp_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/esp_internal.h') diff --git a/src/esp_internal.h b/src/esp_internal.h index 15178a7..6e66f42 100644 --- a/src/esp_internal.h +++ b/src/esp_internal.h @@ -18,6 +18,7 @@ bool esp_update_screen(); void *entity_networkable(int idx); const char *entity_class_name(void *net, void **out_cc); const char *entity_model_name(void *ent); +const char *model_name_from_index(int modelindex); bool entity_origin(void *ent, Vector &out); bool entity_is_dormant(void *net); bool active_weapon_contains(void *local_ent, const char *needle); -- cgit v1.2.3