aboutsummaryrefslogtreecommitdiff
path: root/client/strings.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-30 13:31:47 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-30 13:31:47 +0200
commitb728a15887fa28cdd98d74017c4882d632d6e069 (patch)
tree97df03d5b78ab4b48e72f69f75f3cc4307f6a373 /client/strings.c
parent03862852b128748358dcb39ce50600eef0ba1a71 (diff)
status bar almost done
Diffstat (limited to 'client/strings.c')
-rw-r--r--client/strings.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/client/strings.c b/client/strings.c
new file mode 100644
index 0000000..b97d4b2
--- /dev/null
+++ b/client/strings.c
@@ -0,0 +1,16 @@
+#include "strings.h"
+
+char *g_w2_mode_strings[W2_MODE_COUNT];
+
+void w2_strings_modes_init() {
+ g_w2_mode_strings[W2_M_CHRG] = W2_UI_MODE_CHRG;
+ g_w2_mode_strings[W2_M_DIRC] = W2_UI_MODE_DIRC;
+ g_w2_mode_strings[W2_M_GRID] = W2_UI_MODE_GRID;
+ g_w2_mode_strings[W2_M_HALT] = W2_UI_MODE_HALT;
+ g_w2_mode_strings[W2_M_LCAL] = W2_UI_MODE_LCAL;
+ g_w2_mode_strings[W2_M_MAZE] = W2_UI_MODE_MAZE;
+ g_w2_mode_strings[W2_M_SCAL] = W2_UI_MODE_SCAL;
+ g_w2_mode_strings[W2_M_SPIN] = W2_UI_MODE_SPIN;
+}
+
+void w2_strings_init() { w2_strings_modes_init(); }