## Makefile.am -- Process this file with automake to process Makefile.in
angband_files = \
- a_info_j.txt d_info_j.txt e_info_j.txt f_info_j.txt \
- k_info_j.txt misc_j.txt \
- q0000001_j.txt q0000002_j.txt q0000003_j.txt q0000004_j.txt \
- q0000005_j.txt q0000006_j.txt q0000007_j.txt q0000019_j.txt \
- q0000020_j.txt q0000021_j.txt q0000022_j.txt q0000023_j.txt \
- q0000027_j.txt \
- q0000028_j.txt q00000ms_j.txt q000chao_j.txt q000dekn_j.txt \
- q000eric_j.txt q000lyeh_j.txt q000natu_j.txt q000sorc_j.txt \
- q00water_j.txt q0clone0_j.txt q0fields_j.txt q0thief1_j.txt \
- q0thief2_j.txt q0willow_j.txt q_info_j.txt q_oberon_j.txt \
- q_pref_j.txt q_random_j.txt q_serpen_j.txt q_warg_j.txt \
- qdarkelf_j.txt qhaunted_j.txt r_info_j.txt t0000001_j.txt \
- t0000002_j.txt t0000003_j.txt t0000004_j.txt t0000005_j.txt \
- t0000006_j.txt t_basic_j.txt t_info_j.txt t_lite_j.txt \
- t_pref_j.txt v_info_j.txt w_info_j.txt \
- m_info_j.txt s_info_j.txt
+ a_info.txt d_info.txt e_info.txt f_info.txt \
+ k_info.txt misc.txt \
+ q0000001.txt q0000002.txt q0000003.txt q0000004.txt \
+ q0000005.txt q0000006.txt q0000007.txt q0000019.txt \
+ q0000020.txt q0000021.txt q0000022.txt q0000023.txt \
+ q0000027.txt \
+ q0000028.txt q00000ms.txt q000chao.txt q000dekn.txt \
+ q000eric.txt q000lyeh.txt q000natu.txt q000sorc.txt \
+ q00water.txt q0clone0.txt q0fields.txt q0thief1.txt \
+ q0thief2.txt q0willow.txt q_info.txt q_oberon.txt \
+ q_pref.txt q_random.txt q_serpen.txt q_warg.txt \
+ qdarkelf.txt qhaunted.txt r_info.txt t0000001.txt \
+ t0000002.txt t0000003.txt t0000004.txt t0000005.txt \
+ t0000006.txt t_basic.txt t_info.txt t_lite.txt \
+ t_pref.txt v_info.txt w_info.txt \
+ m_info.txt s_info.txt
EXTRA_DIST = \
$(angband_files)
-# File: q_info_j.txt
+# File: q_info.txt
# Includes all the quest files
# Quest feature preferences
-%:q_pref_j.txt
+%:q_pref.txt
# Thieves Hideout
?:[EQU $QUEST_NUMBER 1]
-%:q0000001_j.txt
+%:q0000001.txt
# Sever
?:[EQU $QUEST_NUMBER 2]
-%:q0000002_j.txt
+%:q0000002.txt
# Druid Shop
?:[EQU $QUEST_NUMBER 3]
-%:q0000003_j.txt
+%:q0000003.txt
# Vault
?:[EQU $QUEST_NUMBER 4]
-%:q0000004_j.txt
+%:q0000004.txt
# Tower
?:[EQU $QUEST_NUMBER 5]
-%:q0000005_j.txt
+%:q0000005.txt
# Tower part 2
?:[EQU $QUEST_NUMBER 6]
-%:q0000006_j.txt
+%:q0000006.txt
# Tower part 3
?:[EQU $QUEST_NUMBER 7]
-%:q0000007_j.txt
+%:q0000007.txt
# Oberon
?:[EQU $QUEST_NUMBER 8]
-%:q_oberon_j.txt
+%:q_oberon.txt
# Serpent of Chaos
?:[EQU $QUEST_NUMBER 9]
-%:q_serpen_j.txt
+%:q_serpen.txt
# Node of Sorcery
?:[EQU $QUEST_NUMBER 10]
-%:q000sorc_j.txt
+%:q000sorc.txt
# Node of Chaos
?:[EQU $QUEST_NUMBER 11]
-%:q000chao_j.txt
+%:q000chao.txt
# Node of Nature
?:[EQU $QUEST_NUMBER 12]
-%:q000natu_j.txt
+%:q000natu.txt
# Quest #13 is still unfinished
# Warg problem
?:[EQU $QUEST_NUMBER 14]
-%:q_warg_j.txt
+%:q_warg.txt
# Eric's Stronghold
?:[EQU $QUEST_NUMBER 15]
-%:q000eric_j.txt
+%:q000eric.txt
# Assault on Montsalvat
?:[EQU $QUEST_NUMBER 16]
-%:q000dekn_j.txt
+%:q000dekn.txt
# The City beneath the Sea
#?:[EQU $QUEST_NUMBER 17]
-#%:q000lyeh_j.txt
+#%:q000lyeh.txt
# Water Cave
?:[EQU $QUEST_NUMBER 18]
-%:q00water_j.txt
+%:q00water.txt
# Doom Quest 1
?:[EQU $QUEST_NUMBER 19]
-%:q0000019_j.txt
+%:q0000019.txt
# Vapor Quest
?:[EQU $QUEST_NUMBER 20]
-%:q0000020_j.txt
+%:q0000020.txt
# Doom Quest 2
?:[EQU $QUEST_NUMBER 21]
-%:q0000021_j.txt
+%:q0000021.txt
# Orc Camp
?:[EQU $QUEST_NUMBER 22]
-%:q0000022_j.txt
+%:q0000022.txt
# Spawning Pits
?:[EQU $QUEST_NUMBER 23]
-%:q0000023_j.txt
+%:q0000023.txt
# The Rise and Fall of Micro$oft
?:[EQU $QUEST_NUMBER 24]
-%:q00000ms_j.txt
+%:q00000ms.txt
# Haunted House
?:[EQU $QUEST_NUMBER 25]
-%:qhaunted_j.txt
+%:qhaunted.txt
# Killing Fields
?:[EQU $QUEST_NUMBER 26]
-%:q0fields_j.txt
+%:q0fields.txt
# The Old Castle
?:[EQU $QUEST_NUMBER 27]
-%:q0000027_j.txt
+%:q0000027.txt
# Royal Crypt
?:[EQU $QUEST_NUMBER 28]
-%:q0000028_j.txt
+%:q0000028.txt
# The Mimic's Treasure
?:[EQU $QUEST_NUMBER 29]
-%:q0thief1_j.txt
+%:q0thief1.txt
# Tengu and Death Swords
?:[EQU $QUEST_NUMBER 30]
-%:q0thief2_j.txt
+%:q0thief2.txt
# Old Man Willow Quest
?:[EQU $QUEST_NUMBER 31]
-%:q0willow_j.txt
+%:q0willow.txt
# Dark Elven Lords Quest
?:[EQU $QUEST_NUMBER 32]
-%:qdarkelf_j.txt
+%:qdarkelf.txt
# The Cloning Pits
?:[EQU $QUEST_NUMBER 33]
-%:q0clone0_j.txt
+%:q0clone0.txt
# Random quests (always adressed with number 40)
?:[EQU $QUEST_NUMBER 40]
-%:q_random_j.txt
+%:q_random.txt
-# File: t_info_j.txt
+# File: t_info.txt
# Includes the town definitions
# Preferences for the town features
-%:t_pref_j.txt
+%:t_pref.txt
# Town 1
?:[AND [EQU $TOWN 1] [EQU $WILDERNESS LITE] ]
-%:t_lite_j.txt
+%:t_lite.txt
?:[AND [EQU $TOWN 1] [EQU $WILDERNESS NORMAL] ]
-%:t0000001_j.txt
+%:t0000001.txt
?:[AND [EQU $TOWN 1] [EQU $WILDERNESS NONE] ]
-%:t_basic_j.txt
+%:t_basic.txt
?:1
# Town 2
?:[EQU $TOWN 2]
-%:t0000002_j.txt
+%:t0000002.txt
# Town 3
?:[EQU $TOWN 3]
-%:t0000003_j.txt
+%:t0000003.txt
# Town 4
?:[EQU $TOWN 4]
-%:t0000004_j.txt
+%:t0000004.txt
# Town 5
?:[EQU $TOWN 5]
-%:t0000005_j.txt
+%:t0000005.txt
# Town 6
?:[EQU $TOWN 6]
-%:t0000006_j.txt
+%:t0000006.txt
init_flags = INIT_ASSIGN;
p_ptr->inside_quest = MIN_RANDOM_QUEST;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
p_ptr->inside_quest = 0;
init_flags = INIT_ASSIGN;
p_ptr->inside_quest = QUEST_OBERON;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
quest[QUEST_OBERON].status = QUEST_STATUS_TAKEN;
p_ptr->inside_quest = QUEST_SERPENT;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
quest[QUEST_SERPENT].status = QUEST_STATUS_TAKEN;
p_ptr->inside_quest = 0;
/* Get the quest text */
init_flags = INIT_SHOW_TEXT | INIT_ASSIGN;
-process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
/* Get the quest text */
init_flags = INIT_ASSIGN;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
/* Get the quest text */
init_flags = INIT_SHOW_TEXT;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
/* Get the quest */
init_flags = INIT_ASSIGN;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
/* Get the quest text */
init_flags = INIT_ASSIGN;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
char o_name[MAX_NLEN];
cptr paren = ")";
- process_dungeon_file("w_info_j.txt", 0, 0, max_wild_y, max_wild_x);
+ process_dungeon_file("w_info.txt", 0, 0, max_wild_y, max_wild_x);
/* Open a new file */
fff = my_fopen_temp(file_name, 1024);
{
/* Init the wilderness */
-process_dungeon_file("w_info_j.txt", 0, 0, max_wild_y, max_wild_x);
+ process_dungeon_file("w_info.txt", 0, 0, max_wild_y, max_wild_x);
/* Init the town */
init_flags = INIT_ONLY_BUILDINGS;
-process_dungeon_file("t_info_j.txt", 0, 0, MAX_HGT, MAX_WID);
+ process_dungeon_file("t_info.txt", 0, 0, MAX_HGT, MAX_WID);
}
/* Bewere that INIT_ASSIGN resets the cur_num. */
init_flags = INIT_ASSIGN;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
#ifdef JP
sprintf(statmsg, "¡Ä¤¢¤Ê¤¿¤Ï¡¢¥¯¥¨¥¹¥È¡Ö%s¡×¤Ç%s¤Ë»¦¤µ¤ì¤¿¡£", quest[p_ptr->inside_quest].name, p_ptr->died_from);
/* Get the quest text */
init_flags = INIT_SHOW_TEXT;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
#ifdef JP
sprintf(statmsg, "¡Ä¤¢¤Ê¤¿¤Ï¸½ºß¡¢ ¥¯¥¨¥¹¥È¡Ö%s¡×¤ò¿ë¹ÔÃæ¤À¡£", quest[p_ptr->inside_quest].name);
/* Get the quest */
init_flags = INIT_ASSIGN;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
/* Get the quest text */
init_flags = INIT_ASSIGN;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
/* Reset the old quest number */
p_ptr->inside_quest = old_quest;
/* Add an empty line */
fprintf(fff, "\n\n");
- process_dungeon_file("w_info_j.txt", 0, 0, max_wild_y, max_wild_x);
+ process_dungeon_file("w_info.txt", 0, 0, max_wild_y, max_wild_x);
/* Print all homes in the different towns */
st_ptr = &town[1].store[STORE_HOME];
init_flags = INIT_CREATE_DUNGEON | INIT_ASSIGN;
-process_dungeon_file("q_info_j.txt", 0, 0, MAX_HGT, MAX_WID);
+ process_dungeon_file("q_info.txt", 0, 0, MAX_HGT, MAX_WID);
}
/* Make a real level */
{
#ifdef CHECK_MODIFICATION_TIME
- err = check_modification_date(fd, format("%s_j.txt", filename));
+ err = check_modification_date(fd, format("%s.txt", filename));
#endif /* CHECK_MODIFICATION_TIME */
/* Build the filename */
- path_build(buf, sizeof(buf), ANGBAND_DIR_EDIT, format("%s_j.txt", filename));
+ path_build(buf, sizeof(buf), ANGBAND_DIR_EDIT, format("%s.txt", filename));
/* Open the file */
fp = my_fopen(buf, "r");
/* Parse it */
#ifdef JP
- if (!fp) quit(format("'%s_j.txt'¥Õ¥¡¥¤¥ë¤ò¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó¡£", filename));
+ if (!fp) quit(format("'%s.txt'¥Õ¥¡¥¤¥ë¤ò¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó¡£", filename));
#else
if (!fp) quit(format("Cannot open '%s.txt' file.", filename));
#endif
oops = ((err > 0) ? err_str[err] : "̤ÃΤÎ");
/* Oops */
- msg_format("'%s_j.txt'¥Õ¥¡¥¤¥ë¤Î %d ¹ÔÌܤ˥¨¥é¡¼¡£", filename, error_line);
+ msg_format("'%s.txt'¥Õ¥¡¥¤¥ë¤Î %d ¹ÔÌܤ˥¨¥é¡¼¡£", filename, error_line);
msg_format("¥ì¥³¡¼¥É %d ¤Ï '%s' ¥¨¥é¡¼¤¬¤¢¤ê¤Þ¤¹¡£", error_idx, oops);
msg_format("¹½Ê¸ '%s'¡£", buf);
msg_print(NULL);
/* Quit */
- quit(format("'%s_j.txt'¥Õ¥¡¥¤¥ë¤Ë¥¨¥é¡¼", filename));
+ quit(format("'%s.txt'¥Õ¥¡¥¤¥ë¤Ë¥¨¥é¡¼", filename));
#else
/* Error string */
oops = (((err > 0) && (err < PARSE_ERROR_MAX)) ? err_str[err] : "unknown");
static errr init_misc(void)
{
/* Initialize the values */
- process_dungeon_file("misc_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("misc.txt", 0, 0, 0, 0);
return 0;
}
init_flags = INIT_ASSIGN;
p_ptr->inside_quest = i;
- process_dungeon_file("q_info_j.txt", 0, 0, 0, 0);
+ process_dungeon_file("q_info.txt", 0, 0, 0, 0);
p_ptr->inside_quest = old_inside_quest;
}
}
else
init_flags = INIT_CREATE_DUNGEON;
- process_dungeon_file("t_info_j.txt", 0, 0, MAX_HGT, MAX_WID);
+ process_dungeon_file("t_info.txt", 0, 0, MAX_HGT, MAX_WID);
if (!corner && !border) p_ptr->visit |= (1L << (p_ptr->town_num - 1));
}
/* Init the wilderness */
- process_dungeon_file("w_info_j.txt", 0, 0, max_wild_y, max_wild_x);
+ process_dungeon_file("w_info.txt", 0, 0, max_wild_y, max_wild_x);
x = p_ptr->wilderness_x;
y = p_ptr->wilderness_y;
}
/* Init the wilderness */
- process_dungeon_file("w_info_j.txt", 0, 0, max_wild_y, max_wild_x);
+ process_dungeon_file("w_info.txt", 0, 0, max_wild_y, max_wild_x);
/* Fill the map */
for (i = 0; i < max_wild_x; i++)