Kelsidavis-WoWee/include
kelsi davis dfc4008ec7 Add Tier 8 commands: advanced targeting system
Targeting Commands:
- /cleartarget - Clear current target selection
- /targetenemy - Cycle to next hostile target (Tab equivalent)
- /targetfriend - Cycle to next friendly player
- /targetlasttarget, /targetlast - Switch to previous target
- /targetlastenemy - Cycle to previous hostile target
- /targetlastfriend - Cycle to previous friendly player
- /focus - Set current target as focus (client-side)
- /clearfocus - Clear focus target

Implementation:
- Added focusGuid and lastTargetGuid to GameHandler for client-side tracking
- setTarget() now automatically saves previous target to lastTargetGuid
- setFocus() and clearFocus() manage focus target with user feedback
- targetLastTarget() swaps current and previous targets
- targetEnemy() cycles through hostile entities (Units)
- targetFriend() cycles through friendly entities (Players)
- Both targetEnemy/targetFriend support reverse parameter for backwards cycling

Features:
- Focus targeting is client-side (no server opcode in 3.3.5a)
- Last target tracking happens automatically on every target change
- Enemy/friend cycling iterates through visible entities
- Provides user feedback when no targets available
- Tab-like cycling behavior with wraparound

All commands work entirely client-side for responsive targeting.
2026-02-07 13:44:36 -08:00
..
audio Add audio volume controls to settings 2026-02-05 17:32:21 -08:00
auth Use auth username for world connection 2026-02-05 18:18:15 -08:00
core Fix compilation errors from single-player removal 2026-02-07 11:26:49 -08:00
game Add Tier 8 commands: advanced targeting system 2026-02-07 13:44:36 -08:00
network Fix online mode creature spawning and packet parsing 2026-02-05 21:55:52 -08:00
pipeline Render M2 glow batches as billboarded light sprites 2026-02-06 08:58: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 Fix online item GUID resolution, async terrain loading, and inventory enrichment 2026-02-06 18:52:28 -08:00
ui Add whisper support and slash command chat system 2026-02-07 12:30:36 -08:00