3 #include "system/angband.h"
5 #define MAX_VIRTUE 18 /*!< 徳定義の最大数 */
29 #define VIRTUE_LARGE 1
30 #define VIRTUE_SMALL 2
32 typedef struct player_type player_type;
33 bool compare_virtue(player_type *creature_ptr, int type, int num, int tekitou);
34 int virtue_number(player_type *creature_ptr, int type);
35 extern concptr virtue[MAX_VIRTUE];
36 void get_virtues(player_type *creature_ptr);
37 void chg_virtue(player_type *creature_ptr, int virtue, int amount);
38 void set_virtue(player_type *creature_ptr, int virtue, int amount);
39 void dump_virtues(player_type *creature_ptr, FILE *OutFile);