Skip to content

Port: add mouse to the Character, Options and Help menus - #98

Closed
carrdylan52 wants to merge 2 commits into
TheMoonPeople:masterfrom
carrdylan52:pr/mouse-character-options-help
Closed

carrdylan52 wants to merge 2 commits into
TheMoonPeople:masterfrom
carrdylan52:pr/mouse-character-options-help

Conversation

@carrdylan52

Copy link
Copy Markdown
Contributor

Before: the Character page, the retail Options screen and Help had no mouse input.
After: hover selects a portrait, an Options row or button, or a Help entry; click confirms and right click backs out; the wheel scrolls Options and Help lists and turns Help's picture pages. Cedric's repair board takes hover, wheel and item clicks. The pointer keeps one facing on Max's page instead of jumping across its hotspot.
How: adapters in the existing menu mouse layer; rows are hit where they are drawn and only inside the list's clip; clicks do nothing while a character change loads, and the repair board's input never reaches Cedric's commands after it closes. A second commit draws the menu pointer into --screenshot-fps captures through one helper shared with presentation.
Tests: MenuMouse.* and MenuMouseInput.* (Character, Cedric, Options and Help cases), MglibPresent's pointer facing case, plus the character, Cedric, Options and Help mouse replays in tools/input.

Character page portraits take hover and click; only a portrait click
confirms, and left clicks do nothing while a character change loads.
Cedric's repair board takes hover, wheel and item clicks, and its input
no longer reaches his command list after it closes. The menu pointer
keeps one facing: retail mirrors the hand at Max, which made the
pointer's body jump across its hotspot.

Retail Options rows and buttons follow hover and the wheel scrolls the
list; Help entries follow hover and scroll, and the wheel turns its
picture pages. Rows are hit where they are drawn and only inside the
list's clip, so a row sliding under the footer cannot be clicked.
The FPS capture and presentation now record the FPS counter and menu
pointer through one helper, so a capture shows the pointer where a
presented frame does. The usage text and PC.md say so.
millerscout added a commit to millerscout/ChronicleTwo that referenced this pull request Oct 17, 2026
Adubbz pushed a commit that referenced this pull request Oct 18, 2026
Character page portraits follow hover and confirm on click; Cedric's
repair board takes hover, wheel and item clicks only; the retail Options
and Help lists hit their drawn rows inside the list scissor and scroll
with the wheel. The newest choice window takes the mouse when two draw
at once, the pointer keeps one facing, and --screenshot-fps captures
include the menu pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Adubbz Adubbz closed this Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants