blob: e3dbdd23d49c461d788fa51e3dec429b9f44da77 (
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
|
/*
* File: itemname.cc
* Summary: Misc functions.
* Written by: Linley Henzell
*
* Modified for Crawl Reference by $Author$ on $Date$
*
* Change History (most recent first):
*
* <1> -/--/-- LRH Created
*/
#ifndef ITEMNAME_H
#define ITEMNAME_H
#include "externs.h"
bool is_vowel( const char chr );
/* ***********************************************************************
* called from: debug - describe - dungeon - fight - files - item_use -
* monstuff - mstuff2 - players - spells0
* *********************************************************************** */
int property( const item_def &item, int prop_type );
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
void check_item_knowledge();
std::string quant_name( const item_def &item, int quant,
description_level_type des, bool terse = false );
bool item_type_known( const item_def &item );
bool item_type_tried( const item_def &item );
bool is_interesting_item( const item_def& item );
std::string make_name( unsigned long seed, bool all_caps );
/* ***********************************************************************
* called from: acr
* *********************************************************************** */
void init_properties();
id_arr& get_typeid_array();
item_type_id_state_type get_ident_type(object_class_type basetype,
int subtype);
void set_ident_type( object_class_type basetype, int subtype,
item_type_id_state_type setting, bool force = false);
#endif
|