summaryrefslogtreecommitdiffstats
path: root/trunk/source/wpn-misc.h
blob: e1d45c8d4afb09f5a061c4d3e6f9593d9e6448e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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