3 #include "player-info/class-types.h"
4 #include "player-info/race-types.h"
5 #include "player/player-personality-types.h"
6 #include "player/player-sex.h"
7 #include "system/angband.h"
8 #include "system/system-variables.h"
11 * A structure to hold "rolled" information
13 enum class Virtue : short;
15 player_sex psex{}; /* Sex index */
16 PlayerRaceType prace{}; /* Race index */
17 PlayerClassType pclass{}; /* Class index */
18 player_personality_type ppersonality{}; /* Seikaku index */
19 int16_t realm1{}; /* First magic realm */
20 int16_t realm2{}; /* Second magic realm */
27 PRICE au{}; /*!< 初期の所持金 */
29 short stat_max[6]{}; /* Current "maximal" stat values */
30 short stat_max_max[6]{}; /* Maximal "maximal" stat values */
31 int player_hp[PY_MAX_LEVEL]{};
33 int16_t chaos_patron{}; /*! カオスパトロンのID */
35 Virtue vir_types[8]{};
37 char history[4][60]{};
42 extern birther previous_char;
45 bool ask_quick_start(PlayerType *player_ptr);
46 void save_prev_data(PlayerType *player_ptr, birther *birther_ptr);
47 void load_prev_data(PlayerType *player_ptr, bool swap);