mode++;
}
- /* Oops */
else
{
bell();
*/
void do_cmd_message_one(void)
{
- /* Recall one message XXX XXX XXX */
+ /* Recall one message */
prt(format("> %s", message_str(0)), 0, 0);
}
int wid, hgt;
int num_lines;
- /* Get size */
Term_get_size(&wid, &hgt);
/* Number of message lines in a screen */
Term_erase(0, num_lines + 1 - j, 255);
}
- /* Display header XXX XXX XXX */
+ /* Display header */
/* translation */
prt(format(_("以前のメッセージ %d-%d 全部で(%d)", "Message Recall (%d-%d of %d)"),
i, i + j - 1, n), 0, 0);
}
else strcpy(shower_str, back_str);
- /* Okay */
continue;
/* Hack -- handle find */
{
DIRECTION dir;
- /* Prompt XXX XXX XXX */
+ /* Prompt */
sprintf(buf, _("%s ( リターンで次へ, y/n でセット, ESC で決定 )", "%s (RET to advance, y/n to set, ESC to accept) "), info);
prt(buf, 0, 0);
/* Interact with the player */
while (TRUE)
{
- /* Prompt XXX XXX XXX */
+ /* Prompt */
sprintf(buf, _("%s ( リターンで次へ, y/n でセット, F で頻度を入力, ESC で決定 ) ",
"%s (RET to advance, y/n to set, 'F' for frequency, ESC to accept) "), info);
{
DIRECTION dir;
- /* Prompt XXX XXX XXX */
+ /* Prompt */
sprintf(buf, _("%s (リターン:次, %sESC:終了, ?:ヘルプ) ", "%s (RET:next, %s, ?:help) "),
info, browse_only ? _("", "ESC:exit") : _("y/n:変更, ", "y/n:change, ESC:accept"));
prt(buf, 0, 0);
/* Interact */
while (go)
{
- /* Prompt XXX XXX XXX */
+ /* Prompt */
prt(_("ウィンドウ・フラグ (<方向>で移動, tでチェンジ, y/n でセット, ESC)", "Window Flags (<dir>, t, y, n, ESC) "), 0, 0);
/* Display the windows */
/* Unknown option */
default:
{
- /* Oops */
bell();
break;
}
* Ask for a "user pref line" and process it
* @return なし
* @details
- * XXX XXX XXX Allow absolute file names?
+ * Allow absolute file names?
*/
void do_cmd_pref(void)
{
* @details
* <pre>
* Note that both "flush()" calls are extremely important. This may
- * no longer be true, since "util.c" is much simpler now. XXX XXX XXX
+ * no longer be true, since "util.c" is much simpler now.
* </pre>
*/
static void do_cmd_macro_aux_keymap(char *buf)
* <pre>
* Note that the macro "action" must be defined before the trigger.
*
- * Could use some helpful instructions on this page. XXX XXX XXX
+ * Could use some helpful instructions on this page.
* </pre>
*/
void do_cmd_macros(void)
#endif /* ALLOW_MACROS */
- /* Oops */
else
{
- /* Oops */
bell();
}
/* Append to the file */
fff = my_fopen(buf, "r");
- /* Oops */
if (!fff) {
msg_format(_("%s を開くことができませんでした。", "Failed to open %s."), buf);
msg_print(NULL);
/* Append to the file */
fff = my_fopen(filename, "w");
- /* Oops */
if (!fff) {
if (message) {
msg_format(_("ファイル %s を開けませんでした。", "Failed to open file %s."), filename);
/* Append to the file */
fff = my_fopen(buf, "w");
- /* Oops */
if (!fff)
{
msg_format(_("ファイル %s を開けませんでした。", "Failed to open file %s."), buf);
{
monster_race *r_ptr = &r_info[who[k]];
- /* Print a message */
fprintf(fff, _(" %s (レベル%d)\n", " %s (level %d)\n"), r_name + r_ptr->name, (int)r_ptr->level);
}
* @brief 現在のペットを表示するコマンドのメインルーチン /
* Total kill count
* @return なし
- * @note the player ghosts are ignored. XXX XXX XXX
+ * @note the player ghosts are ignored.
*/
static void do_cmd_knowledge_kill_count(void)
{
if (dead)
{
- /* Print a message */
- fprintf(fff, " %s\n",
- (r_name + r_ptr->name));
+ fprintf(fff, " %s\n", (r_name + r_ptr->name));
Total++;
}
}
#ifdef JP
fprintf(fff," 合計: %lu 体を倒した。\n", (unsigned long int)Total);
#else
- fprintf(fff," Total: %lu creature%s killed.\n",
- (unsigned long int)Total, (Total == 1 ? "" : "s"));
+ fprintf(fff," Total: %lu creature%s killed.\n", (unsigned long int)Total, (Total == 1 ? "" : "s"));
#endif
* @param grp_top 現在の選択リスト最上部ID
* @return なし
*/
-static void display_group_list(int col, int row, int wid, int per_page,
- IDX grp_idx[], cptr group_text[], int grp_cur, int grp_top)
+static void display_group_list(int col, int row, int wid, int per_page, IDX grp_idx[], cptr group_text[], int grp_cur, int grp_top)
{
int i;
int browser_rows;
int wid, hgt;
- /* Get size */
Term_get_size(&wid, &hgt);
browser_rows = hgt - 8;
BIT_FLAGS8 mode;
- /* Get size */
Term_get_size(&wid, &hgt);
browser_rows = hgt - 8;
byte mode;
- /* Get size */
Term_get_size(&wid, &hgt);
browser_rows = hgt - 8;
(void)C_WIPE(attr_old, F_LIT_MAX, byte);
(void)C_WIPE(char_old, F_LIT_MAX, byte);
- /* Get size */
Term_get_size(&wid, &hgt);
browser_rows = hgt - 8;
/* Open this file */
fff = my_fopen(buf, "rt");
- /* Oops */
if (!fff) return;
/* Find this time */