ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/book.h
(Generate patch)

Comparing deliantra/server/include/book.h (file contents):
Revision 1.9 by root, Mon Oct 12 14:00:58 2009 UTC vs.
Revision 1.10 by sf-marcmagus, Thu Oct 15 16:00:37 2009 UTC

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
50struct readable_message_type 50struct readable_message_type
51{ 51{
52 uint8 message_type; 52 uint8 message_type;
53 uint8 message_subtype; 53 uint8 message_subtype;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines