Commit Graph
167 Commits
Author SHA1 Message Date
rivi-s 4b287b4ac8 Support recolorable, routable party-quest pins (PFPARTY)
Rendering/routing support for pfQuest-turtle's new party quest map
pins (addon = "PFPARTY"), which deliberately carry no meta.texture.

- UpdateNode gives an untextured PFPARTY node the existing "fav" star
  texture instead of the default ring, tinted through the same
  str2rgb/pfQuest_colors path as any other untextured spawn dot, so
  it is recolorable via the same click as a normal spawn marker.
- Added a frame.updateAddon dirty-flag: a recycled pin frame moving
  from one addon's untextured node to another's could otherwise keep
  its previous shape if the two color keys happened to coincide.
- A PFPARTY node has no cluster pin the way the player's own quest
  objectives get (that only happens inside SearchQuestID, tied to the
  player's own quest log index), so it stays an ordinary un-clustered,
  untextured layer-1 node with the World Map both open and closed and
  would otherwise never satisfy any route-eligibility condition.
  Ported route.lua's SetRawObjectiveCandidates (already used by
  pfQuest-HDB for its own closed-map item objectives; the two route.lua
  files are otherwise near-identical) and added the matching PFPARTY-
  only raw-objective detection to both the closed- and open-map halves
  of UpdateNodes, plus a third scan of the closed-map path for PFPARTY
  nodes specifically -- the existing closed-map scan only ever visits
  PFQUEST nodes, so without this the arrow only reflected party
  progress for as long as the World Map happened to still be open.
  Scoped to addon == "PFPARTY" as a positive requirement (not an
  opt-out like pfQuest-HDB's version), so this cannot change how the
  player's own quest objectives already route.
- The three existing route-eligibility sites (NodeClick, and both
  UpdateNodes passes) and the generic world-unit mouseover tooltip
  watcher (pfMap.tooltip's OnShow) gate on the new
  showPartyQuestPinsRoutable config flag and skip PFPARTY respectively,
  the latter because pfQuest-turtle's own tooltip hook already adds a
  richer per-player breakdown to that same tooltip.
2026-09-26 07:42:17 -07:00
rivi-s 9037ae1104 Release pfQuest 8.0.37 2026-09-24 16:21:34 -07:00
rivi-s 727dc04aed Port four map/quest fixes from pfQuest-HDB
- ShowMapID: defer SetMapByID/UpdateNodes one frame on first show,
  avoiding a nil GetCenter() crash while Blizzard's World Map frame
  is still laying itself out.
- Reset the route draw-cache (lastDrawX/Y/lastDrawNode) when the
  World Map opens, so a route built while it was hidden actually
  redraws on the visible map instead of reusing hidden-canvas
  coordinates.
- Add a REINDEX queue entry so accepting a quest that shifts other
  quests' Quest Log index patches their cached qlogid in place
  instead of a full delete-and-rebuild of their map nodes.
- ObjectiveNameMatches: tolerate a quest-log kill-objective name
  being pluralized relative to the unit database entry (e.g. "Harvest
  Watcher" vs "Harvest Watchers"), plus the sibling OBJECT_OBJECTIVE
  tooltip branch for direct object objectives.

Ported and verified against pfQuest-HDB commits 36297fc, 0c6573c,
a97e307, and 621b52c; each gap was confirmed missing in this repo
before porting.
2026-09-21 08:08:21 -07:00
rivi-s 078b52bfd1 Release pfQuest 8.0.33 2026-09-15 17:56:39 -07:00
rivi-s 92ae7c882b Release pfQuest 8.0.32 2026-09-15 14:04:05 -07:00
rivi-s 3bc6fe6d97 Release pfQuest 8.0.31 2026-09-14 18:48:49 -07:00
Rivi-s db4a61167f Refresh minimap position on current world map 2026-09-12 19:59:01 -07:00
Rivi-s 9ddde0c83e Keep minimap node refreshes independent 2026-09-12 19:55:41 -07:00
Rivi-s 5342776a20 Release 8.0.25 tracker and map fixes 2026-09-12 18:11:42 -07:00
Rivi-s 266a487850 Handle formatted quest levels in map tooltips 2026-09-12 08:27:01 -07:00
Rivi-s 01899cc6ca Release 8.0.24 tracker and map fixes 2026-09-11 21:01:56 -07:00
Rivi-s 0138f87e4a Release 8.0.22 minimap refresh modes 2026-09-11 12:56:41 -07:00
Rivi-s 1db2d0b7e1 Release 8.0.21 map filtering and performance fixes 2026-09-10 14:50:35 -07:00
Rivi-s fb058c738d Release 8.0.20 map filters and optional APIs 2026-09-09 22:13:50 -07:00
Rivi-s c8e6e03541 Fix quest log controls and turn-in tracker icons 2026-09-08 10:16:50 -07:00
Rivi-s f7022a2cda Fix current zone objective node refresh 2026-09-07 12:08:31 -07:00
Rivi-s f656883863 Improve current-zone quest tracking 2026-09-06 12:22:58 -07:00
Rivi-s d0d62124cf Improve map and login performance 2026-09-06 09:04:16 -07:00
Rivi-s 4654084bfa Improve tracker, routes, and tooltips 2026-09-05 15:42:03 -07:00
Rivi-s 373ffb4368 Update tested pfQuest base and tracker fixes 2026-09-04 12:27:32 -07:00
shagu ca63af87a5 map: slightly decrease node icon sizes 2025-07-27 13:59:06 +02:00
shagu f9ecff2d5e database: reduce fade range for default tracking 2025-07-24 13:37:17 +02:00
shagu 1eb5cc71fb map: make fade range relative to minimap size 2025-07-23 20:54:13 +02:00
shagu 7c3af075fb map: improve range fade distance of icons 2025-07-23 19:37:23 +02:00
shagu 90541e3c2c map: add new pic element for node texture overlays 2025-07-22 21:20:52 +02:00
shagu 97bd7428f0 map: use default values on invalid user input 2024-11-06 09:25:52 +01:00
shagu aa14f17b8a map: reduce memory consumption on map queries 2024-04-23 18:34:29 +02:00
shagu c1949acd45 map: avoid ToggleWorldMap on wotlk clients
That function is deprecated and no longer existing in 3.3.5a
2024-04-19 23:01:20 +02:00
Ennea edfeba3be8 map: use the game's ToggleWorldMap() to open the map
This ensures that the UI's layout handling code runs, allowing players to close the map with the escape key.
2024-02-26 19:02:05 +01:00
Sattva 0995b62e97 map: highlight nodes for quest selection 2024-02-09 12:27:55 +01:00
shagu 499467b452 map: enable tooltips on worldmap for wotlk 2024-02-09 12:27:55 +01:00
shagu 27b758d591 map: remove colors of received tooltip texts 2024-02-09 12:27:55 +01:00
shagu 470d7a5d77 wotlk: update GetDifficultyColor to use compat 2024-02-09 12:27:55 +01:00
shagu 6ff70d523a map: add api call to receive nodes by name 2024-01-04 14:49:40 +01:00
shagu fa6d5dca68 map: add option to enforce route-arrow 2024-01-04 14:22:52 +01:00
shagu 6b2c263243 map: add quest objective text to tooltips 2023-11-03 12:30:52 +01:00
shagu 590c87d52f map: check existing node before removing it 2023-05-01 19:02:52 +02:00
shagu 5f4fe2f538 map: make sure to keep minimap nodes on top 2023-03-21 22:58:05 +01:00
shagu feddd4642b map: add minimap options for spawns and icons
This adds two new options:
- Show/Hide quest objective spawn points on minimap
- Show/Hide quest objective icons on minimap

The welcome screen has also been adjusted to hide all quest
spawn points on the minimap and show quest objective icons
on the minimap if the simple mode is selected.
2023-03-21 19:42:04 +01:00
shagu 08e8437086 map: move control-key checks into seperate frame
Move the actual control key check into a seperate OnUpdate loop.
Because checking for IsControlKeyDown() is very time expensive in
1.12.1-clients. A better approach to use events for this was added
in 2.2 (TBC) but due to the vanilla support, we keep polling...
2023-03-07 18:05:15 +01:00
shagu 6f97e6b916 map: move customids into local scope 2023-01-24 18:03:48 +01:00
shagu b3b73315c8 map: let extensions decide to draw minimap nodes 2023-01-24 17:38:45 +01:00
shagu f5c00bdb5d map: hide minimap nodes in continent view
Minimap nodes during continent view might glitch and
show bad area data on custom servers with dungeon maps.

This is a temporary solution and might change later.

Thanks to @Haaxor1689
2023-01-24 17:03:21 +01:00
shagu 139896952b map: only delete when node and title exists 2022-11-17 12:28:50 +01:00
shagu b3f1fe6720 quest/map: reduce stutters during quest updates
* Reduce the amount of UpdateNodes calls
* Queue UpdateNodes to be executed only once per 0.25 seconds
2022-11-12 16:41:01 +01:00
shagu f335e33de1 map: fix error on empty node strings 2022-09-29 23:23:46 +02:00
shagu 0ab85c2013 map: improve memory usage by shared node data
store and cache metadata that can be shared across
nodes of the same kind, to avoid duplicating data for
each visible pin on the map.
2022-09-27 20:45:00 +02:00
shagu 8e17c97565 map: check for monsterName in tooltip creation 2022-09-19 16:09:13 +02:00
shagu ce632807cb map: fix nodes not updating visibility 2022-09-02 23:02:22 +02:00
shagu 3af6edc309 config: option to disable monochrome cluster icons 2022-09-02 22:37:34 +02:00