--- deliantra/server/include/player.h 2007/06/03 17:05:36 1.60
+++ deliantra/server/include/player.h 2007/07/01 05:00:18 1.64
@@ -1,23 +1,22 @@
/*
- * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game.
+ * This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
*
* Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
* Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
* Copyright (©) 1992,2007 Frank Tore Johansen
*
- * 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.
+ * 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 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.
+ * 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
+ * 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
*/
@@ -97,7 +96,7 @@
{
client *ACC (RO, ns); /* Socket information for this player */
object *ACC (RW, ob); /* The object representing the player */
- int ACC (RO, active);
+ object_vector_index ACC (RO, active);
bowtype_t ACC (RW, bowtype); /* which firemode? */
petmode_t ACC (RW, petmode); /* which petmode? */
@@ -113,6 +112,7 @@
sint8 ACC (RW, gen_grace); /* Bonuses to regeneration speed of grace */
sint16 ACC (RW, item_power); /* Total item power of objects equipped */
uint8 ACC (RW, listening); /* Which priority will be used in info_all */
+ uint8 ACC (RW, gender); /* 0 male, 1 female, others not yte defined */
/* Try to put all the bitfields together - saves some small amount of memory */
bool ACC (RW, braced); /* Will not move if braced, only attack */
@@ -210,5 +210,5 @@
#define for_all_players(var) \
for (unsigned _i = 0; _i < players.size (); ++_i) \
- declvar (player *, var, players [_i])
+ statementvar (player *, var, players [_i])