diff options
Diffstat (limited to 'client/strings.c')
-rw-r--r-- | client/strings.c | 16 |
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(); } |