… | |
… | |
17 | |
17 | |
18 | You should have received a copy of the GNU General Public License |
18 | You should have received a copy of the GNU General Public License |
19 | along with this program; if not, write to the Free Software |
19 | along with this program; if not, write to the Free Software |
20 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | |
21 | |
22 | The authors can be reached via e-mail at crossfire-devel@real-time.com |
22 | The authors can be reached via e-mail at crossfire@schmorp.de |
23 | */ |
23 | */ |
24 | |
24 | |
25 | #define NUM_OUTPUT_BUFS 5 |
25 | #define NUM_OUTPUT_BUFS 5 |
26 | struct Output_Buf |
26 | struct Output_Buf |
27 | { |
27 | { |
… | |
… | |
208 | }; |
208 | }; |
209 | |
209 | |
210 | struct player : zero_initialised, attachable<player>, player_pod |
210 | struct player : zero_initialised, attachable<player>, player_pod |
211 | { |
211 | { |
212 | player *next; /* Pointer to next player, NULL if this is last */ |
212 | player *next; /* Pointer to next player, NULL if this is last */ |
213 | NewSocket socket; /* Socket information for this player */ |
213 | client *ACC (RO, socket); /* Socket information for this player */ |
214 | Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ |
214 | Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ |
215 | shstr invis_race; /* What race invisible to? */ |
215 | shstr invis_race; /* What race invisible to? */ |
216 | |
216 | |
217 | void clear () |
217 | void clear () |
218 | { |
218 | { |