OSDN Git Service

Merge branch 'Feature/Fix-Fall-Horse' into develop/3.0.0.1Alpha
[hengband/hengband.git] / src / player-info / avatar.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 #define MAX_VIRTUE 18 /*!< 徳定義の最大数 */
6
7 #define V_COMPASSION    1
8 #define V_HONOUR            2
9 #define V_JUSTICE           3
10 #define V_SACRIFICE         4
11 #define V_KNOWLEDGE         5
12 #define V_FAITH             6
13 #define V_ENLIGHTEN         7
14 #define V_ENCHANT           8
15 #define V_CHANCE            9
16 #define V_NATURE           10
17 #define V_HARMONY          11
18 #define V_VITALITY         12
19 #define V_UNLIFE           13
20 #define V_PATIENCE         14
21 #define V_TEMPERANCE       15
22 #define V_DILIGENCE        16
23 #define V_VALOUR           17
24 #define V_INDIVIDUALISM    18
25
26 #define VIRTUE_LARGE 1
27 #define VIRTUE_SMALL 2
28
29 bool compare_virtue(player_type *creature_ptr, int type, int num, int tekitou);
30 int virtue_number(player_type *creature_ptr, int type);
31 extern concptr virtue[MAX_VIRTUE];
32 void get_virtues(player_type *creature_ptr);
33 void chg_virtue(player_type *creature_ptr, int virtue, int amount);
34 void set_virtue(player_type *creature_ptr, int virtue, int amount);
35 void dump_virtues(player_type *creature_ptr, FILE *OutFile);