static void hooked_roff(concptr str) { hook_c_roff(TERM_WHITE, str); }
/*!
- * @brief モンスターの思い出情報を表示する
+ * @brief モンスターの思い出情報を表示するメインルーチン
* Hack -- display monster information using "hooked_roff()"
* @param r_idx モンスターの種族ID
* @param mode 表示オプション
* left edge of the screen, on a cleared line, in which the recall is
* to take place. One extra blank line is left after the recall.
*/
-void display_monster_lore(player_type *player_ptr, MONRACE_IDX r_idx, BIT_FLAGS mode)
+void process_monster_lore(player_type *player_ptr, MONRACE_IDX r_idx, BIT_FLAGS mode)
{
#ifdef JP
char jverb_buf[64];
extern hook_c_roff_pf hook_c_roff;
void dice_to_string(int base_damage, int dice_num, int dice_side, int dice_mult, int dice_div, char *msg);
-void display_monster_lore(player_type *player_ptr, MONRACE_IDX r_idx, BIT_FLAGS mode);
+void process_monster_lore(player_type *player_ptr, MONRACE_IDX r_idx, BIT_FLAGS mode);
msg_erase();
Term_erase(0, 1, 255);
hook_c_roff = c_roff;
- display_monster_lore(player_ptr, r_idx, mode);
+ process_monster_lore(player_ptr, r_idx, mode);
roff_top(r_idx);
}
Term_gotoxy(0, 1);
hook_c_roff = c_roff;
MONRACE_IDX r_idx = player_ptr->monster_race_idx;
- display_monster_lore(player_ptr, r_idx, 0);
+ process_monster_lore(player_ptr, r_idx, 0);
roff_top(r_idx);
}
void output_monster_spoiler(player_type *player_ptr, MONRACE_IDX r_idx, void(*roff_func)(TERM_COLOR attr, concptr str))
{
hook_c_roff = roff_func;
- display_monster_lore(player_ptr, r_idx, 0x03);
+ process_monster_lore(player_ptr, r_idx, 0x03);
}