From a56de0ef136ba259e62420f6443c96210fc2ce39 Mon Sep 17 00:00:00 2001 From: kedou Date: Wed, 5 Aug 2026 22:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E7=9E=84=E5=AE=9E=E6=97=B6=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=8A=A0=E5=85=A5=E5=B7=A6=E4=B8=8A=E8=A7=92=E8=AF=8A?= =?UTF-8?q?=E6=96=AD(Aim/Method/Key/Tgt),=20=E5=85=B3=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=8D=B3=E5=8F=AF=E8=A7=82=E5=AF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CFramework/Cheat/Visual.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CFramework/Cheat/Visual.cpp b/CFramework/Cheat/Visual.cpp index 2603da2..0b136a6 100644 --- a/CFramework/Cheat/Visual.cpp +++ b/CFramework/Cheat/Visual.cpp @@ -29,6 +29,21 @@ void CFramework::RenderInfo() (int)GetEntityList().size()); StringEx(ImVec2(8.f, 24.f), ImColor(1.f, 1.f, 0.f, 1.f), ImGui::GetFontSize(), diag); + // --- 自瞄实时状态 (关菜单也能看) --- + // Aim = 自瞄开关; M = 方式(MEM内存/MOU鼠标); Key = 触发键是否按住 + // Tgt = 是否锁定目标; d = 目标离屏幕中心距离px + bool k0 = (GetAsyncKeyState(g.g_AimKey0) & 0x8000) != 0; + bool k1 = (GetAsyncKeyState(g.g_AimKey1) & 0x8000) != 0; + char aim[192]{}; + snprintf(aim, sizeof(aim), + "Aim:%s M:%s Key:%s Tgt:%s d=%.0fpx", + g.g_Aim ? "ON" : "OFF", + g.g_AimMethod == 0 ? "MEM" : "MOU", + (k0 || k1) ? "HOLD" : "--", + m_diagBestAddr ? "LOCK" : "NONE", + m_diagBestDist); + StringEx(ImVec2(8.f, 42.f), ImColor(1.f, 0.f, 0.f, 1.f), ImGui::GetFontSize(), aim); + // Crosshair if (g.g_Crosshair && !local.IsAiming()) {