Kelsidavis-WoWee/include
Kelsi 8af895c025 Fix quest turn-in by populating quest log from gossip data
The quest log was empty because the client never requested quest data from the server.
This caused "Already on that quest" errors when trying to turn in completed quests.

Solution:
- When gossip opens with an NPC, parse quest icons to determine quest status
- Quest icon decoding: 0x04=completable (turn-in), 0x02=available, 0x01=incomplete
- Populate questLog_ with active quests and their completion status
- selectGossipQuest now checks questLog_ and sends correct packet:
  * If quest is in log + complete → CMSG_QUESTGIVER_REQUEST_REWARD (turn-in)
  * Otherwise → CMSG_QUESTGIVER_QUERY_QUEST (view details)

Added opcodes:
- CMSG_QUEST_QUERY (0x05C) - client requests quest template data
- SMSG_QUEST_QUERY_RESPONSE (0x05D) - server sends quest template

Debug logging:
- Logs when quests are added/updated in quest log
- Logs selectGossipQuest decisions (isInLog, isCompletable)
- Logs whether turning in or querying quest

Also lowered quest marker height by 1 unit (HEIGHT_OFFSET 2.1 → 1.1).

Quest turn-in now works correctly!
2026-02-09 23:53:17 -08:00
..
audio Add goblin voice support for NPCs 2026-02-09 17:14:34 -08:00
auth Use auth username for world connection 2026-02-05 18:18:15 -08:00
core Implement WoW-style 3D billboard quest markers 2026-02-09 23:41:38 -08:00
game Fix quest turn-in by populating quest log from gossip data 2026-02-09 23:53:17 -08:00
network Fix online mode creature spawning and packet parsing 2026-02-05 21:55:52 -08:00
pipeline Add dynamic memory-based asset caching and aggressive loading 2026-02-08 23:15:26 -08:00
platform Fix hair/vendor/loot bugs, revamp spellbook with tabs and icons, clean up action bar, add talent placeholder 2026-02-06 16:04:25 -08:00
rendering Implement WoW-style 3D billboard quest markers 2026-02-09 23:41:38 -08:00
ui Auto-select newly created character in selection screen 2026-02-09 22:51:13 -08:00