Commit Graph

8 Commits

Author SHA1 Message Date
sindoring 4984d6df7f Port the spellbook
camelot's spellbook inside 1.12's SpellBookFrame, which keeps its open and
close paths and its close button: two pages or one, category tabs (General
with the class icon, the class trees, the pet), the condensed grid under a
header, paging by arrows and wheel, and a settings menu (hide passives,
show all ranks). The cells are plain buttons, since 1.12's CastSpell is
not protected; clicks follow 1.12's SpellButton_OnClick (Shift: a /cast
line into an open macro window or pick up; right click: pet autocast).
The book scales down to fit the screen as camelot's does.

Not ported: flyout groups (1.12 has no GetSpellInfo to name a group's
spells by id) and search.

Verified: harness probe (no load errors; hide passives drops the stub's
passives, the pet category opens with Shift-P's ToggleSpellBook, a click
casts the cell's slot); captures at 1600x900 with stubbed spells, two
pages and one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:28:32 +04:00
sindoring a8b78f8d9e Port the pet page into the character sheet
The pet page in the sheet's panes: the level line, the client's pet model
with mouse rotation, the diet icon and a camelot-framed experience bar on
the left; loyalty and training points in the stone band, the client's stat
rows under title bands and the resistance row on the right. The window is
named after the pet while the page shows, as 1.12's PetNameText.

The sheet's stone, level strip, stat stacking and resistance row become
shared builders (S.CreateStone, S.CreateStrip, S.StackStats,
S.PlaceResistances), so every page shares one edge. The chat note on
login names the windows now ported.

Verified: harness probe with a stubbed pet (no errors, title switches to
the pet and back, the pet panes hide on other pages); capture of the pet
and character pages at 1600x900 (character page unchanged).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:19:46 +04:00
sindoring a8b15913d0 Port the Forever UI honor page to 1.12
camelot's PvP rank page in the sheet's panes: the rank title, lifetime
kills and highest rank, and the rank dial with its glow, faction ground,
ring, quartered progress gauge, rank badge and numbered reward ring; the
stock honor page's five periods of statistics on the right under title
bands. 1.12 keeps the ranks itself, so UnitPVPRank, GetPVPRankInfo and
GetPVPRankProgress feed the page directly, with no server module.

Verified with the addon harness (clean load, the client page hidden behind
ours) and a 1600x900 capture fed stub rank and honor data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:12:38 +04:00
sindoring 540f664443 Port the Forever UI character sheet to 1.12
camelot's sheet layout on the client's own frames: the 631x484 metal
window with the portrait ring, the left pane with the level line, the
model (dragged round with the mouse) and the gear slots, the right pane
with the stone band, 1.12's fixed stat rows grouped under title bands in
alternating stripes and the five resistances with camelot's icons, and the
client's five tabs as a column of side tabs. The pet, reputation, skills
and honor pages keep the client's layout, their old art hidden, until they
are ported. The window moves in from the screen edge, as its metal reaches
past it. build.py packs every file a texture path prefix starts.

Verified with the addon harness (clean load; the sheet at 631x484 with its
title, level line, slots, stats and tabs; page switching) on the forever
test build and the release build (classic untouched), and 1600x900
captures of the sheet and the skills, reputation and honor pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 19:48:51 +04:00
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