home · contact · privacy
Server: Start hardcoded_strings s's enum names with prefix "S_".
[plomrogue] / src / server / hardcoded_strings.c
1 /* hardcoded_strings.c */
2
3 #include "hardcoded_strings.h"
4
5
6
7 char * s[26];
8
9
10
11 extern void init_strings()
12 {
13     s[S_PATH_CONFIG] = "confserver/world";
14     s[S_PATH_WORLDSTATE] = "server/worldstate";
15     s[S_PATH_OUT] = "server/out";
16     s[S_PATH_IN] = "server/in";
17     s[S_PATH_RECORD] = "record";
18     s[S_PATH_SUFFIX_TMP] = "_tmp";
19     s[S_PATH_SAVE] = "savefile";
20     s[S_CMD_MAKE_WORLD] = "MAKE_WORLD";
21     s[S_CMD_DO_FOV] = "BUILD_FOVS";
22     s[S_CMD_SEED_MAP] = "SEED_MAP";
23     s[S_CMD_SEED_RAND] = "SEED_RANDOMNESS";
24     s[S_CMD_TURN] = "TURN";
25     s[S_CMD_THING] = "THING";
26     s[S_CMD_TYPE] = "TYPE";
27     s[S_CMD_POS_Y] = "POS_Y";
28     s[S_CMD_POS_X] = "POS_X";
29     s[S_CMD_COMMAND] =  "COMMAND";
30     s[S_CMD_ARGUMENT] = "ARGUMENT";
31     s[S_CMD_PROGRESS] = "PROGRESS";
32     s[S_CMD_LIFEPOINTS] = "LIFEPOINTS";
33     s[S_CMD_CARRIES] = "CARRIES";
34     s[S_CMD_WAIT] = "wait";
35     s[S_CMD_MOVE] = "move";
36     s[S_CMD_PICKUP] = "pick_up";
37     s[S_CMD_DROP] = "drop";
38     s[S_CMD_USE] = "use";
39 }