--- deliantra/server/include/book.h 2006/02/03 07:12:47 1.1 +++ deliantra/server/include/book.h 2007/06/24 04:09:29 1.5 @@ -1,3 +1,24 @@ +/* + * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. + * + * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team + * + * Crossfire TRT is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * The authors can be reached via e-mail to + */ /* Dec '95 - laid down initial file. Stuff in here is for BOOKs * hack. Information in this file describes fundental parameters @@ -26,8 +47,12 @@ #define BOOKSIZE(xyz) BASE_BOOK_BUF+((xyz)->weight/10)>BOOK_BUF? \ BOOK_BUF:BASE_BOOK_BUF+((xyz)->weight/10); -typedef struct { - uint8 message_type; - uint8 message_subtype; -} readable_message_type; +struct readable_message_type +{ + uint8 message_type; + uint8 message_subtype; + const char *msgtype; +}; + #endif +