leave_quest_check();
- if (record_stair) do_cmd_write_nikki(p_ptr, NIKKI_PAT_TELE, 0, NULL);
+ if (record_stair) exe_write_diary(p_ptr, NIKKI_PAT_TELE, 0, NULL);
p_ptr->inside_quest = 0;
free_turn(p_ptr);
{ if (one_in_(5) && ((current_floor_ptr->dun_level + 5) > p_ptr->lev) && (current_floor_ptr->dun_level > s_ptr->slevel)) p_ptr->spell_exp[spell] += 1; }
/* Do any effects of continual song */
- do_spell(REALM_MUSIC, spell, SPELL_CONT);
+ exe_spell(REALM_MUSIC, spell, SPELL_CONT);
}
/*!
if (p_ptr->dungeon_idx) p_ptr->recall_dungeon = p_ptr->dungeon_idx;
if (record_stair)
- do_cmd_write_nikki(p_ptr, NIKKI_RECALL, current_floor_ptr->dun_level, NULL);
+ exe_write_diary(p_ptr, NIKKI_RECALL, current_floor_ptr->dun_level, NULL);
current_floor_ptr->dun_level = 0;
p_ptr->dungeon_idx = 0;
p_ptr->dungeon_idx = p_ptr->recall_dungeon;
if (record_stair)
- do_cmd_write_nikki(p_ptr, NIKKI_RECALL, current_floor_ptr->dun_level, NULL);
+ exe_write_diary(p_ptr, NIKKI_RECALL, current_floor_ptr->dun_level, NULL);
/* New depth */
current_floor_ptr->dun_level = max_dlv[p_ptr->dungeon_idx];
{
if (min != prev_min)
{
- do_cmd_write_nikki(p_ptr, NIKKI_HIGAWARI, 0, NULL);
+ exe_write_diary(p_ptr, NIKKI_HIGAWARI, 0, NULL);
determine_today_mon(FALSE);
}
}
return (FALSE);
}
- do_cmd_write_nikki(p_ptr, NIKKI_BUNSHOU, 0, _("ウィザードモードに突入してスコアを残せなくなった。", "give up recording score to enter wizard mode."));
+ exe_write_diary(p_ptr, NIKKI_BUNSHOU, 0, _("ウィザードモードに突入してスコアを残せなくなった。", "give up recording score to enter wizard mode."));
/* Mark savefile */
p_ptr->noscore |= 0x0002;
}
return (FALSE);
}
- do_cmd_write_nikki(p_ptr, NIKKI_BUNSHOU, 0, _("デバッグモードに突入してスコアを残せなくなった。", "give up sending score to use debug commands."));
+ exe_write_diary(p_ptr, NIKKI_BUNSHOU, 0, _("デバッグモードに突入してスコアを残せなくなった。", "give up sending score to use debug commands."));
/* Mark savefile */
p_ptr->noscore |= 0x0008;
}
return (FALSE);
}
- do_cmd_write_nikki(p_ptr, NIKKI_BUNSHOU, 0, _("ボーグ・コマンドを使用してスコアを残せなくなった。", "give up recording score to use borg commands."));
+ exe_write_diary(p_ptr, NIKKI_BUNSHOU, 0, _("ボーグ・コマンドを使用してスコアを残せなくなった。", "give up recording score to use borg commands."));
/* Mark savefile */
p_ptr->noscore |= 0x0010;
}
/* Eat some food */
case 'E':
{
- do_cmd_eat_food();
+ do_cmd_eat_food(p_ptr);
break;
}
/* Quaff a potion */
case 'q':
{
- do_cmd_quaff_potion();
+ do_cmd_quaff_potion(p_ptr);
break;
}
/* Read a scroll */
case 'r':
{
- do_cmd_read_scroll();
+ do_cmd_read_scroll(p_ptr);
break;
}
/* Character description */
case 'C':
{
- do_cmd_player_status();
+ do_cmd_player_status(p_ptr);
break;
}
/* Interact with macros */
case '@':
{
- do_cmd_macros();
+ do_cmd_macros(p_ptr);
break;
}
/* Interact with visuals */
case '%':
{
- do_cmd_visuals();
- do_cmd_redraw();
+ do_cmd_visuals(p_ptr);
+ do_cmd_redraw(p_ptr);
break;
}
/* Interact with colors */
case '&':
{
- do_cmd_colors();
- do_cmd_redraw();
+ do_cmd_colors(p_ptr);
+ do_cmd_redraw(p_ptr);
break;
}
{
do_cmd_options();
(void)combine_and_reorder_home(STORE_HOME);
- do_cmd_redraw();
+ do_cmd_redraw(p_ptr);
break;
}
/* Repeat level feeling */
case KTRL('F'):
{
- do_cmd_feeling();
+ do_cmd_feeling(p_ptr);
break;
}
case KTRL('R'):
{
now_message = old_now_message;
- do_cmd_redraw();
+ do_cmd_redraw(p_ptr);
break;
}
if ((max_dlv[p_ptr->dungeon_idx] < current_floor_ptr->dun_level) && !p_ptr->inside_quest)
{
max_dlv[p_ptr->dungeon_idx] = current_floor_ptr->dun_level;
- if (record_maxdepth) do_cmd_write_nikki(p_ptr, NIKKI_MAXDEAPTH, current_floor_ptr->dun_level, NULL);
+ if (record_maxdepth) exe_write_diary(p_ptr, NIKKI_MAXDEAPTH, current_floor_ptr->dun_level, NULL);
}
(void)calculate_upkeep();
if (quest_num && (is_fixed_quest_idx(quest_num) &&
!((quest_num == QUEST_OBERON) || (quest_num == QUEST_SERPENT) ||
- !(quest[quest_num].flags & QUEST_FLAG_PRESET)))) do_cmd_feeling();
+ !(quest[quest_num].flags & QUEST_FLAG_PRESET)))) do_cmd_feeling(p_ptr);
if (p_ptr->phase_out)
{
{
write_level = FALSE;
- do_cmd_write_nikki(p_ptr, NIKKI_GAMESTART, 1,
+ exe_write_diary(p_ptr, NIKKI_GAMESTART, 1,
_(" ----ゲーム再開----",
" ---- Restart Game ----"));
{
char buf[80];
sprintf(buf, _("%sに降り立った。", "You are standing in the %s."), map_name());
- do_cmd_write_nikki(p_ptr, NIKKI_BUNSHOU, 0, buf);
+ exe_write_diary(p_ptr, NIKKI_BUNSHOU, 0, buf);
}