version 1.104 | | version 1.105 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.104 2005/11/16 08:16:08 mwedel Exp $"; | | * "$Id: main.c,v 1.105 2005/12/05 23:34:04 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* | | * |
*/ | | */ |
| | |
void process_active_maps() { | | void process_active_maps(void) { |
mapstruct *map; | | mapstruct *map; |
| | |
| | |
| | |
process_players2 (map); | | process_players2 (map); |
} | | } |
| | |
void clean_tmp_files() { | | void clean_tmp_files(void) { |
mapstruct *m, *next; | | mapstruct *m, *next; |
| | |
LOG(llevInfo,"Cleaning up...\n"); | | LOG(llevInfo,"Cleaning up...\n"); |
| | |
} | | } |
| | |
/* clean up everything before exiting */ | | /* clean up everything before exiting */ |
void cleanup() | | void cleanup(void) |
{ | | { |
LOG(llevDebug,"Cleanup called. freeing data.\n"); | | LOG(llevDebug,"Cleanup called. freeing data.\n"); |
clean_tmp_files(); | | clean_tmp_files(); |
| | |
new_draw_info(NDI_UNIQUE | NDI_ALL | NDI_DK_ORANGE, 5, NULL, buf); | | new_draw_info(NDI_UNIQUE | NDI_ALL | NDI_DK_ORANGE, 5, NULL, buf); |
} | | } |
| | |
int forbid_play() | | int forbid_play(void) |
{ | | { |
#if !defined(_IBMR2) && !defined(___IBMR2) && defined(PERM_FILE) | | #if !defined(_IBMR2) && !defined(___IBMR2) && defined(PERM_FILE) |
char buf[MAX_BUF], day[MAX_BUF]; | | char buf[MAX_BUF], day[MAX_BUF]; |
| | |
| | |
extern unsigned long todtick; | | extern unsigned long todtick; |
| | |
void do_specials() { | | void do_specials(void) { |
| | |
#ifdef WATCHDOG | | #ifdef WATCHDOG |
if (!(pticks % 503)) | | if (!(pticks % 503)) |