--- deliantra/server/include/traits.h 2007/04/25 18:47:50 1.13 +++ deliantra/server/include/traits.h 2007/06/06 05:41:26 1.16 @@ -1,3 +1,25 @@ +/* + * 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 + */ + #ifndef TRAITS_H__ #define TRAITS_H__ @@ -14,6 +36,9 @@ typedef uint32_t tick_t; +const int sint32_digits = 11; // number of digits an sint32 uses max. +const int sint64_digits = 20; + struct client_container; struct client; struct player; @@ -25,6 +50,7 @@ struct party; struct treasurelist; struct random_map_params; +struct faceinfo; // could have used templates, but a more traditional C api // uses more explicit typing which is ok for this purpose.