diff options
Diffstat (limited to 'devtools/create_xeen/constants.cpp')
-rw-r--r-- | devtools/create_xeen/constants.cpp | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/devtools/create_xeen/constants.cpp b/devtools/create_xeen/constants.cpp index 8bea0fd22c..65903f58e0 100644 --- a/devtools/create_xeen/constants.cpp +++ b/devtools/create_xeen/constants.cpp @@ -968,7 +968,7 @@ const char *const GOLD_GEMS = "Gems\x3r\t000%s\x2\x3""c\v096\t013G\f37o\fdld\t040G\f37e\fdms\t067ESC\x1"; const char *const GOLD_GEMS_2 = - "\t000\v000\x3""c%s\x3l\n" + "\x3""c\v000\t000%s\x3l\n" "\n" "\x4""077Gold\x3r\t000%s\x3l\n" "\x4""077Gems\x3r\t000%s\x3l\t000\v051\x4""077\n" @@ -1598,6 +1598,7 @@ const char *const QUESTS_DIALOG_TEXT = "\t289Exit"; const char *const CLOUDS_OF_XEEN_LINE = "\b \b*-- \f04Clouds of Xeen\fd --"; const char *const DARKSIDE_OF_XEEN_LINE = "\b \b*-- \f04Darkside of Xeen\fd --"; +const char *const SWORDS_OF_XEEN_LINE = "\b \b*-- \f04Swords of Xeen\fd --"; const char *const NO_QUEST_ITEMS = "\r\x3""c\v000 000Quest Items\x3l\x2\n" @@ -1755,7 +1756,7 @@ const char *const WHICH_ELEMENT1 = "\f15E\fdlec\t074\f15C\fdold\t104\f15A\fdcid\x1"; const char *const WHICH_ELEMENT2 = - "\r\x3""cWhich Element?', 2, 0Bh, '034\t014\f15F\fdire\t044" + "\r\x3""cWhich Element?\x2\v034\t014\f15F\fdire\t044" "\f15E\fdlec\t074\f15C\fdold\t104\f15A\fdcid\x1"; const char *const DETECT_MONSTERS = "\x3""cDetect Monsters"; @@ -1768,7 +1769,7 @@ const char *const LLOYDS_BEACON = "%s\x3l\n" "x = %d\x3r\t000y = %d\x3""c\x2\v122\t021\f15S\fdet\t060\f15R\fdeturn\x1"; -const char *const HOW_MANY_SQUARES = "\x3""cTeleport\nHow many squares %s (1-9)"; +const char *const HOW_MANY_SQUARES = "\x3""cTeleport\nHow many squares %s (1-9)\n"; const char *const TOWN_PORTAL = "\x3""cTown Portal\x3l\n" @@ -1782,8 +1783,18 @@ const char *const TOWN_PORTAL = "To which Town (1-5)\n" "\n"; -const int TOWN_MAP_NUMBERS[2][5] = { - { 28, 29, 30, 31, 32 }, { 29, 31, 33, 35, 37 } +const char *const TOWN_PORTAL_SWORDS = + "\x3""cTown Portal\x3l\n" + "\n" + "\t0101. %s\n" + "\t0102. %s\n" + "\t0103. %s\x3""c\n" + "\n" + "To which Town (1-3)\n" + "\n"; + +const int TOWN_MAP_NUMBERS[3][5] = { + { 28, 29, 30, 31, 32 }, { 29, 31, 33, 35, 37 }, { 53, 92, 63, 0, 0 } }; const char *const MONSTER_DETAILS = @@ -1922,6 +1933,8 @@ const char *const MUSIC_FILES2[6][7] = { }; const char *const DIFFICULTY_TEXT = "\v000\t000\x3""cSelect Game Preference"; +const char *const SAVE_OFF_LIMITS = "\x3""c\v002\t000The Gods of Game Restoration deem this area off limits!\n" + "Sorry, no saving in this maze."; void writeConstants(CCArchive &cc) { Common::MemFile file; @@ -2178,6 +2191,7 @@ void writeConstants(CCArchive &cc) { file.syncString(QUESTS_DIALOG_TEXT); file.syncString(CLOUDS_OF_XEEN_LINE); file.syncString(DARKSIDE_OF_XEEN_LINE); + file.syncString(SWORDS_OF_XEEN_LINE); file.syncString(NO_QUEST_ITEMS); file.syncString(NO_CURRENT_QUESTS); file.syncString(NO_AUTO_NOTES); @@ -2227,7 +2241,8 @@ void writeConstants(CCArchive &cc) { file.syncString(LLOYDS_BEACON); file.syncString(HOW_MANY_SQUARES); file.syncString(TOWN_PORTAL); - file.syncNumbers2D((const int *)TOWN_MAP_NUMBERS, 2, 5); + file.syncString(TOWN_PORTAL_SWORDS); + file.syncNumbers2D((const int *)TOWN_MAP_NUMBERS, 3, 5); file.syncString(MONSTER_DETAILS); file.syncStrings(MONSTER_SPECIAL_ATTACKS, 23); file.syncString(IDENTIFY_MONSTERS); @@ -2261,6 +2276,7 @@ void writeConstants(CCArchive &cc) { file.syncStrings(MUSIC_FILES1, 5); file.syncStrings2D((const char *const *)MUSIC_FILES2, 6, 7); file.syncString(DIFFICULTY_TEXT); + file.syncString(SAVE_OFF_LIMITS); cc.add("CONSTANTS", file); } |