Angband
randname.h
Go to the documentation of this file.
1 
18 #ifndef RANDNAME_H
19 #define RANDNAME_H
20 
25 typedef enum {
28 
29  /* End of type marker - not a valid name type */
32 
33 extern const char *** name_sections;
34 
38 extern size_t randname_make(randname_type name_type, size_t min, size_t max, char *word_buf, size_t buflen, const char ***wordlist);
39 
40 #endif /* RANDNAME_H */
const char *** name_sections
Array[RANDNAME_NUM_TYPES][num_names] of random names.
Definition: randname.c:30
Definition: randname.h:27
Definition: randname.h:30
randname_type
The different types of name randname.c can generate which is also the number of sections in names...
Definition: randname.h:25
size_t randname_make(randname_type name_type, size_t min, size_t max, char *word_buf, size_t buflen, const char ***wordlist)
Make a random name.
Definition: randname.c:77
Definition: randname.h:26