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.1.1.1 by root, Fri Feb 3 07:12:47 2006 UTC vs.
Revision 1.5 by root, Sun Jun 24 04:09:29 2007 UTC

1/*
2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 *
6 * Crossfire TRT is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51
18 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 * The authors can be reached via e-mail to <crossfire@schmorp.de>
21 */
1 22
2/* Dec '95 - laid down initial file. Stuff in here is for BOOKs 23/* Dec '95 - laid down initial file. Stuff in here is for BOOKs
3 * hack. Information in this file describes fundental parameters 24 * hack. Information in this file describes fundental parameters
4 * of 'books' - objects with type==BOOK. -b.t. 25 * of 'books' - objects with type==BOOK. -b.t.
5 */ 26 */
24 * mesg buffer exceed the max. size (BOOK_BUF) */ 45 * mesg buffer exceed the max. size (BOOK_BUF) */
25 46
26#define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/10)>BOOK_BUF? \ 47#define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/10)>BOOK_BUF? \
27 BOOK_BUF:BASE_BOOK_BUF+((xyz)->weight/10); 48 BOOK_BUF:BASE_BOOK_BUF+((xyz)->weight/10);
28 49
29typedef struct { 50struct readable_message_type
51{
30 uint8 message_type; 52 uint8 message_type;
31 uint8 message_subtype; 53 uint8 message_subtype;
32} readable_message_type; 54 const char *msgtype;
55};
56
33#endif 57#endif
58

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines