update client visuals, performance and diagnostics

This commit is contained in:
st committed 2026-10-14 23:30:29 -05:00
1 parent 361892bf0b
commit 875bab0310
155 files changed
+40855 -421

No files matched your search

+31 -2
View File
@@ -187,8 +187,22 @@ only. In-game verification of the rebuilt DLL still requires loading it.
## HUD editor grid snapping
The clickgui's top bar has a `hud editor` popup with snap/grid toggles and a
4-64 pixel grid size (default 10). Hold Shift while dragging to bypass snapping.
Mouse input is gated both in the subclassed window procedure and in Bedrock's
native MouseDevice feed queue (verified unique signature, current RVA 0x361ad0).
While the menu is open, native motion, button presses, and wheel packets are
discarded; actual button releases still pass. Opening the menu posts a tagged
message to the game's window thread that queues releases for cached mouse
buttons at the last mouse position. It does not synthesize clicks or wheel input.
Closing the menu restores unmodified native event forwarding. Automated tests
cover forwarding arguments, blocked event types, release handling and reopening;
the final in-game click/scroll check remains necessary after reloading the DLL.
The clickgui's top bar has a `hud editor` button that opens a separate editing
screen. Category panels and profile controls are hidden there; its toolbar has
snap/grid toggles, a 4-64 pixel grid size (default 10), and `back to modules`.
Escape returns to the module screen; Right Shift closes the menu. Each new menu
opening starts on modules. Grid lines and HUD drag handles appear only in the
editor. Hold Shift while dragging to bypass snapping.
Only dragged HUD elements snap; opening the editor leaves existing layouts alone.
Mouse displacement is measured from the original grab point, rather than rounding
each frame's delta, so slow dragging does not get stuck between grid cells.
@@ -332,3 +346,18 @@ orbit deltas; reads of the restored player baseline do not reset that reference.
A regression checks that a repeated target contributes zero camera movement,
then a new target contributes only its incremental pitch/yaw change. This fixes
the observed continuous orbit after stopping the mouse.
## Steal/dump item picker
Right-clicking steal or dump opens a compact item list from the current source
slots. Counts aggregate all matching native item IDs; choosing a row transfers
all stacks of that exact ID. Dump choices include hotbar only when the existing
include-hotbar setting is enabled. Left-click continues to transfer everything.
The list scrolls with the mouse wheel, closes with Escape/outside clicks, and
consumes its mouse buttons so selecting a row cannot pick up a container item.
Closing/changing containers, disabling buttons/module or opening the clickgui
clears the picker. Requests carry a copied filter and expected controller identity;
no stale picker selection can attach to a newly opened container. Engine tests
cover duplicate stacks, missing IDs, exact apple/golden-apple distinction, dump
filtering, hotbar choices and filter reset. In-game picker interaction remains to
be checked after loading the rebuilt DLL.