18 Commits

Author SHA1 Message Date
Adrestie a479e51b73 Minimap quests: the whole group above the ring goes up with it
Raising only MinimapBackdrop to make room for the areas put the minimap's
other elements (zoom, mail, bar, tracking...) under the ring. Every frame
of MinimapCluster at the ring's level or above now goes up by the same
amount (one more for all but the ring), the minimap itself and the quest
layer apart: their order stays.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 16:02:53 +02:00
Adrestie 9918e7c58a Quest areas: frames laid out before drawing
The engine lays moved frames out at the frame's end, and DrawQuestBlob
used the old place: the areas lagged a pan by a few frames. Reading the
rectangles (GetLeft) of the map, the ScrollFrame, its child and the area
frame first lays them out at once.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:55:37 +02:00
Adrestie 2b439da068 Quest areas: drawn again on the frame after a pan or a move
A new place reaches the engine on the next frame, as a new size does: the
zoomed map's areas lagged behind a pan, the minimap's behind a move. Each
drawing caused by a change is done again on the next frame.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:53:26 +02:00
Adrestie 702434030b Minimap quests: POIs drawn over the areas
The POI buttons sat at the strips' level, under the area frames. They now
are four levels above the layer, over the areas, and the ring two above
them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:48:25 +02:00
Adrestie 16471bf165 Minimap areas: drawn again on the two frames after a zoom change
A new size reaches the engine on the next frame: drawn at once, the areas
kept the old zoom's size. They are drawn again on the two frames after.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:47:53 +02:00
Adrestie a16c162191 Minimap quests: areas and POIs under the ring, arrows above it
The quest layer sat two levels above the minimap, over the ring
(MinimapBackdrop, one level above). It is now one above the minimap; the
ring and its buttons go above the strips, and the edge arrows above the
ring.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:44:38 +02:00
Adrestie 74ae446be6 Minimap areas: the game's own drawing, in 24 clipped strips
Seen in game: a QuestPOIFrame lays its areas out when DrawQuestBlob runs,
and in a ScrollFrame squeezes them into the visible part, unless drawn
while the ScrollFrame is opened over the whole map, then left as it
shrinks back: then the area is cut cleanly. The minimap is cut into 24
strips, each a ScrollFrame as wide as the circle at its middle with its
own QuestPOIFrame, drawn again that way when the view moves: the world
map's rendering, inside the circle. The cell grid goes; the fixed probe
still answers the hover test. No DrawNone in 3.3.5: areas are taken off
one by one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:40:40 +02:00
Adrestie f0e17d1f49 Minimap areas: the probe stays put
The engine lays a QuestPOIFrame's areas out once, where and how large the
frame is when they are drawn, and answers its hit test from that: a probe
moved with the player and resized with the zoom answered for a stale
picture, and in game the areas stood still on the minimap. The probe is
now the world map's size at a fixed place, under UIParent.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:24:27 +02:00
Adrestie f8da90cb46 Minimap areas: the world map's colours, edges in quarter cells with the rim
Cells take UI-QuestBlob-Inside's blue at fill alpha 128; a cell on an
area's edge is read again in four quarters, and quarters next to the
outside take UI-QuestBlob-Outside's lighter blue at 192: the edge follows
the area twice as finely, and no rim where the minimap's circle cuts it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:21:02 +02:00
Adrestie 0f254c4dd7 Minimap quests: map sizes keyed by GetCurrentMapAreaID, the DBC ID + 1
GetCurrentMapAreaID returns the WorldMapArea ID + 1 (Elwynn Forest is row
30 and map 31, as Questie's map data says): MapSizes was keyed by the row,
so each zone read its neighbour's size (Eversong Woods took Ghostlands'
3300 yards for its 4925), and POIs drew too close to the player. The
screen-scale factor that hid part of it goes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:15:23 +02:00
Adrestie afb955f282 Minimap quests: scale from the minimap's size on screen; areas read twice a second
Seen in game: POIs drew on the right axis but too close to the player (by
140 / 198): the engine sizes the terrain from the minimap's size on
screen, which ForeverUI scales. The units per yard now count that scale.
The engine lays areas out when it draws: the grid is read again twice a
second even without moving, or it stayed empty after a redraw.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 15:12:06 +02:00
Adrestie 0d06dcc1ca Minimap areas: the probe's fill and border alpha at 1/255
The frame's alpha does not reach a QuestPOIFrame's areas: the probe drew
them, visible, past the minimap. Its own fill and border alphas now are 1.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 14:55:35 +02:00
Adrestie d9d1f7559a Minimap areas: the probe drawn at the map's size, nearly transparent
At 1 x 1 and alpha 0 the probe answered nothing in game: the engine lays
its areas out at the frame's size. It now covers the map's rectangle at
the minimap's scale, alpha 0.01, and its first return (the quest) counts.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 14:53:06 +02:00
Adrestie 96ff75c708 Minimap quests: hovering an arrow shows its quest's progress
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 14:51:38 +02:00
Adrestie c7f1e462b4 Minimap areas: a grid of cells inside the circle, from the blobs' hit test
In game neither a ScrollFrame nor tex coords crop a QuestPOIFrame: areas
drew past the minimap's circle. An invisible QuestPOIFrame now holds the
blobs and answers, cell by cell (UpdateMouseOverTooltip), whether a point
is in an area; a 32-cell grid inside the circle shows it, edges brighter.
Areas stay inside the minimap and now turn with it too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 14:50:47 +02:00
Adrestie 3d2f31cf26 Minimap quests: POIs follow an objective done or a quest done
The POIs were read once per event, before the client updated them. They
are read again (QuestMapUpdateAllQuests, QuestPOIUpdateIcons) on
QUEST_LOG_UPDATE and once a second, so a POI that moves or turns into a
turn-in follows.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 14:32:50 +02:00
Adrestie 59d083e325 Minimap areas: cropped by tex coords, not by ScrollFrames
A ScrollFrame does not clip a QuestPOIFrame's texture: an area out of the
minimap's view was squeezed into its visible part, along the edge. Each
strip's texture now shows only the strip's part of the map (place, size
and tex coords), as the world map's tiles are cropped.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 14:31:03 +02:00
Adrestie a3c841a3a4 Minimap: tracked quests' POIs, arrows to them and their areas
3.3.5 shows no quest on the minimap. For each tracked quest with a POI on
the player's map: its number (the tracker's) in range, an arrow on the
edge otherwise, and its blue area, cut into 16 clipped strips that follow
the round minimap (QuestPOIFrame draws a rectangle, nothing clips to a
circle). Hovering an area or a POI shows the quest's progress. Map sizes
in yards come from WorldMapArea.dbc and DungeonMap.dbc (MapSizes.lua,
generated by a local tool).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 13:54:14 +02:00