Kelsidavis-WoWee/include
Kelsi 06facc0060 feat: implement trade window UI with item slots and gold offering
Previously trade only showed an accept/decline popup with no way to
actually offer items or gold. This commit adds the complete trade flow:

Packets:
- CMSG_SET_TRADE_ITEM (tradeSlot, bag, bagSlot) — add item to slot
- CMSG_CLEAR_TRADE_ITEM (tradeSlot) — remove item from slot
- CMSG_SET_TRADE_GOLD (uint64 copper) — set gold offered
- CMSG_UNACCEPT_TRADE — unaccept without cancelling
- SMSG_TRADE_STATUS_EXTENDED parser — updates trade slot/gold state

State:
- TradeSlot struct: itemId, displayId, stackCount, bag, bagSlot
- myTradeSlots_/peerTradeSlots_ arrays (6 slots each)
- myTradeGold_/peerTradeGold_ (copper)
- resetTradeState() helper clears all state on cancel/complete/close

UI (renderTradeWindow):
- Two-column layout: my offer | peer offer
- Each column shows 6 item slots with item names
- Double-click own slot to remove; right-click empty slot to open
  backpack picker popup
- Gold input field (copper, Enter to set)
- Accept Trade / Cancel buttons
- Window close button triggers cancel trade
2026-03-11 00:44:07 -07:00
..
audio audio: stop precast sound on spell completion, failure, or interrupt 2026-03-09 21:04:24 -07:00
auth Vanilla/Turtle WoW support: M2 loading, bone parsing, textures, auth 2026-02-13 16:53:28 -08:00
core feat: propagate OBJECT_FIELD_SCALE_X through creature and GO spawn pipeline 2026-03-10 22:45:47 -07:00
game feat: implement trade window UI with item slots and gold offering 2026-03-11 00:44:07 -07:00
network Fix Windows socket WSAENOTCONN disconnect; add boss encounter frames 2026-03-09 20:05:09 -07:00
pipeline ui,game,pipeline: player nameplates always-on, level-up ring effect, vanilla tile fallback, warden null guard 2026-03-10 07:25:04 -07:00
platform Fix all remaining build warnings and eliminate UB in binary parsers 2026-02-23 19:58:38 -08:00
rendering fix: world map exploration fallback when server mask is unavailable 2026-03-10 22:27:00 -07:00
third_party Fix cross-platform FSR3 compile path and Path-A runtime wiring 2026-03-09 04:24:24 -07:00
ui feat: implement trade window UI with item slots and gold offering 2026-03-11 00:44:07 -07:00