OSDN Git Service

[Implement] アヌビス神のカタナを原作仕様に近づける
[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 class PlayerType;
12
13 WEIGHT calc_weapon_weight_limit(PlayerType *player_ptr);
14 WEIGHT calc_bow_weight_limit(PlayerType *player_ptr);
15 WEIGHT calc_inventory_weight(PlayerType *player_ptr);
16
17 int16_t calc_num_fire(PlayerType *player_ptr, object_type *o_ptr);
18 WEIGHT calc_weight_limit(PlayerType *player_ptr);
19 void update_creature(PlayerType *player_ptr);
20 bool player_has_no_spellbooks(PlayerType *player_ptr);
21
22 bool player_place(PlayerType *player_ptr, POSITION y, POSITION x);
23
24 void check_experience(PlayerType *player_ptr);
25 void wreck_the_pattern(PlayerType *player_ptr);
26 void cnv_stat(int val, char *out_val);
27 int16_t modify_stat_value(int value, int amount);
28 long calc_score(PlayerType *player_ptr);
29
30 bool is_blessed(PlayerType *player_ptr);
31 bool is_time_limit_esp(PlayerType *player_ptr);
32 bool is_time_limit_stealth(PlayerType *player_ptr);
33 bool is_fast(PlayerType *player_ptr);
34 bool is_invuln(PlayerType *player_ptr);
35 bool is_hero(PlayerType *player_ptr);
36 bool is_shero(PlayerType *player_ptr);
37 bool is_echizen(PlayerType *player_ptr);
38 bool is_chargeman(PlayerType *player_ptr);
39
40 void stop_mouth(PlayerType *player_ptr);
41
42 bool set_quick_and_tiny(PlayerType *player_ptr);
43 bool set_musasi(PlayerType *player_ptr);
44 bool set_icing_and_twinkle(PlayerType *player_ptr);
45 bool set_anubis_and_chariot(PlayerType *player_ptr);