#include "system/player-type-definition.h"
#include "util/angband-files.h"
#include "util/sort.h"
+#include "util/string-processor.h"
struct unique_list_type {
bool is_alive;
buf[0] = '\0';
}
- fprintf(fff, _(" %s (レベル%d)%s\n", " %s (level %d)%s\n"), r_ptr->name.c_str(), (int)r_ptr->level, buf);
+ const auto name = str_separate(r_ptr->name, 40);
+ fprintf(fff, _(" %-40s (レベル%3d)%s\n", " %-40s (level %3d)%s\n"), name.front().c_str(), (int)r_ptr->level, buf);
+ for (auto i = 1U; i < name.size(); ++i) {
+ fprintf(fff, " %s\n", name[i].c_str());
+ }
}
}