#pragma once

#include "system/angband.h"

/*
 * A structure to hold "rolled" information
 */
typedef struct birther {
    SEX_IDX psex; /* Sex index */
    player_race_type prace; /* Race index */
    player_class_type pclass; /* Class index */
    player_personality_type pseikaku; /* Seikaku index */
    REALM_IDX realm1; /* First magic realm */
    REALM_IDX realm2; /* Second magic realm */

    s16b age;
    s16b ht;
    s16b wt;
    s16b sc;

    PRICE au; /*!< 初期の所持金 */

    BASE_STATUS stat_max[6]; /* Current "maximal" stat values */
    BASE_STATUS stat_max_max[6]; /* Maximal "maximal" stat values */
    HIT_POINT player_hp[PY_MAX_LEVEL];

    PATRON_IDX chaos_patron;

    s16b vir_types[8];

    char history[4][60];

    bool quick_ok;
} birther;

extern birther previous_char;

bool ask_quick_start(player_type *creature_ptr);
void save_prev_data(player_type *creature_ptr, birther *birther_ptr);
void load_prev_data(player_type *creature_ptr, bool swap);
