- int day, hour, min;
- extract_day_hour_min(creature_ptr, &day, &hour, &min);
-
- char buf[160];
- if (day < MAX_DAYS)
- sprintf(buf, _("%d日目 %2d:%02d", "Day %d %2d:%02d"), day, hour, min);
- else
- sprintf(buf, _("*****日目 %2d:%02d", "Day ***** %2d:%02d"), hour, min);
-
- display_player_one_line(ENTRY_DAY, buf, TERM_L_GREEN);
-
- if (creature_ptr->chp >= creature_ptr->mhp)
- display_player_one_line(ENTRY_HP, format("%4d/%4d", creature_ptr->chp, creature_ptr->mhp), TERM_L_GREEN);
- else if (creature_ptr->chp > (creature_ptr->mhp * hitpoint_warn) / 10)
- display_player_one_line(ENTRY_HP, format("%4d/%4d", creature_ptr->chp, creature_ptr->mhp), TERM_YELLOW);
- else
- display_player_one_line(ENTRY_HP, format("%4d/%4d", creature_ptr->chp, creature_ptr->mhp), TERM_RED);
-
- if (creature_ptr->csp >= creature_ptr->msp)
- display_player_one_line(ENTRY_SP, format("%4d/%4d", creature_ptr->csp, creature_ptr->msp), TERM_L_GREEN);
- else if (creature_ptr->csp > (creature_ptr->msp * mana_warn) / 10)
- display_player_one_line(ENTRY_SP, format("%4d/%4d", creature_ptr->csp, creature_ptr->msp), TERM_YELLOW);
- else
- display_player_one_line(ENTRY_SP, format("%4d/%4d", creature_ptr->csp, creature_ptr->msp), TERM_RED);
+ int day, hour, min;
+ extract_day_hour_min(creature_ptr, &day, &hour, &min);
+
+ char buf[160];
+ if (day < MAX_DAYS)
+ sprintf(buf, _("%d日目 %2d:%02d", "Day %d %2d:%02d"), day, hour, min);
+ else
+ sprintf(buf, _("*****日目 %2d:%02d", "Day ***** %2d:%02d"), hour, min);
+
+ display_player_one_line(ENTRY_DAY, buf, TERM_L_GREEN);
+
+ if (creature_ptr->chp >= creature_ptr->mhp)
+ display_player_one_line(ENTRY_HP, format("%4d/%4d", creature_ptr->chp, creature_ptr->mhp), TERM_L_GREEN);
+ else if (creature_ptr->chp > (creature_ptr->mhp * hitpoint_warn) / 10)
+ display_player_one_line(ENTRY_HP, format("%4d/%4d", creature_ptr->chp, creature_ptr->mhp), TERM_YELLOW);
+ else
+ display_player_one_line(ENTRY_HP, format("%4d/%4d", creature_ptr->chp, creature_ptr->mhp), TERM_RED);
+
+ if (creature_ptr->csp >= creature_ptr->msp)
+ display_player_one_line(ENTRY_SP, format("%4d/%4d", creature_ptr->csp, creature_ptr->msp), TERM_L_GREEN);
+ else if (creature_ptr->csp > (creature_ptr->msp * mana_warn) / 10)
+ display_player_one_line(ENTRY_SP, format("%4d/%4d", creature_ptr->csp, creature_ptr->msp), TERM_YELLOW);
+ else
+ display_player_one_line(ENTRY_SP, format("%4d/%4d", creature_ptr->csp, creature_ptr->msp), TERM_RED);