Commit Graph

4 Commits

Author SHA1 Message Date
Adrestie 4508166067 mod-forever-ui: feuille du personnage reprise a zero, avec la capture
La capture de reference entre dans le depot :
docs/reference/camelot_feuille_personnage.png, 923 x 663, echelle 4/3 --
le cadre y mesure 837 x 647 pour 631 x 484 logiques, ce qui confirme les
constantes de la source.

Le module est reecrit. Ce qu'il pose desormais, tout releve de camelot/ :

  cadre 631 x 484, art de panneau dans un cadre fils au-dessus des volets,
    coin haut gauche UI-Frame-PortraitMetal-CornerTopLeft
  portrait 44 centre sur le trou mesure de l'anneau (25 ; -22,5)
  volet gauche 398 avec -General-BG, volet droit 233 avec -Stat-BG etire et
    -Stat-StoneBG en haut, separateur en trois tranches
  emplacements 40, colonnes (24,-60) et (-20,-60), armes au BOTTOM (-60,30),
    distance et munitions en 27
  modele sur tout le volet gauche
  ONGLETS LATERAUX : les onglets du bas de 3.3.5 passent en colonne A
    DROITE, dehors -- barre de 64 x 384 au TOPRIGHT du cadre, 30 sous son
    haut, onglets de 55 x 55 (l'art common-sidetab fait 55 x 60 dont 5 de
    transparent). L'onglet du personnage porte son portrait, rogne a
    0,03125, comme UpdateCharacterModeTabPortrait.

Art ajoute a l'atelier : interface/common/commonsidetabc60 (l'onglet, son
survol, son etat choisi).

ECART SIGNALE : les icones INV_SideTab_*_c60 que la source donne aux
onglets de reputation, devises et statistiques N'EXISTENT PAS dans l'export
du client -- seul l'art commun des onglets y est. Ces onglets gardent donc
le texte du client en attendant.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 03:03:23 +02:00
Adrestie 7a72cf649c mod-forever-ui: three differences the two captures gave up
Comparing my own bag with camelot's, side by side and pixel by pixel, named
what was wrong.

The panel let the world through. Camelot's interior is (16,14,12) and opaque:
the gaps between slots went blue on mine. The colour is now the measured one,
at full opacity.

The title and the bag icon were missing. The metal nine-slice sat in OVERLAY,
where the modern client can afford it because its portrait and title live in
child frames at high level; 3.3.5 keeps them as plain regions of the frame,
in BACKGROUND and ARTWORK, so the metal covered both. The nine-slice moves to
BORDER.

Every slot in camelot wears a frame, full or empty, dark grey: edges between
25 and 49, corners near 100, which is WhiteIconFrame at a tint of 0.39. Mine
showed it white and only on full slots. It is now on every slot at that tint,
and the quality colour takes over only from uncommon up -- the common items
of the capture keep the grey.

Both captures are kept in docs/reference/.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 22:47:50 +02:00
Adrestie 5eb09d6f79 mod-forever-ui: the bag window measured against the real client
A screenshot of camelot's own backpack settled it. At the 4/3 scale of that
capture the grid is 217 pixels for camelot's 163 units, a slot 49 for 37, the
pitch 56 for 42, the search box 100 wide for the 96 of an edit box whose art
runs 5 past its left, and the whole window 411 for the 305 the formula gives
on five rows. The numbers in the code were right.

So the thirty pixels added by hand go away: the window is again what
CalculateHeight says it is. The capture is kept in docs/reference/ beside the
one of the bottom row, and the measurements are written where they were taken.

The close button becomes the red X of the modern panels, 24 by 24 at (1, 0)
of the top right corner, as UIPanelCloseButtonNoScripts and its default
anchors have it. One more sheet came into the workspace for it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 22:16:58 +02:00
Adrestie 0f9db07adb mod-forever-ui: the backpack window measured, centred, and its slots outlined
Four things the game showed and the code did not.

The window is now measured from what it holds -- header, grid, money frame,
margin -- instead of from the old background pieces that the reskin removed,
so it is tall enough and the money frame sits inside it. The grid is centred
instead of being flush right: 3.3.5 anchors it at -12 from the right edge and
lets the left margin fall where it may.

Item slots get an outline. The reference only gives the background of an empty
slot, which an item hides as soon as one is there; the frame of the bags bar
is laid over each slot, the same the bag buttons of the bottom row wear.

docs/reference/ keeps the screenshot of the real client that arrived with the
report. It confirms the bottom row point by point -- keybind at the top right,
page block over the gryphon, dividers, gryphon feet on the bar, reputation
above experience, both as long as the row -- and it is written down in
AMELIORATIONS what it says about the micro menu and the bags bar.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 21:35:35 +02:00