blob: 55b9e35c86694c9ae659aa291d55f0c83601e572 (
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
|
/*
*********************************************************************
* 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(int wclass, int wtype);
/* ***********************************************************************
* called from: acr - fight - food - item_use - itemname - spells2
* *********************************************************************** */
int damage_type(int wclass, int wtype);
int damage_type(const item_def &item);
// last updated: 10jun2000 {dlb}
/* ***********************************************************************
* called from: describe - fight - item_use
* *********************************************************************** */
int hands_reqd_for_weapon(int wclass, int 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 );
#endif
|