X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=src%2Fserver%2Fhardcoded_strings.c;h=4e801cfb3476646fd6125a948697e39b0e669dda;hb=edebb2bf9aa780ee2f7006c1d2be9168564d34df;hp=e007547f47174bf8242a5378d9d7167549209a72;hpb=1452d43c6d7c89219cda91362da53ac8e4acb887;p=plomrogue
diff --git a/src/server/hardcoded_strings.c b/src/server/hardcoded_strings.c
index e007547..4e801cf 100644
--- a/src/server/hardcoded_strings.c
+++ b/src/server/hardcoded_strings.c
@@ -4,36 +4,49 @@
-char * s[26];
+char * s[39];
extern void init_strings()
{
- s[PATH_CONFIG] = "confserver/world";
- s[PATH_WORLDSTATE] = "server/worldstate";
- s[PATH_OUT] = "server/out";
- s[PATH_IN] = "server/in";
- s[PATH_RECORD] = "record";
- s[PATH_SUFFIX_TMP] = "_tmp";
- s[PATH_SAVE] = "savefile";
- s[CMD_MAKE_WORLD] = "MAKE_WORLD";
- s[CMD_DO_FOV] = "BUILD_FOVS";
- s[CMD_SEED_MAP] = "SEED_MAP";
- s[CMD_SEED_RAND] = "SEED_RANDOMNESS";
- s[CMD_TURN] = "TURN";
- s[CMD_THING] = "THING";
- s[CMD_TYPE] = "TYPE";
- s[CMD_POS_Y] = "POS_Y";
- s[CMD_POS_X] = "POS_X";
- s[CMD_COMMAND] = "COMMAND";
- s[CMD_ARGUMENT] = "ARGUMENT";
- s[CMD_PROGRESS] = "PROGRESS";
- s[CMD_LIFEPOINTS] = "LIFEPOINTS";
- s[CMD_CARRIES] = "CARRIES";
- s[CMD_WAIT] = "wait";
- s[CMD_MOVE] = "move";
- s[CMD_PICKUP] = "pick_up";
- s[CMD_DROP] = "drop";
- s[CMD_USE] = "use";
+ s[S_PATH_CONFIG] = "confserver/world";
+ s[S_PATH_WORLDSTATE] = "server/worldstate";
+ s[S_PATH_OUT] = "server/out";
+ s[S_PATH_IN] = "server/in";
+ s[S_PATH_RECORD] = "record";
+ s[S_PATH_SAVE] = "savefile";
+ s[S_FCN_SPRINTF] = "sprintf";
+ s[S_CMD_TA_ID] = "TA_ID";
+ s[S_CMD_TA_EFFORT] = "TA_EFFORT";
+ s[S_CMD_TA_NAME] = "TA_NAME";
+ s[S_CMD_TT_ID] = "TT_ID";
+ s[S_CMD_TT_CONSUM] = "TT_CONSUMABLE";
+ s[S_CMD_TT_STARTN] = "TT_START_NUMBER";
+ s[S_CMD_TT_HP] = "TT_LIFEPOINTS";
+ s[S_CMD_TT_SYMB] = "TT_SYMBOL";
+ s[S_CMD_TT_NAME] = "TT_NAME";
+ s[S_CMD_TT_CORPS] = "TT_CORPSE_ID";
+ s[S_CMD_T_ID] = "T_ID";
+ s[S_CMD_T_TYPE] = "T_TYPE";
+ s[S_CMD_T_POSY] = "T_POSY";
+ s[S_CMD_T_POSX] = "T_POSX";
+ s[S_CMD_T_COMMAND] = "T_COMMAND";
+ s[S_CMD_T_ARGUMENT] = "T_ARGUMENT";
+ s[S_CMD_T_PROGRESS] = "T_PROGRESS";
+ s[S_CMD_T_HP] = "T_LIFEPOINTS";
+ s[S_CMD_T_CARRIES] = "T_CARRIES";
+ s[S_CMD_T_MEMMAP] = "T_MEMMAP";
+ s[S_CMD_WAIT] = "wait";
+ s[S_CMD_MOVE] = "move";
+ s[S_CMD_PICKUP] = "pick_up";
+ s[S_CMD_DROP] = "drop";
+ s[S_CMD_USE] = "use";
+ s[S_CMD_MAKE_WORLD] = "MAKE_WORLD";
+ s[S_CMD_WORLD_ACTIVE] = "WORLD_ACTIVE";
+ s[S_CMD_SEED_MAP] = "SEED_MAP";
+ s[S_CMD_SEED_RAND] = "SEED_RANDOMNESS";
+ s[S_CMD_TURN] = "TURN";
+ s[S_CMD_MAPLENGTH] = "MAP_LENGTH";
+ s[S_CMD_PLAYTYPE] = "PLAYER_TYPE";
}