… | |
… | |
43 | * more info than big, weighty tomes! So lets base the 'natural' |
43 | * more info than big, weighty tomes! So lets base the 'natural' |
44 | * book message buffer size on its weight. But never let a book |
44 | * book message buffer size on its weight. But never let a book |
45 | * mesg buffer exceed the max. size (BOOK_BUF) */ |
45 | * mesg buffer exceed the max. size (BOOK_BUF) */ |
46 | |
46 | |
47 | #define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/10)>BOOK_BUF? \ |
47 | #define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/10)>BOOK_BUF? \ |
48 | BOOK_BUF:BASE_BOOK_BUF+((xyz)->weight/10); |
48 | BOOK_BUF:BASE_BOOK_BUF+((xyz)->weight/10) |
49 | |
49 | |
50 | struct readable_message_type |
50 | struct readable_message_type |
51 | { |
51 | { |
52 | uint8 message_type; |
52 | uint8 message_type; |
53 | uint8 message_subtype; |
53 | uint8 message_subtype; |