OSDN Git Service

Merge pull request #3532 from sikabane-works/release/3.0.0.87-alpha
[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 #include <string>
10
11 class ItemEntity;
12 class PlayerType;
13
14 WEIGHT calc_weapon_weight_limit(PlayerType *player_ptr);
15 WEIGHT calc_bow_weight_limit(PlayerType *player_ptr);
16 WEIGHT calc_inventory_weight(PlayerType *player_ptr);
17
18 short calc_num_fire(PlayerType *player_ptr, const ItemEntity *o_ptr);
19 WEIGHT calc_weight_limit(PlayerType *player_ptr);
20 void update_creature(PlayerType *player_ptr);
21 bool player_has_no_spellbooks(PlayerType *player_ptr);
22
23 bool player_place(PlayerType *player_ptr, POSITION y, POSITION x);
24
25 void check_experience(PlayerType *player_ptr);
26 void wreck_the_pattern(PlayerType *player_ptr);
27 std::string cnv_stat(int val);
28 int16_t modify_stat_value(int value, int amount);
29 long calc_score(PlayerType *player_ptr);
30
31 bool is_blessed(PlayerType *player_ptr);
32 bool is_time_limit_esp(PlayerType *player_ptr);
33 bool is_time_limit_stealth(PlayerType *player_ptr);
34 bool is_fast(PlayerType *player_ptr);
35 bool is_invuln(PlayerType *player_ptr);
36 bool is_hero(PlayerType *player_ptr);
37 bool is_shero(PlayerType *player_ptr);
38 bool is_echizen(PlayerType *player_ptr);
39 bool is_chargeman(PlayerType *player_ptr);
40
41 void stop_mouth(PlayerType *player_ptr);
42
43 bool set_quick_and_tiny(PlayerType *player_ptr);
44 bool set_musasi(PlayerType *player_ptr);
45 bool set_icing_and_twinkle(PlayerType *player_ptr);
46 bool set_anubis_and_chariot(PlayerType *player_ptr);