aboutsummaryrefslogtreecommitdiff
path: root/analyzer/render.h
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-07-20 17:58:02 +0200
committerMosder <xmosder12@gmail.com>2026-07-20 17:58:02 +0200
commitf73349115edbc75021885eefd33ee33ee504d9a7 (patch)
tree5d2d79af731bcbc85d07e9d6dd69f6c836c25a5b /analyzer/render.h
parentc182f2f4f850589c23b2241e11dab143e1003ff2 (diff)
feat: added drif parsing and coloring of items depending on type
Diffstat (limited to 'analyzer/render.h')
-rw-r--r--analyzer/render.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/analyzer/render.h b/analyzer/render.h
index d54015a..97958d1 100644
--- a/analyzer/render.h
+++ b/analyzer/render.h
@@ -6,10 +6,11 @@
// ANSI escape sequence colors
#define COLOR_RED 91
#define COLOR_GREEN 92
-#define COLOR_WHITE 97
#define COLOR_YELLOW 93
-#define COLOR_AQUA 96
#define COLOR_BLUE 94
+#define COLOR_PURPLE 95
+#define COLOR_AQUA 96
+#define COLOR_WHITE 97
#define TABLE_ROW_SEPARATOR_CHAR '-'
@@ -29,6 +30,7 @@
#define TABLE_SATURATION_WIDTH 13
#define TABLE_SPLINTERS_WIDTH 9
+// clang-format off
#define TABLE_COLUMN_NAMES {"Nick (LVL)", "EXP", "Gold", "Psycho", "Saturation", "Splinters"}
#define TABLE_COLUMN_COLORS {COLOR_WHITE, COLOR_WHITE, COLOR_YELLOW, COLOR_AQUA, COLOR_GREEN, COLOR_BLUE}
#define TABLE_COLUMN_WIDTHS { \
@@ -51,6 +53,7 @@
(TABLE_COLUMN_COUNT - 1) * TABLE_LINE_SEPARATOR_WIDTH + \
TABLE_LINE_END_WIDTH \
)
+// clang-format on
#define TABLE_ITEMS_WIDTH (TABLE_LINE_WIDTH - TABLE_LINE_START_WIDTH - TABLE_LINE_END_WIDTH)