1 | /* |
1 | /* |
2 | * static char *rcsid_main_c = |
2 | * static char *rcsid_main_c = |
3 | * "$Id: main.C,v 1.4 2006/08/24 13:13:49 root Exp $"; |
3 | * "$Id: main.C,v 1.5 2006/08/24 17:29:30 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
1316 | /* Lauwenmark : Here we handle the CLOCK global event */ |
1316 | /* Lauwenmark : Here we handle the CLOCK global event */ |
1317 | execute_global_event(EVENT_CLOCK); |
1317 | execute_global_event(EVENT_CLOCK); |
1318 | flush_sockets(); |
1318 | flush_sockets(); |
1319 | check_active_maps(); /* Removes unused maps after a certain timeout */ |
1319 | check_active_maps(); /* Removes unused maps after a certain timeout */ |
1320 | do_specials(); /* Routines called from time to time. */ |
1320 | do_specials(); /* Routines called from time to time. */ |
|
|
1321 | |
|
|
1322 | ++pticks; |
1321 | } |
1323 | } |
1322 | |
1324 | |
1323 | int main(int argc, char **argv) |
1325 | int main(int argc, char **argv) |
1324 | { |
1326 | { |
1325 | #ifdef WIN32 /* ---win32 this sets the win32 from 0d0a to 0a handling */ |
1327 | #ifdef WIN32 /* ---win32 this sets the win32 from 0d0a to 0a handling */ |