OSDN Git Service

[Refactor] #2159 typedef struct宣言を全てstruct宣言に差し替えた
[hengbandforosx/hengbandosx.git] / src / birth / auto-roller.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 /*! オートローラの年齢、身長、体重、社会的地位の要求水準 */
6 struct chara_limit_type {
7     int16_t agemin, agemax;
8     int16_t htmin, htmax;
9     int16_t wtmin, wtmax;
10     int16_t scmin, scmax;
11 };
12
13 extern int16_t stat_limit[6];
14 extern int32_t auto_round;
15 extern int32_t auto_upper_round;
16 extern int32_t autoroll_chance;
17
18 class PlayerType;
19 bool get_stat_limits(PlayerType *player_ptr);
20 void initialize_chara_limit(chara_limit_type *chara_limit_ptr);
21 bool get_chara_limits(PlayerType *player_ptr, chara_limit_type *chara_limit_ptr);