Angband
obj-randart.h
Go to the documentation of this file.
1 
23 #ifndef OBJECT_RANDART_H
24 #define OBJECT_RANDART_H
25 
26 #include "object.h"
27 
28 #define MAX_TRIES 200
29 #define BUFLEN 1024
30 
31 #define MIN_NAME_LEN 5
32 #define MAX_NAME_LEN 9
33 
39 #define INHIBIT_STRONG (one_in_(6))
40 #define INHIBIT_WEAK (one_in_(2))
41 
47 #define AGGR_POWER 300
48 
54 enum {
59 
62 
70 
80 
82 
87 
91 
98 
101 
104 
112 
145 
146 /* Supercharged abilities - treated differently in algorithm */
147 
154 
155 /* Aggravation - weapon and nonweapon */
158 
159 /* Total of abilities */
161 };
162 
163 char *artifact_gen_name(struct artifact *a, const char ***wordlist);
164 errr do_randart(u32b randart_seed, bool full);
165 
166 #endif /* OBJECT_RANDART_H */