Commit Graph

4 Commits

Author SHA1 Message Date
sindoring dfc51c723b Port the Forever UI cast bar and minimap to 1.12
The cast bar runs on 1.12's SPELLCAST_* events and their arguments, as the
stock CastingBarFrame does, with camelot's art. The minimap keeps the
client's map, masked and scaled into camelot's ring, with the zone bar,
the tracked ability's icon framed, mail, zoom on hover and the wheel, the
day/night ring laid over the client's GameTimeFrame so its time tooltip
stays, the server time in the bar, the player's coordinates, and the
client buttons camelot has no place for on the ring. Its constants live in
one table: Lua 5.0 allows a function 32 upvalues.

Verified with the addon harness (clean load on the forever test build and
the release build, cast start, progress and interrupt) and a 1600x900
capture of the minimap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:12:16 +04:00
sindoring a3c109b15d Port the Forever UI bottom bars to 1.12
The main action bar, extra bars 2 to 5, the stance and pet bars, the micro
menu, the bags bar with the keyring, and the experience and reputation
bars, on the client's own buttons as upstream reskins them. On 1.12 there
is no combat lockdown; the client's functions are wrapped; the row's left
edge comes from its measured width; the client's managed positions are
undone after UIParent_ManageFramePositions instead of marking frames user
placed, which 1.12 would save and keep on the classic style; the chat
frames, the bags' column and the cast bar clear the new stack; the old bar
frames stop taking the mouse. build.py also packs the art behind atlas
prefixes the code completes at run time.

Verified with the addon harness on a forever test build (clean load, every
button, the micro menu, bags, keyring, latency, bonus bar slide, managed
re-anchoring, chat lift) and on the release build (classic untouched), and
with 1600x900 capture renders of the whole bottom of the screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:00:46 +04:00
sindoring 2c0e6aba57 Port the Forever UI player and target frames to 1.12
The first ported part of Forever UI, loaded only on the forever style:
the atlas tables and texts taken from data/ as they are, the atlas helpers,
Layout's saved positions, the player frame, the target frame with its
target of target and combo points, and the target's auras, on the 1.12
API and Lua 5.0. build.py now copies the upstream files that already run
on 1.12, packs only the art sheets the ported files name, and has a
--test-style switch for harness and capture runs.

Verified with benilla's addon harness on a forever test build (clean load,
stock frames suppressed, health, power, level, hover texts, combat state,
status bar text) and on the release build (classic loads none of it), and
with a capture render of both frames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:38:42 +04:00
sindoring fc364f4693 Add the MoonWell UI style chooser for the 1.12 client
A patch-F.MPQ source for benilla: the player's stock FrameXML.toc with one
row appended, the chooser shown at the first world entry while the
moonwellUIStyle CVar is unset, and an Interface Style rung in the game menu
that reopens it. Forever UI is a stub that announces itself.

Verified with benilla's addon harness (clean load, choose/finish/reopen
flow), capture renders of the chooser and the game menu, and a live client:
the forever style reloads the UI, persists across a restart and switches
back to classic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:27:03 +04:00