OSDN Git Service

[Refactor] #1172 Changed ', TRUE,' and ', FALSE,' to small characters
[hengbandforosx/hengbandosx.git] / src / player / player-status.h
1 #pragma once
2
3 /*
4  * @file player-status.h
5  * @brief プレーヤーのステータスに関する状態取得処理ヘッダ
6  */
7
8 #include "system/angband.h"
9
10 typedef struct object_type object_type;
11 typedef struct player_type player_type;
12 int weapon_exp_level(int weapon_exp);
13 int riding_exp_level(int riding_exp);
14 int spell_exp_level(int spell_exp);
15
16 int calc_weapon_weight_limit(player_type *creature_ptr);
17 WEIGHT calc_inventory_weight(player_type *creature_ptr);
18
19 s16b calc_num_fire(player_type *creature_ptr, object_type *o_ptr);
20 WEIGHT calc_weight_limit(player_type *creature_ptr);
21 void update_creature(player_type *creature_ptr);
22 bool player_has_no_spellbooks(player_type *creature_ptr);
23
24 bool player_place(player_type *creature_ptr, POSITION y, POSITION x);
25
26 void check_experience(player_type *creature_ptr);
27 void wreck_the_pattern(player_type *creature_ptr);
28 void cnv_stat(int val, char *out_val);
29 s16b modify_stat_value(int value, int amount);
30 long calc_score(player_type *creature_ptr);
31
32 bool is_blessed(player_type *creature_ptr);
33 bool is_time_limit_esp(player_type *creature_ptr);
34 bool is_time_limit_stealth(player_type *creature_ptr);
35 bool is_fast(player_type *creature_ptr);
36 bool is_invuln(player_type *creature_ptr);
37 bool is_hero(player_type *creature_ptr);
38 bool is_shero(player_type *creature_ptr);
39 bool is_echizen(player_type *creature_ptr);
40
41 void stop_mouth(player_type *caster_ptr);