diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-22 13:18:44 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-22 23:08:07 -0700 |
commit | cf26eb8ff39f7458a6494d46a7cbb313e28e0f20 (patch) | |
tree | c8efb391771ffe1c0e646bd40550fe74858d4455 /crawl-ref/source/religion.h | |
parent | 17ba3dd85708cb09502cf23c37b78051bdf35db7 (diff) | |
download | crawl-ref-cf26eb8ff39f7458a6494d46a7cbb313e28e0f20.tar.gz crawl-ref-cf26eb8ff39f7458a6494d46a7cbb313e28e0f20.zip |
Split blessing functions into a new file
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 271dc67999..f38b56a1d1 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -9,6 +9,7 @@ #include "enum.h" #include "externs.h" #include "player.h" +#include "mgen_data.h" #include "religion-enum.h" @@ -98,9 +99,6 @@ bool is_yred_undead_slave(const monster* mon); bool is_orcish_follower(const monster* mon); bool is_fellow_slime(const monster* mon); bool is_follower(const monster* mon); -bool bless_follower(monster* follower = NULL, - god_type god = you.religion, - bool force = false); // Vehumet gift interface. bool vehumet_is_offering(spell_type spell); @@ -117,6 +115,12 @@ int get_tension(god_type god = you.religion); int get_monster_tension(const monster* mons, god_type god = you.religion); int get_fuzzied_monster_difficulty(const monster *mons); +typedef void (*delayed_callback)(const mgen_data &mg, monster *&mon, int placed); + +void delayed_monster(const mgen_data &mg, delayed_callback callback = NULL); +void delayed_monster_done(string success, string failure, + delayed_callback callback = NULL); + bool do_god_gift(bool forced = false); vector<god_type> temple_god_list(); |