X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fhardcoded_strings.c;h=dfb30e1e549d7ad6ed3901d3fcd1e5d22a45cdec;hb=c89e7df6e7b6b64037b5b964e10a63ad38f86eb5;hp=652527ae4d2a49363cbc63f65b2f088564d4c83d;hpb=02faa5bf7e77b6bbf111819164f9a15e3792215a;p=plomrogue
diff --git a/src/server/hardcoded_strings.c b/src/server/hardcoded_strings.c
index 652527a..dfb30e1 100644
--- a/src/server/hardcoded_strings.c
+++ b/src/server/hardcoded_strings.c
@@ -1,10 +1,15 @@
-/* hardcoded_strings.c */
+/* hardcoded_strings.c *
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
+ */
#include "hardcoded_strings.h"
-char * s[27];
+char * s[44];
@@ -15,26 +20,43 @@ extern void init_strings()
s[S_PATH_OUT] = "server/out";
s[S_PATH_IN] = "server/in";
s[S_PATH_RECORD] = "record";
- s[S_PATH_SUFFIX_TMP] = "_tmp";
s[S_PATH_SAVE] = "savefile";
- s[S_CMD_MAKE_WORLD] = "MAKE_WORLD";
- s[S_CMD_DO_FOV] = "BUILD_FOVS";
- s[S_CMD_SEED_MAP] = "SEED_MAP";
- s[S_CMD_SEED_RAND] = "SEED_RANDOMNESS";
- s[S_CMD_TURN] = "TURN";
- s[S_CMD_THING] = "THING";
- s[S_CMD_TYPE] = "TYPE";
- s[S_CMD_POS_Y] = "POS_Y";
- s[S_CMD_POS_X] = "POS_X";
- s[S_CMD_COMMAND] = "COMMAND";
- s[S_CMD_ARGUMENT] = "ARGUMENT";
- s[S_CMD_PROGRESS] = "PROGRESS";
- s[S_CMD_LIFEPOINTS] = "LIFEPOINTS";
- s[S_CMD_CARRIES] = "CARRIES";
+ 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_TT_PROL] = "TT_PROLIFERATE";
+ 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_SATIATION] = "T_SATIATION";
+ s[S_CMD_T_CARRIES] = "T_CARRIES";
+ s[S_CMD_T_MEMMAP] = "T_MEMMAP";
+ s[S_CMD_T_MEMDEPTHMAP] = "T_MEMDEPTHMAP";
+ s[S_CMD_T_MEMTHING] = "T_MEMTHING";
+ s[S_CMD_AI] = "ai";
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_FCN_SPRINTF] = "sprintf()";
+ 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";
}