version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_readable_c = | | * static char *rcsid_readable_c = |
* "$Id: readable.c,v 1.28 2006/02/09 00:48:36 akirschbaum Exp $"; | | * "$Id: readable.c,v 1.29 2006/02/10 23:59:25 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
typedef struct namebytype | | typedef struct namebytype |
{ | | { |
char *name; /* generic name to call artifacts of this type */ | | const char *name; /* generic name to call artifacts of this type */ |
int type; /* matching type */ | | int type; /* matching type */ |
} | | } |
arttypename; | | arttypename; |
| | |
PATH_LIGHT | | PATH_LIGHT |
}; | | }; |
| | |
static char *path_book_name[] = | | static const char* const path_book_name[] = |
{ | | { |
"codex", | | "codex", |
"compendium", | | "compendium", |
| | |
}; | | }; |
| | |
/* used by spellpath texts */ | | /* used by spellpath texts */ |
static char *path_author[] = | | static const char* const path_author[] = |
{ | | { |
"aether", | | "aether", |
"astral byways", | | "astral byways", |
| | |
{"Body Armour", ARMOUR} | | {"Body Armour", ARMOUR} |
}; | | }; |
| | |
static char *art_book_name[] = | | static const char* const art_book_name[] = |
{ | | { |
"collection", | | "collection", |
"file", | | "file", |
| | |
}; | | }; |
| | |
/* used by artifact texts */ | | /* used by artifact texts */ |
static char *art_author[] = | | static const char* const art_author[] = |
{ | | { |
"ancient things", | | "ancient things", |
"artifacts", | | "artifacts", |
| | |
* Monster book information | | * Monster book information |
*/ | | */ |
| | |
static char *mon_book_name[] = | | static const char* const mon_book_name[] = |
{ | | { |
"beastuary", | | "beastuary", |
"catalog", | | "catalog", |
| | |
| | |
| | |
/* used by monster beastuary texts */ | | /* used by monster beastuary texts */ |
static char *mon_author[] = | | static const char* const mon_author[] = |
{ | | { |
"beasts", | | "beasts", |
"creatures", | | "creatures", |
| | |
* God book information | | * God book information |
*/ | | */ |
| | |
static char *gods_book_name[] = | | static const char* const gods_book_name[] = |
{ | | { |
"devotional", | | "devotional", |
"devout notes", | | "devout notes", |
| | |
}; | | }; |
| | |
/* used by gods texts */ | | /* used by gods texts */ |
static char *gods_author[] = | | static const char* const gods_author[] = |
{ | | { |
"cults", | | "cults", |
"joy", | | "joy", |
| | |
* Alchemy (formula) information | | * Alchemy (formula) information |
*/ | | */ |
| | |
static char *formula_book_name[] = | | static const char* const formula_book_name[] = |
{ | | { |
"cookbook", | | "cookbook", |
"formulary", | | "formulary", |
| | |
}; | | }; |
| | |
/* this isn't used except for empty books */ | | /* this isn't used except for empty books */ |
static char *formula_author[] = | | static const char* const formula_author[] = |
{ | | { |
"Albertus Magnus", | | "Albertus Magnus", |
"alchemy", | | "alchemy", |
| | |
*/ | | */ |
| | |
/* used by msg file and 'generic' books */ | | /* used by msg file and 'generic' books */ |
static char *light_book_name[] = | | static const char* const light_book_name[] = |
{ | | { |
"calendar", | | "calendar", |
"datebook", | | "datebook", |
| | |
"transcript" | | "transcript" |
}; | | }; |
| | |
static char *heavy_book_name[] = | | static const char* const heavy_book_name[] = |
{ | | { |
"catalog", | | "catalog", |
"compendium", | | "compendium", |
| | |
| | |
| | |
/* used by 'generic' books */ | | /* used by 'generic' books */ |
static char *book_author[] = | | static const char* const book_author[] = |
{ | | { |
"Abdulah", | | "Abdulah", |
"Al'hezred", | | "Al'hezred", |
| | |
"Zagy" | | "Zagy" |
}; | | }; |
| | |
static char *book_descrpt[] = | | static const char* const book_descrpt[] = |
{ | | { |
"ancient", | | "ancient", |
"cryptic", | | "cryptic", |