*/
static void do_cmd_options_autosave(cptr info)
{
- char ch;
-
- int i, k = 0, n = 2;
-
- char buf[80];
+ char ch;
+ int i, k = 0, n = 2;
+ char buf[80];
/* Clear screen */
/* Display the option text */
sprintf(buf, "%-48s: %s (%s)",
- autosave_info[i].o_desc,
- (*autosave_info[i].o_var ? _("はい ", "yes") : _("いいえ", "no ")),
- autosave_info[i].o_text);
+ autosave_info[i].o_desc,
+ (*autosave_info[i].o_var ? _("はい ", "yes") : _("いいえ", "no ")),
+ autosave_info[i].o_text);
c_prt(a, buf, i + 2, 0);
}
prt(format(_("自動セーブの頻度: %d ターン毎", "Timed autosave frequency: every %d turns"), autosave_freq), 5, 0);
if (option_info[i].o_page == page) opt[n++] = i;
}
-
/* Clear screen */
Term_clear();
int n = 0;
char tmp[1024];
- /* Flush */
flush();
/* Do not process macros */
/* Terminate */
buf[n] = '\0';
- /* Flush */
flush();
-
/* Convert the trigger */
ascii_to_text(tmp, buf);
{
char tmp[1024];
-
- /* Flush */
flush();
-
/* Get a key */
buf[0] = inkey();
buf[1] = '\0';
-
/* Convert to ascii */
ascii_to_text(tmp, buf);
/* Hack -- display the trigger */
Term_addstr(-1, TERM_WHITE, tmp);
-
- /* Flush */
flush();
}
{
/* Clear screen */
Term_clear();
-
- /* Describe */
prt(_("[ マクロの設定 ]", "Interact with Macros"), 2, 0);
/* Describe that action */