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/wpn-misc.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/wpn-misc.h')
-rw-r--r-- | trunk/source/wpn-misc.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/trunk/source/wpn-misc.h b/trunk/source/wpn-misc.h new file mode 100644 index 0000000000..e1d45c8d4a --- /dev/null +++ b/trunk/source/wpn-misc.h @@ -0,0 +1,67 @@ +/* + ********************************************************************* + * File: wpn-misc.h * + * Summary: temporary home for weapon f(x) until struct'ed * + * Written by: don brodale <dbrodale@bigfootinteractive.com> * + * * + * Changelog(most recent first): * + * * + * <00> 12jun2000 dlb created after little thought * + ********************************************************************* +*/ + + +#ifndef WPNMISC_H +#define WPNMISC_H + +#include "externs.h" + + +/* *********************************************************************** + * called from: food.h + * *********************************************************************** */ +bool can_cut_meat(unsigned char wclass, unsigned char wtype); + +/* *********************************************************************** + * called from: acr - fight - food - item_use - itemname - spells2 + * *********************************************************************** */ +char damage_type(unsigned char wclass, unsigned char wtype); + + +// last updated: 10jun2000 {dlb} +/* *********************************************************************** + * called from: describe - fight - item_use + * *********************************************************************** */ +int hands_reqd_for_weapon(unsigned char wclass, unsigned char wtype); + + +// last updated: 10jun2000 {dlb} +/* *********************************************************************** + * called from: dungeon - fight - item_use - randart + * *********************************************************************** */ +bool is_demonic(unsigned char weapon_subtype); + + +// last updated: 10jun2000 {dlb} +/* *********************************************************************** + * called from: dungeon - item_use - mstuff2 + * *********************************************************************** */ +unsigned char launched_by(unsigned char weapon_subtype); + + +// last updated: 10jun2000 {dlb} +/* *********************************************************************** + * called from: describe - dungeon - fight - item_use - mstuff2 - randart - + * spells2 - spells3 + * *********************************************************************** */ +bool launches_things( unsigned char weapon_subtype ); + + +// last updated: 10jun2000 {dlb} +/* *********************************************************************** + * called from: describe - fight - files - it_use3 - newgame - spells1 + * *********************************************************************** */ +char weapon_skill(unsigned char wclass, unsigned char wtype); + + +#endif |