aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-03-05 16:54:26 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-03-05 16:54:26 +0100
commitd1af4269c4130d11d77f61f1a2ac8f3e249f72f2 (patch)
tree05618430db0951262bd22e7bbe77b663c3c0346f /render
parent02e55b0647eb5c631e7d7669a13fd0d47ec26c15 (diff)
unit generator in hud, minor fix in movement, % in view and cost weights
Diffstat (limited to 'render')
-rw-r--r--render/render_text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/render_text.c b/render/render_text.c
index 75b2c91..2eb5128 100644
--- a/render/render_text.c
+++ b/render/render_text.c
@@ -10,6 +10,7 @@ void char_width_init (int *char_width) {
char_width[','] = 1; char_width['-'] = 3; char_width['.'] = 1;
char_width['/'] = 4; char_width['!'] = 1;
char_width[':'] = 1; char_width[';'] = 1;
+ char_width['%'] = 4;
char_width['<'] = 3; char_width['>'] = 3; char_width['='] = 4;
char_width['I'] = 1;
char_width['f'] = 4; char_width['i'] = 1; char_width['j'] = 3;