mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 03:23:51 +00:00
- Extract renderItemTooltip() (510 LOC) from ChatMarkupRenderer into dedicated ItemTooltipRenderer class; chat_markup_renderer.cpp 766→192 LOC - Extract formatChatMessage(), detectChannelPrefix(), inputTextCallback() from render(); render() 711→376 LOC - Consolidate replaceGenderPlaceholders() from 3 copies into chat_utils::replaceGenderPlaceholders(); remove 118 LOC duplicate from quest_log_screen.cpp, update 8 call sites in window_manager.cpp - Delete chat_panel_commands.cpp (359 LOC) — absorb sendChatMessage, executeMacroText, PortBot helpers into chat_panel.cpp; move evaluateMacroConditionals to macro_eval_convenience.cpp - Delete chat_panel_utils.cpp (229 LOC) — absorb small utilities into chat_panel.cpp - Replace 3 forward declarations of evaluateMacroConditionals with #include "ui/chat/macro_evaluator.hpp" Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| chat_bubble_manager.cpp | ||
| chat_command_registry.cpp | ||
| chat_input.cpp | ||
| chat_markup_parser.cpp | ||
| chat_markup_renderer.cpp | ||
| chat_settings.cpp | ||
| chat_tab_completer.cpp | ||
| chat_tab_manager.cpp | ||
| chat_utils.cpp | ||
| game_state_adapter.cpp | ||
| input_modifier_adapter.cpp | ||
| item_tooltip_renderer.cpp | ||
| macro_eval_convenience.cpp | ||
| macro_evaluator.cpp | ||