#include "io-dump/character-dump.h"
#include "artifact/fixed-art-types.h"
#include "avatar/avatar.h"
-#include "cmd-building/cmd-building.h"
#include "dungeon/quest.h"
#include "flavor/flavor-describer.h"
#include "floor/floor-town.h"
const auto &entries = ArenaEntryList::get_instance();
const auto arena_number = player_ptr->arena_number;
if (arena_number < 0) {
- if (arena_number <= ARENA_DEFEATED_OLD_VER) {
- fprintf(fff, _("\n 闘技場: 敗北\n", "\n Arena: Defeated\n"));
- } else {
- constexpr auto mes = _("\n 闘技場: %d回戦で%sの前に敗北\n", "\n Arena: Defeated by %s in the %d%s fight\n");
- const auto &arena = arena_info[-1 - arena_number];
- const auto &arena_monrace = monraces_info[arena.r_idx];
+ if (arena_number == ARENA_DEFEATED_OLD_VER) {
+ fprintf(fff, _("\n 闘技場: 敗北\n\n", "\n Arena: Defeated\n\n"));
+ return;
+ }
+
+ constexpr auto fmt = _("\n 闘技場: %d回戦で%sの前に敗北\n", "\n Arena: Defeated by %s in the %d%s fight\n");
+ const auto &arena = arena_info[-1 - arena_number];
+ const auto &arena_monrace = monraces_info[arena.r_idx];
#ifdef JP
- fprintf(fff, mes, -arena_number, arena_monrace.name.data());
+ fprintf(fff, fmt, -arena_number, arena_monrace.name.data());
#else
- fprintf(fff, mes, arena_monrace.name.data(), -arena_number, get_ordinal_number_suffix(-arena_number).data());
+ fprintf(fff, fmt, arena_monrace.name.data(), -arena_number, get_ordinal_number_suffix(-arena_number).data());
#endif
- }
-
fprintf(fff, "\n");
return;
}
#include "load/player-info-loader.h"
-#include "cmd-building/cmd-building.h"
#include "load/angband-version-comparer.h"
#include "load/birth-loader.h"
#include "load/dummy-loader.h"
#include "load/player-class-specific-data-loader.h"
#include "load/savedata-old-flag-types.h"
#include "load/world-loader.h"
+#include "market/arena-entry.h"
#include "market/arena.h"
#include "monster-race/race-ability-flags.h"
#include "mutation/mutation-calculator.h"