1 | /* |
1 | /* |
2 | CrossFire, A Multiplayer game for X-windows |
2 | CrossFire, A Multiplayer game for X-windows |
3 | |
3 | |
|
|
4 | Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
4 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | Copyright (C) 1992 Frank Tore Johansen |
6 | Copyright (C) 1992 Frank Tore Johansen |
6 | |
7 | |
7 | This program is free software; you can redistribute it and/or modify |
8 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by |
9 | it under the terms of the GNU General Public License as published by |
… | |
… | |
114 | struct player : zero_initialised, attachable |
115 | struct player : zero_initialised, attachable |
115 | { |
116 | { |
116 | player *ACC (RW, next); /* Pointer to next player, NULL if this is last */ |
117 | player *ACC (RW, next); /* Pointer to next player, NULL if this is last */ |
117 | client_ptr ACC (RO, ns); /* Socket information for this player */ |
118 | client_ptr ACC (RO, ns); /* Socket information for this player */ |
118 | object_ptr ACC (RW, ob); /* The object representing the player */ |
119 | object_ptr ACC (RW, ob); /* The object representing the player */ |
119 | maptile *loading; /* When entering a map in progress of loading, not really used */ |
|
|
120 | rangetype ACC (RW, shoottype); /* Which range-attack is being used by player */ |
120 | rangetype ACC (RW, shoottype); /* Which range-attack is being used by player */ |
121 | bowtype_t ACC (RW, bowtype); /* which firemode? */ |
121 | bowtype_t ACC (RW, bowtype); /* which firemode? */ |
122 | petmode_t ACC (RW, petmode); /* which petmode? */ |
122 | petmode_t ACC (RW, petmode); /* which petmode? */ |
123 | object_ptr ACC (RW, ranges[range_size]); /* object for each range. Set up in fix player. Note */ |
123 | object_ptr ACC (RW, ranges[range_size]); /* object for each range. Set up in fix player. Note */ |
124 | /* That not all are used, it is just nice to map this 1:1 */ |
124 | /* That not all are used, it is just nice to map this 1:1 */ |