Apply the new ground_level method.
[crawl.git] / crawl-ref / source / godpassive.h
blob90a3d53fc89717e259dbda810565e7c1a176e750
1 /*
2 * File: godpassive.h
3 * Summary: Passive god effects.
4 */
6 #ifndef GODPASSIVE_H
7 #define GODPASSIVE_H
9 #include "religion-enum.h"
11 enum che_boost_type
13 CB_RNEG,
14 CB_RCOLD,
15 CB_RFIRE,
16 CB_STATS,
17 NUM_BOOSTS
20 enum che_change_type
22 CB_PIETY, // Change in piety_rank.
23 CB_PONDEROUS, // Change in number of worn ponderous items.
26 enum jiyva_slurp_results
28 JS_NONE = 0,
29 JS_FOOD = 1,
30 JS_HP = 2,
31 JS_MP = 4,
34 int che_boost_level();
35 int che_boost(che_boost_type bt, int level = che_boost_level());
36 void che_handle_change(che_change_type ct, int diff);
37 void jiyva_eat_offlevel_items();
38 void jiyva_slurp_bonus(int item_value, int *js);
39 void jiyva_slurp_message(int js);
40 int ash_bondage_level(int type_only = 0);
41 void ash_check_bondage();
42 bool ash_id_item(item_def& item, bool silent = true);
43 void ash_id_inventory();
44 int ash_detect_portals(bool all);
45 monster_type ash_monster_tier(const monster *mon);
47 #endif