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
14 player_sex psex{}; /* Sex index */
15 PlayerRaceType prace{}; /* Race index */
16 PlayerClassType pclass{}; /* Class index */
17 player_personality_type ppersonality{}; /* Seikaku index */
18 int16_t realm1{}; /* First magic realm */
19 int16_t realm2{}; /* Second magic realm */
26 PRICE au{}; /*!< 初期の所持金 */
28 BASE_STATUS stat_max[6]{}; /* Current "maximal" stat values */
29 BASE_STATUS stat_max_max[6]{}; /* Maximal "maximal" stat values */
30 int player_hp[PY_MAX_LEVEL]{};
32 int16_t chaos_patron{}; /*! カオスパトロンのID */
34 int16_t vir_types[8]{};
36 char history[4][60]{};
41 extern birther previous_char;
44 bool ask_quick_start(PlayerType *player_ptr);
45 void save_prev_data(PlayerType *player_ptr, birther *birther_ptr);
46 void load_prev_data(PlayerType *player_ptr, bool swap);