From a30d6feab718a887edc7eb5b0470faa77677a8c3 Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 28 Jul 2026 19:37:29 +0200 Subject: feat: added a very-very basic total rewards thingy, still needs to do detection through the special packet sent by client and there's a lot of placeholder things and not the best code there. Also - normal items don't stack and they definitely should - that's gonna be a bit of refactoring :))))))))))) --- analyzer/render.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'analyzer/render.h') diff --git a/analyzer/render.h b/analyzer/render.h index c28f3e3..7ad2e92 100644 --- a/analyzer/render.h +++ b/analyzer/render.h @@ -3,6 +3,7 @@ #include "parser/fight_results/fight_results.h" #include "utils/memory.h" +#include "analyzer.h" // ANSI escape sequence colors #define COLOR_GOLD 33 @@ -53,3 +54,8 @@ inline static size_t sum_col_widths() { // params: // - results - fight results to render extern void render_fight_results(FightResults results); + +// render total rewards onto the terminal +// params: +// - rewards - total rewards to render +extern void render_total_rewards(TotalRewards rewards); -- cgit v1.2.3