Crossfire Server, Branches 1.12
R18729
|
Go to the source code of this file.
Data Structures | |
struct | readable_message_type |
Macros | |
#define | BASE_BOOK_BUF 700 |
#define | BOOK_BUF HUGE_BUF-10 |
#define | BOOKSIZE(xyz) |
Describes fundental parameters of 'books' - objects with type==BOOK
Definition in file book.h.
#define BASE_BOOK_BUF 700 |
#define BOOK_BUF HUGE_BUF-10 |
Maximum message buf size for books. If this is changed, keep in mind that big strings may be unreadable by the player as the tail of the message can scroll over the beginning (as of v0.92.2).
Definition at line 39 of file book.h.
Referenced by artifact_msg(), book_overflow(), god_info_msg(), init_msgfile(), make_formula_book(), msgfile_msg(), tailor_readable_ob(), and write_note().
#define BOOKSIZE | ( | xyz | ) |
Get the book buffer size for an individual book object. Make heavy books hold more text but never let a book msg buffer exceed the max. size (BOOK_BUF)
xyz | The book object to calculate the buffer size for. |
Definition at line 54 of file book.h.
Referenced by tailor_readable_ob().