… | |
… | |
236 | * pass system very easy, and it is very easy to add in new options. |
236 | * pass system very easy, and it is very easy to add in new options. |
237 | */ |
237 | */ |
238 | struct Command_Line_Options options[] = { |
238 | struct Command_Line_Options options[] = { |
239 | |
239 | |
240 | /* Pass 1 functions - STuff that can/should be called before we actually |
240 | /* Pass 1 functions - STuff that can/should be called before we actually |
241 | * initialize any data. |
241 | * initialise any data. |
242 | */ |
242 | */ |
243 | {"-h", 0, 1, help}, |
243 | {"-h", 0, 1, help}, |
244 | |
244 | |
245 | /* Honor -help also, since it is somewhat common */ |
245 | /* Honor -help also, since it is somewhat common */ |
246 | {"-help", 0, 1, help}, |
246 | {"-help", 0, 1, help}, |
… | |
… | |
1013 | init_library (); /* Must be called early */ |
1013 | init_library (); /* Must be called early */ |
1014 | load_settings (); /* Load the settings file */ |
1014 | load_settings (); /* Load the settings file */ |
1015 | load_materials (); |
1015 | load_materials (); |
1016 | parse_args (argc, argv, 2); |
1016 | parse_args (argc, argv, 2); |
1017 | fprintf (logfile, "Welcome to CrossFire, v%s\n", VERSION); |
1017 | fprintf (logfile, "Welcome to CrossFire, v%s\n", VERSION); |
|
|
1018 | fprintf (logfile, "Copyright (C) 2005, 2006, 2007 Marc Lehmann.\n"); |
1018 | fprintf (logfile, "Copyright (C) 1994 Mark Wedel.\n"); |
1019 | fprintf (logfile, "Copyright (C) 1994 Mark Wedel.\n"); |
1019 | fprintf (logfile, "Copyright (C) 1992 Frank Tore Johansen.\n"); |
1020 | fprintf (logfile, "Copyright (C) 1992 Frank Tore Johansen.\n"); |
1020 | |
1021 | |
1021 | if (strcmp (settings.dm_mail, "") != 0) |
1022 | if (strcmp (settings.dm_mail, "") != 0) |
1022 | { |
1023 | { |