version 1.33 | | version 1.34 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_loop_c = | | * static char *rcsid_loop_c = |
* "$Id: loop.c,v 1.33 2005/10/28 18:19:53 akirschbaum Exp $"; | | * "$Id: loop.c,v 1.34 2005/10/28 19:08:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{ "lock", (func_uint8_int_pl)LockItem, 1}, | | { "lock", (func_uint8_int_pl)LockItem, 1}, |
{ "mark", (func_uint8_int_pl)MarkItem, 1}, | | { "mark", (func_uint8_int_pl)MarkItem, 1}, |
{ "mapredraw", MapRedrawCmd, 0}, /* Added: phil */ | | { "mapredraw", MapRedrawCmd, 0}, /* Added: phil */ |
{ NULL, NULL} /* terminator */ | | { NULL, NULL, 0} /* terminator */ |
}; | | }; |
| | |
/** Face-related commands */ | | /** Face-related commands */ |
| | |
int i, pollret; | | int i, pollret; |
fd_set tmp_read, tmp_exceptions, tmp_write; | | fd_set tmp_read, tmp_exceptions, tmp_write; |
struct sockaddr_in addr; | | struct sockaddr_in addr; |
int addrlen=sizeof(struct sockaddr); | | socklen_t addrlen=sizeof(struct sockaddr); |
player *pl, *next; | | player *pl, *next; |
| | |
#ifdef CS_LOGSTATS | | #ifdef CS_LOGSTATS |