Kelsidavis-WoWee/include/game
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
..
character.hpp Add body type selection for nonbinary characters and reduce preview rotation sensitivity 2026-02-09 17:56:04 -08:00
entity.hpp Add transport support, gameobject queries, and fix item use 2026-02-08 00:59:40 -08:00
game_handler.hpp Add comprehensive NPC voice system with interaction and combat sounds 2026-02-09 16:03:51 -08:00
group_defines.hpp Add gameplay systems: combat, spells, groups, loot, vendors, and UI 2026-02-04 10:31:03 -08:00
inventory.hpp 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
npc_manager.hpp Add character screen model preview, item icons, stats panel, and fix targeting bugs 2026-02-06 14:24:38 -08:00
opcodes.hpp Fix quest turn-in by populating quest log from gossip data 2026-02-09 23:53:17 -08:00
player.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
spell_defines.hpp Fix spell cast error messages, action bar drag-drop, and player name display 2026-02-06 21:25:35 -08:00
world.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
world_packets.hpp Fix misleading comment in TrainerSpell state field 2026-02-09 22:19:13 -08:00
zone_manager.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00