OSDN Git Service

[Refactor] 乗馬スキルの上昇処理を PlayerSkill クラスに移設
[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 struct object_type;;
11 struct player_type;
12 int spell_exp_level(int spell_exp);
13
14 WEIGHT calc_weapon_weight_limit(player_type *player_ptr);
15 WEIGHT calc_bow_weight_limit(player_type *player_ptr);
16 WEIGHT calc_inventory_weight(player_type *player_ptr);
17
18 int16_t calc_num_fire(player_type *player_ptr, object_type *o_ptr);
19 WEIGHT calc_weight_limit(player_type *player_ptr);
20 void update_creature(player_type *player_ptr);
21 bool player_has_no_spellbooks(player_type *player_ptr);
22
23 bool player_place(player_type *player_ptr, POSITION y, POSITION x);
24
25 void check_experience(player_type *player_ptr);
26 void wreck_the_pattern(player_type *player_ptr);
27 void cnv_stat(int val, char *out_val);
28 int16_t modify_stat_value(int value, int amount);
29 long calc_score(player_type *player_ptr);
30
31 bool is_blessed(player_type *player_ptr);
32 bool is_time_limit_esp(player_type *player_ptr);
33 bool is_time_limit_stealth(player_type *player_ptr);
34 bool is_fast(player_type *player_ptr);
35 bool is_invuln(player_type *player_ptr);
36 bool is_hero(player_type *player_ptr);
37 bool is_shero(player_type *player_ptr);
38 bool is_echizen(player_type *player_ptr);
39 bool is_chargeman(player_type *player_ptr);
40
41 void stop_mouth(player_type *player_ptr);