version 1.21 | | version 1.22 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.21 2001/12/19 10:07:41 garbled Exp $"; | | * "$Id: init.c,v 1.22 2002/01/01 23:37:54 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#endif | | #endif |
#include <version.h> | | #include <version.h> |
| | |
| | /* global weathermap */ |
| | weathermap_t **weathermap; |
| | |
void set_logfile(char *val) { settings.logfilename=val; } | | void set_logfile(char *val) { settings.logfilename=val; } |
void call_version() { version(NULL); exit(0); } | | void call_version() { version(NULL); exit(0); } |
void showscores() { display_high_score(NULL,9999,NULL); exit(0); } | | void showscores() { display_high_score(NULL,9999,NULL); exit(0); } |
| | |
| | |
init_library(); /* Must be called early */ | | init_library(); /* Must be called early */ |
load_settings(); /* Load the settings file */ | | load_settings(); /* Load the settings file */ |
| | init_weather(); |
parse_args(argc, argv, 2); | | parse_args(argc, argv, 2); |
fprintf(logfile,"Welcome to CrossFire, v%s\n",VERSION); | | fprintf(logfile,"Welcome to CrossFire, v%s\n",VERSION); |
fprintf(logfile,"Copyright (C) 1994 Mark Wedel.\n"); | | fprintf(logfile,"Copyright (C) 1994 Mark Wedel.\n"); |