more updates to the bookstore tribute
This commit is contained in:
@@ -75,12 +75,13 @@ struct warntype_info {
|
||||
|
||||
struct tribute_info {
|
||||
size_t tributesz; /* make it possible to skip this in future */
|
||||
char *name; /* what is this tribute for */
|
||||
boolean enabled; /* Do we have tributes turned on? */
|
||||
Bitfield(book,1); /* Have we completed the book tribute? */
|
||||
Bitfield(bookstock,1); /* Have we stocked the book? */
|
||||
/* Markers for other tributes can go here */
|
||||
/* 31 free bits */
|
||||
int bookidx;
|
||||
int bookidx; /* Index of book in list of book titles */
|
||||
int passagecnt; /* Number of passages for this book avail */
|
||||
int passagenum; /* Passage last read */
|
||||
};
|
||||
|
||||
struct context_info {
|
||||
|
||||
@@ -1839,6 +1839,7 @@ E void FDECL(punish, (struct obj *));
|
||||
E void NDECL(unpunish);
|
||||
E boolean FDECL(cant_revive, (int *,BOOLEAN_P,struct obj *));
|
||||
E boolean NDECL(create_particular);
|
||||
E void FDECL(read_tribbook, (const char *, struct obj *));
|
||||
|
||||
/* ### rect.c ### */
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#define EPITAPHFILE "epitaph" /* random epitaphs on graves */
|
||||
#define ENGRAVEFILE "engrave" /* random engravings on the floor */
|
||||
#define BOGUSMONFILE "bogusmon" /* hallucinatory monsters */
|
||||
#define TRIBUTEFILE "tribute" /* 3.6 tribute to Terry Pratchett */
|
||||
#define LEV_EXT ".lev" /* extension for special level files */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user