HUD: hover and tooltips for moved windows

Windows poll the mouse cursor object (0xcdbadc, x +4) for hover; it is
shifted inside a moved window's render/event scope like the events.
Tooltips are separate windows placed by the hovered window in its 1024
layout, so cUI_Tooltip renders with the offset of the moved window under
the cursor. Adds Move-To to the test input helpers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
khallaandClaude Opus 5.5 committed 2026-10-14 04:11:49 +02:00
1 parent a640f2fb17
commit 2853f82627
3 files changed
+103 -7

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ constexpr uint32_t WorldToScreen = 0x00623c40;
// --- globals -----------------------------------------------------------------
constexpr uint32_t g_dxDriver = 0x00cda99c; // DxDriver7*
constexpr uint32_t g_appFlags = 0x0182cdb8; // uint32_t, 0x20000 = inactive
constexpr uint32_t g_mouseCursor = 0x00cdbadc; // mouse cursor object*: x +4, y +8 (render pixels)
// --- read-only constants -----------------------------------------------------
constexpr uint32_t kScreenWidthF = 0x0088e6f4; // float 1024.0