X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fhardcoded_strings.c;h=dfb30e1e549d7ad6ed3901d3fcd1e5d22a45cdec;hb=7c958f842958e0908862c56f07e432c65b4655d3;hp=4094478af8aea017f6204e326effb317cef05377;hpb=891ba8fbca53d920f6b3704827fa6b8aee737de4;p=plomrogue
diff --git a/src/server/hardcoded_strings.c b/src/server/hardcoded_strings.c
index 4094478..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[38];
+char * s[44];
@@ -16,12 +21,19 @@ extern void init_strings()
s[S_PATH_IN] = "server/in";
s[S_PATH_RECORD] = "record";
s[S_PATH_SAVE] = "savefile";
- 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_THING] = "THING";
+ 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";
@@ -29,23 +41,22 @@ extern void init_strings()
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_THINGTYPE] = "THING_TYPE";
- 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_THINGACTION] = "THING_ACTION";
- s[S_CMD_TA_EFFORT] = "TA_EFFORT";
- s[S_CMD_TA_NAME] = "TA_NAME";
+ 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";
}