OSDN Git Service

[Refactor] #38997 player_wipe_without_name() の修正.get_height_weight() に player_type...
[hengband/hengband.git] / src / birth.h
1 #pragma once
2
3 /*
4  * A structure to hold "rolled" information
5  */
6 typedef struct birther birther;
7
8 struct birther
9 {
10         SEX_IDX psex;           /* Sex index */
11         RACE_IDX prace;         /* Race index */
12         CLASS_IDX pclass;       /* Class index */
13         CHARACTER_IDX pseikaku; /* Seikaku index */
14         REALM_IDX realm1;       /* First magic realm */
15         REALM_IDX realm2;       /* Second magic realm */
16
17         s16b age;
18         s16b ht;
19         s16b wt;
20         s16b sc;
21
22         PRICE au; /*!< 初期の所持金 */
23
24         BASE_STATUS stat_max[6];        /* Current "maximal" stat values */
25         BASE_STATUS stat_max_max[6];    /* Maximal "maximal" stat values */
26         HIT_POINT player_hp[PY_MAX_LEVEL];
27
28         PATRON_IDX chaos_patron;
29
30         s16b vir_types[8];
31
32         char history[4][60];
33
34         bool quick_ok;
35 };
36
37 extern birther previous_char;
38
39 /* birth.c */
40 extern void add_history_from_pref_line(concptr t);
41 extern void player_birth(player_type *creature_ptr);
42 extern void get_max_stats(player_type *creature_ptr);
43 extern void get_height_weight(player_type *creature_ptr);
44 extern void player_outfit(void);
45 extern void dump_yourself(player_type *creature_ptr, FILE *fff);
46