diff options
author | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-13 02:19:00 +0000 |
---|---|---|
committer | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-13 02:19:00 +0000 |
commit | aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f (patch) | |
tree | d0551b96eaebb5b55694579fb8dae4abc7a38407 /crawl-ref/source/ouch.h | |
parent | 2b32f164e6ca1c4b3d587789f6cf46f46fe02fe8 (diff) | |
download | crawl-ref-aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f.tar.gz crawl-ref-aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f.zip |
Clean up a mistake in the SVN import.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r-- | crawl-ref/source/ouch.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h new file mode 100644 index 0000000000..23894dade5 --- /dev/null +++ b/crawl-ref/source/ouch.h @@ -0,0 +1,74 @@ +/* + * File: ouch.cc + * Summary: Functions used when Bad Things happen to the player. + * Written by: Linley Henzell + * + * Change History (most recent first): + * + * <2> 9/29/99 BCR Added the DEATH_NAME_LENGTH define + * It determines how many characters of + * a long player name are printed in + * the score list. + * <1> -/--/-- LRH Created + */ + + +#ifndef OUCH_H +#define OUCH_H + + +#define DEATH_NAME_LENGTH 10 + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: bang - beam - effects - spells + * *********************************************************************** */ +int check_your_resists(int hurted, int flavour); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: fight + * *********************************************************************** */ +void splash_with_acid(char acid_strength); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: fight + * *********************************************************************** */ +void weapon_acid(char acid_strength); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: acr - bang - beam - effects - fight - misc - spells - + * spells2 + * *********************************************************************** */ +void scrolls_burn(char burn_strength, char target_class); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: acr - bang - beam - command - effects - fight - misc - + * ouch - output - religion - spells - spells2 - spells4 + * *********************************************************************** */ +void ouch(int dam, int death_source, char death_type, const char *aux = NULL); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: decks - ouch + * *********************************************************************** */ +void lose_level(void); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: decks - fight - item_use - ouch - religion - spells + * *********************************************************************** */ +void drain_exp(void); + + +#endif |