int lines = 0;
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, filename);
/* Open the file */
/* different filne name to avoid mixing */
sprintf(file_name,_("playrecord-%s.txt", "playrec-%s.txt"),savefile_base);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, file_name);
/* File type is "TEXT" */
"Quest of The World's Greatest Brain"};
#endif
sprintf(file_name,_("playrecord-%s.txt", "playrec-%s.txt"),savefile_base);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, file_name);
if (p_ptr->pclass == CLASS_WARRIOR || p_ptr->pclass == CLASS_MONK || p_ptr->pclass == CLASS_SAMURAI || p_ptr->pclass == CLASS_BERSERKER)
if (!get_check(_("本当に記録を消去しますか?", "Do you really want to delete all your record? "))) return;
sprintf(file_name,_("playrecord-%s.txt", "playrec-%s.txt"),savefile_base);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, file_name);
fd_kill(buf);
int i;
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
mode = KEYMAP_MODE_ORIG;
}
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
/* Get a filename */
if (!askfor(tmp, 70)) continue;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, tmp);
/* Append to the file */
/* Get a filename */
if (!askfor(tmp, 70)) continue;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, tmp);
/* Append to the file */
/* Get a filename */
if (!askfor(tmp, 70)) continue;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, tmp);
/* Append to the file */
/* Get a filename */
if (!askfor(tmp, 70)) continue;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, tmp);
/* Append to the file */
TERM_LEN wid, hgt;
Term_get_size(&wid, &hgt);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, "dump.txt");
/* Append to the file */
return;
}
if (message) screen_save();
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, "htmldump.prf");
tmpfff = my_fopen(buf, "r");
if (!tmpfff) {
if (!get_string(_("ファイル名: ", "File name: "), tmp, 80))
return;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, tmp);
msg_print(NULL);
SYMBOL_CODE c = ' ';
FILE *fff;
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, "dump.txt");
/* File type is "TEXT" */
/* Display object description */
object_desc(o_name, o_ptr, OD_NAME_ONLY);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, q);
/* Peruse the help file */
/* Hack -- Character is now "icky" */
current_world_ptr->character_icky = TRUE;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
/* Open the high score file, for reading/writing */
/* Hack -- Character is now "icky" */
current_world_ptr->character_icky = TRUE;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
/* Grab permissions */
bool bypass = FALSE;
int x = xmin, y = ymin;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_EDIT, name);
/* Open the file */
char buf[1024];
errr err1, err2;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_PREF, name);
/* Process the system pref file */
/* Stop at parser errors, but not at non-existing file */
if (err1 > 0) return err1;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, name);
/* Process the user pref file */
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, "time.txt");
/* Open the file */
char temphost[MAXHOSTNAMELEN+1];
char thishost[MAXHOSTNAMELEN+1];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, "load.txt");
/* Open the "load" file */
int fd = -1;
FILE *fff = NULL;
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, name);
/* File type is "TEXT" */
{
/* Caption */
sprintf(caption, _("ヘルプ・ファイル'%s'", "Help file '%s'"), name);
-
- /* Build the filename */
path_build(path, sizeof(path), ANGBAND_DIR_HELP, name);
/* Open the file */
{
/* Caption */
sprintf(caption, _("スポイラー・ファイル'%s'", "Info file '%s'"), name);
-
- /* Build the filename */
path_build(path, sizeof(path), ANGBAND_DIR_INFO, name);
/* Open the file */
/* Look in "info" */
if (!fff)
{
- /* Build the filename */
path_build(path, sizeof(path), ANGBAND_DIR, name);
for (i = 0; path[i]; i++)
if (!get_string(_("ファイル名: ", "File name: "), xtmp, 80)) continue;
my_fclose(fff);
-
- /* Build the filename */
path_build(buff, sizeof(buff), ANGBAND_DIR_USER, xtmp);
/* Hack -- Re-Open the file */
/* Rename the savefile, using the p_ptr->base_name */
(void)sprintf(temp, "%s", p_ptr->base_name);
#endif
-
- /* Build the filename */
path_build(savefile, sizeof(savefile), ANGBAND_DIR_SAVE, temp);
}
/* "Bones" name */
sprintf(tmp, "bone.%03d", current_floor_ptr->dun_level);
-
- /* Build the filename */
path_build(str, sizeof(str), ANGBAND_DIR_BONE, tmp);
/* Attempt to open the bones file */
int extra_line = 0;
#endif
Term_clear();
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, _("dead_j.txt", "dead.txt"));
/* Open the News file */
int counter, test;
int line_num = 0;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, file_name);
/* Open the file */
char buf[1024];
errr err = 0;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, name);
err = process_pref_file_aux(buf, PREF_TYPE_AUTOPICK);
char buf[1024];
errr err = 0;
bool old_character_xtra = current_world_ptr->character_xtra;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, name);
/* Hack -- prevent modification birth options in this file */
char buf[1024];
struct stat txt_stat, raw_stat;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_EDIT, template_file);
/* Access stats on text file */
#ifdef ALLOW_TEMPLATES
/*** Load the binary image file ***/
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_DATA, format(_("%s_j.raw", "%s.raw"), filename));
/*** Load the ascii template file ***/
- /* Build the filename */
-
path_build(buf, sizeof(buf), ANGBAND_DIR_EDIT, format("%s.txt", filename));
/* Open the file */
/* File type is "DATA" */
FILE_TYPE(FILE_TYPE_DATA);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_DATA, format(_("%s_j.raw", "%s.raw"), filename));
/*** Load the binary image file ***/
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_DATA, format(_("%s_j.raw", "%s.raw"), filename));
/* Attempt to open the "raw" file */
/*** Verify the "news" file ***/
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, _("news_j.txt", "news.txt"));
/* Attempt to open the file */
/*** Display the "news" file ***/
Term_clear();
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_FILE, _("news_j.txt", "news.txt"));
/* Open the News file */
/*** Verify (or create) the "high score" file ***/
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
/* Attempt to open the high score file */
case IDM_FILE_SCORE:
{
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
/* Open the binary high score file, for reading */
validate_dir(ANGBAND_DIR_SAVE, FALSE);
validate_dir(ANGBAND_DIR_USER, TRUE);
validate_dir(ANGBAND_DIR_XTRA, TRUE);
-
- /* Build the filename */
path_build(path, sizeof(path), ANGBAND_DIR_FILE, _("news_j.txt", "news.txt"));
/* Hack -- Validate the "news.txt" file */
/* Validate the "font" directory */
validate_dir(ANGBAND_DIR_XTRA_FONT, TRUE);
-
- /* Build the filename */
path_build(path, sizeof(path), ANGBAND_DIR_XTRA_FONT, "8X13.FON");
/* Hack -- Validate the basic font */
void display_scores(int from, int to)
{
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
/* Open the binary high score file, for reading */
char buf[1024], out_val[256];
screen_save();
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
highscore_fd = fd_open(buf, O_RDONLY);
sprintf(tmp_str,_("最高の%s", "The Greatest of all the %s"), race_info[race_num].title);
prt(tmp_str, 5, 15);
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_APEX, "scores.raw");
highscore_fd = fd_open(buf, O_RDONLY);
char chance[80];
char dam[80];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
object_type *q_ptr;
obj_desc_list artifact;
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
char ac[80];
char hp[80];
char exp[80];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
u16b why = 2;
MONRACE_IDX *who;
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
monster_race *r_ptr;
int **evol_tree, i, j, n, r_idx;
int *evol_tree_zero; /* For C_KILL() */
-
- /* Build the filename */
path_build(buf, sizeof buf, ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
object_type *q_ptr;
char buf[1024];
-
- /* Build the filename */
path_build(buf, sizeof(buf), ANGBAND_DIR_USER, fname);
/* File type is "TEXT" */
FILE *fff;
char buf[1024];
int **exist;
-
- /* Build the filename */
path_build(buf, sizeof buf, ANGBAND_DIR_USER, "opt_info.txt");
/* File type is "TEXT" */