aboutsummaryrefslogtreecommitdiff
path: root/analyzer/render.h
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-07-28 19:37:29 +0200
committerMosder <xmosder12@gmail.com>2026-07-28 19:37:29 +0200
commita30d6feab718a887edc7eb5b0470faa77677a8c3 (patch)
tree87c97ea0fe71f7d9adbdbe399dea39ae24e53fd6 /analyzer/render.h
parent9e874301350a70a1ba40b5508878d559f68f8f4a (diff)
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 :)))))))))))
Diffstat (limited to 'analyzer/render.h')
-rw-r--r--analyzer/render.h6
1 files changed, 6 insertions, 0 deletions
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);