00001
00002
00003
00004
00005
00006 #ifndef GODPASSIVE_H
00007 #define GODPASSIVE_H
00008
00009 #include "religion-enum.h"
00010
00011 enum che_boost_type
00012 {
00013 CB_RNEG,
00014 CB_RCOLD,
00015 CB_RFIRE,
00016 CB_STATS,
00017 NUM_BOOSTS
00018 };
00019
00020 enum che_change_type
00021 {
00022 CB_PIETY,
00023 CB_PONDEROUS,
00024 };
00025
00026 enum jiyva_slurp_results
00027 {
00028 JS_NONE = 0,
00029 JS_FOOD = 1,
00030 JS_HP = 2,
00031 JS_MP = 4,
00032 };
00033
00034 int che_boost_level();
00035 int che_boost(che_boost_type bt, int level = che_boost_level());
00036 void che_handle_change(che_change_type ct, int diff);
00037 void jiyva_eat_offlevel_items();
00038 void jiyva_slurp_bonus(int item_value, int *js);
00039 void jiyva_slurp_message(int js);
00040 int ash_bondage_level(int type_only = 0);
00041 void ash_check_bondage();
00042 bool ash_id_item(item_def& item, bool silent = true);
00043 void ash_id_inventory();
00044 int ash_detect_portals(bool all);
00045
00046 #endif