1 | /* |
1 | /* |
2 | * static char *rcsid_main_c = |
2 | * static char *rcsid_main_c = |
3 | * "$Id: main.C,v 1.21 2006/09/07 10:01:58 pippijn Exp $"; |
3 | * "$Id: main.C,v 1.22 2006/09/09 21:48:29 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 | |
… | |
… | |
1450 | INVOKE_GLOBAL (CLOCK); |
1450 | INVOKE_GLOBAL (CLOCK); |
1451 | process_events (NULL); /* "do" something with objects with speed */ |
1451 | process_events (NULL); /* "do" something with objects with speed */ |
1452 | flush_sockets (); |
1452 | flush_sockets (); |
1453 | check_active_maps (); /* Removes unused maps after a certain timeout */ |
1453 | check_active_maps (); /* Removes unused maps after a certain timeout */ |
1454 | do_specials (); /* Routines called from time to time. */ |
1454 | do_specials (); /* Routines called from time to time. */ |
|
|
1455 | object::free_mortals (); |
1455 | |
1456 | |
1456 | ++pticks; |
1457 | ++pticks; |
1457 | } |
1458 | } |
1458 | |
1459 | |
1459 | int |
1460 | int |