mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-10 06:43:51 +00:00
chore: remove dead functions left behind by handler extractions
685 lines of unused code duplicated into extracted handler files (entity_controller, spell_handler, quest_handler, warden_handler, social_handler, action_bar_panel, chat_panel, window_manager) during PRs #33-#38. Build is now warning-free.
This commit is contained in:
parent
0a4cc9ab96
commit
fe1c4c622b
5 changed files with 0 additions and 685 deletions
|
|
@ -32,13 +32,6 @@ namespace {
|
|||
constexpr auto& kColorBrightGreen = kBrightGreen;
|
||||
constexpr auto& kColorYellow = kYellow;
|
||||
|
||||
// Format a duration in seconds as compact text: "2h", "3:05", "42"
|
||||
void fmtDurationCompact(char* buf, size_t sz, int secs) {
|
||||
if (secs >= 3600) snprintf(buf, sz, "%dh", secs / 3600);
|
||||
else if (secs >= 60) snprintf(buf, sz, "%d:%02d", secs / 60, secs % 60);
|
||||
else snprintf(buf, sz, "%d", secs);
|
||||
}
|
||||
|
||||
// Render "Remaining: Xs" or "Remaining: Xm Ys" in a tooltip (light gray)
|
||||
void renderAuraRemaining(int remainMs) {
|
||||
if (remainMs <= 0) return;
|
||||
|
|
@ -269,7 +262,6 @@ void CombatUI::renderRaidWarningOverlay(game::GameHandler& gameHandler) {
|
|||
// Walk only the new messages (deque — iterate from back by skipping old ones)
|
||||
size_t toScan = newCount - raidWarnChatSeenCount_;
|
||||
size_t startIdx = newCount > toScan ? newCount - toScan : 0;
|
||||
auto* renderer = services_.renderer;
|
||||
for (size_t i = startIdx; i < newCount; ++i) {
|
||||
const auto& msg = chatHistory[i];
|
||||
if (msg.type == game::ChatType::RAID_WARNING ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue