ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/init.C
(Generate patch)

Comparing deliantra/server/server/init.C (file contents):
Revision 1.25 by pippijn, Tue Jan 2 23:39:22 2007 UTC vs.
Revision 1.28 by pippijn, Wed Jan 3 00:46:53 2007 UTC

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 */
238struct Command_Line_Options options[] = { 238struct 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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines