diff options
author | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-07-21 02:34:44 +0000 |
---|---|---|
committer | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-07-21 02:34:44 +0000 |
commit | 673bdae75485d14f759af597c3c62b99601f9a43 (patch) | |
tree | 368103f29fe0ce5dcf98060d9b5faa04590085fb /trunk/source/religion.h | |
parent | 7e900be770db24b0405fd2162491c405a425873e (diff) | |
download | crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.tar.gz crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.zip |
Initial revision
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/religion.h')
-rw-r--r-- | trunk/source/religion.h | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/trunk/source/religion.h b/trunk/source/religion.h new file mode 100644 index 0000000000..7ca62f4e03 --- /dev/null +++ b/trunk/source/religion.h @@ -0,0 +1,116 @@ +/* + * File: religion.cc + * Summary: Misc religion related functions. + * Written by: Linley Henzell + * + * Change History (most recent first): + * + * <1> -/--/-- LRH Created + */ + + +#ifndef RELIGION_H +#define RELIGION_H + +#include "enum.h" + +// last updated 03jun2000 {dlb} +/* *********************************************************************** + * called from: ouch - religion + * *********************************************************************** */ +void simple_god_message( const char *event, int which_deity = GOD_NO_GOD ); + + +// last updated 11jan2001 {mv} +/* *********************************************************************** + * called from: chardump - overmap - religion + * *********************************************************************** */ +char *god_name(int which_god,bool long_name=false); //mv + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: religion - spell + * *********************************************************************** */ +void dec_penance(int val); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: acr - decks - fight - player - religion - spell + * *********************************************************************** */ +void Xom_acts(bool niceness, int sever, bool force_sever); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: beam - decks - fight - religion + * *********************************************************************** */ +void done_good(char thing_done, int pgain); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - religion + * *********************************************************************** */ +void excommunication(void); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: acr - religion - spell + * *********************************************************************** */ +void gain_piety(char pgn); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: spell - religion + * *********************************************************************** */ +void god_speaks( int god, const char *mesg ); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: ability - religion + * *********************************************************************** */ +void lose_piety(char pgn); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: acr - beam - fight - it_use2 - item_use - religion - spell - + * spellbook - spells4 + * *********************************************************************** */ +void naughty(char type_naughty, int naughtiness); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: food + * *********************************************************************** */ +void offer_corpse(int corpse); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: acr + * *********************************************************************** */ +void pray(void); + + +// last updated 24may2000 {dlb} +/* *********************************************************************** + * called from: items + * *********************************************************************** */ +void handle_god_time(void); + +// created 5jan2001 {mv} +/* *********************************************************************** + * called from: message, describe + * *********************************************************************** */ +char god_colour(char god); + +void god_pitch(unsigned char which_god); + +#endif |