summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r--crawl-ref/source/religion.h89
1 files changed, 4 insertions, 85 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index 7ca62f4e03..0e4f65a7cf 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -3,6 +3,8 @@
* Summary: Misc religion related functions.
* Written by: Linley Henzell
*
+ * Modified for Crawl Reference by $Author$ on $Date$
+ *
* Change History (most recent first):
*
* <1> -/--/-- LRH Created
@@ -14,103 +16,20 @@
#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 dec_penance(int god, int val);
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
- * *********************************************************************** */
+bool did_god_conduct(int thing_done, int pgain);
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