|
Enumerations |
| enum | ability_flag_type {
ABFLAG_NONE = 0x00000000,
ABFLAG_BREATH = 0x00000001,
ABFLAG_DELAY = 0x00000002,
ABFLAG_PAIN = 0x00000004,
ABFLAG_PIETY = 0x00000008,
ABFLAG_EXHAUSTION = 0x00000010,
ABFLAG_INSTANT = 0x00000020,
ABFLAG_PERMANENT_HP = 0x00000040,
ABFLAG_PERMANENT_MP = 0x00000080,
ABFLAG_CONF_OK = 0x00000100,
ABFLAG_FRUIT = 0x00000200,
ABFLAG_VARIABLE_FRUIT = 0x00000400,
ABFLAG_HEX_MISCAST = 0X00000800,
ABFLAG_TLOC_MISCAST = 0X00001000,
ABFLAG_NECRO_MISCAST_MINOR = 0X00002000,
ABFLAG_NECRO_MISCAST = 0X00004000,
ABFLAG_TMIG_MISCAST = 0X00008000,
ABFLAG_LEVEL_DRAIN = 0X00010000,
ABFLAG_STAT_DRAIN = 0x00020000
} |
Functions |
| bool | string_matches_ability_name (const std::string &key) |
| std::string | print_abilities () |
| int | count_relevant_monsters (const ability_def &abil) |
| trap_type | trap_for_ability (const ability_def &abil) |
| int | xp_cost (const ability_def &abil) |
| const std::string | make_cost_description (ability_type ability) |
| const std::string | make_detailed_cost_description (ability_type ability) |
| const char * | ability_name (ability_type ability) |
| std::vector< const char * > | get_ability_names () |
| bool | activate_ability () |
| int | choose_ability_menu (const std::vector< talent > &talents) |
| std::vector< talent > | your_talents (bool check_confused) |
| void | set_god_ability_slots () |
Variables |
| ability_type | god_abilities [MAX_NUM_GODS][MAX_GOD_ABILITIES] |