… | |
… | |
27 | #include <sounds.h> |
27 | #include <sounds.h> |
28 | #include <living.h> |
28 | #include <living.h> |
29 | #include <object.h> |
29 | #include <object.h> |
30 | #include <spells.h> |
30 | #include <spells.h> |
31 | #include <skills.h> |
31 | #include <skills.h> |
32 | #include <newclient.h> |
|
|
33 | |
32 | |
34 | #ifdef COZY_SERVER |
33 | #ifdef COZY_SERVER |
35 | extern int same_party (partylist *a, partylist *b); |
34 | extern int same_party (partylist *a, partylist *b); |
36 | #endif |
35 | #endif |
37 | |
36 | |
… | |
… | |
301 | * All we can really get in this is some settings like host and display |
300 | * All we can really get in this is some settings like host and display |
302 | * mode. |
301 | * mode. |
303 | */ |
302 | */ |
304 | |
303 | |
305 | int |
304 | int |
306 | add_player (client_socket *ns) |
305 | add_player (client *ns) |
307 | { |
306 | { |
308 | player *p = new player; |
307 | player *p = new player; |
309 | |
308 | |
310 | p->socket = ns; |
309 | p->socket = ns; |
311 | ns->pl = p; |
310 | ns->pl = p; |