Crossfire Server, Trunk  R20513
book.h
Go to the documentation of this file.
1 
5 #ifndef BOOK_H
6 #define BOOK_H
7 
16 #define BOOK_BUF HUGE_BUF-10
17 
23 #define BASE_BOOK_BUF 700
24 
31 #define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/10) > BOOK_BUF ? \
32  BOOK_BUF : BASE_BOOK_BUF+((xyz)->weight/10);
33 
36 typedef struct {
40 
45 
46 #endif /* BOOK_H */
unsigned char uint8_t
Definition: win32.h:161
uint8_t message_type
Message type to be sent to the client.
Definition: book.h:37
Struct to store the message_type and message_subtype for signs and books used by the player...
Definition: book.h:36
uint8_t message_subtype
Message subtype to be sent to the client.
Definition: book.h:38
One general message, from the lib/messages file.
Definition: readable.c:134