--- deliantra/server/include/traits.h 2007/09/04 05:43:21 1.19 +++ deliantra/server/include/traits.h 2012/11/11 04:29:11 1.29 @@ -1,22 +1,23 @@ /* - * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. - * - * 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 3 of the License, or - * (at your option) any later version. - * + * This file is part of Deliantra, the Roguelike Realtime MMORPG. + * + * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * + * Deliantra is free software: you can redistribute it and/or modify it under + * the terms of the Affero GNU General Public License as published by the + * Free Software Foundation, either version 3 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 this program. If not, see . - * - * The authors can be reached via e-mail to + * + * You should have received a copy of the Affero GNU General Public License + * and the GNU General Public License along with this program. If not, see + * . + * + * The authors can be reached via e-mail to */ #ifndef TRAITS_H__ @@ -34,14 +35,17 @@ typedef uint64_t uint64; typedef uint32_t tick_t; +typedef uint16_t faceidx; const int sint32_digits = 11; // number of digits an sint32 uses max. const int sint64_digits = 20; typedef char *octet_string; typedef char *utf8_string; +typedef char *any_string; typedef const char *const_octet_string; typedef const char *const_utf8_string; +typedef const char *const_any_string; struct client_container; struct client; @@ -56,6 +60,7 @@ struct random_map_params; struct faceinfo; struct mapxy; +struct materialtype_t; typedef object object_ornull; typedef maptile maptile_ornull;