aboutsummaryrefslogtreecommitdiff
path: root/client/strings.c
blob: a119d9ae6d525bb468983811ac09d70f2640db52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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_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(); }