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.10 by root, Mon Sep 11 01:49:03 2006 UTC vs.
Revision 1.11 by root, Wed Sep 13 02:05:19 2006 UTC

1082 */ 1082 */
1083 1083
1084void 1084void
1085init (int argc, char **argv) 1085init (int argc, char **argv)
1086{ 1086{
1087
1088 init_done = 0; /* Must be done before init_signal() */ 1087 init_done = 0; /* Must be done before init_signal() */
1089 logfile = stderr; 1088 logfile = stderr;
1090 parse_args (argc, argv, 1); /* First arg pass - right now it does 1089 parse_args (argc, argv, 1); /* First arg pass - right now it does
1091 * nothing, but in future specifying the 1090 * nothing, but in future specifying the
1092 * LibDir in this pass would be reasonable*/ 1091 * LibDir in this pass would be reasonable*/
1103 if (strcmp (settings.dm_mail, "") != 0) 1102 if (strcmp (settings.dm_mail, "") != 0)
1104 { 1103 {
1105 fprintf (logfile, "Maintained locally by: %s\n", settings.dm_mail); 1104 fprintf (logfile, "Maintained locally by: %s\n", settings.dm_mail);
1106 fprintf (logfile, "Questions and bugs should be mailed to above address.\n"); 1105 fprintf (logfile, "Questions and bugs should be mailed to above address.\n");
1107 } 1106 }
1107
1108 SRANDOM (time (NULL)); 1108 SRANDOM (time (NULL));
1109 1109
1110 init_startup (); /* Write (C), check shutdown/forbid files */ 1110 init_startup (); /* Write (C), check shutdown/forbid files */
1111 init_uuid ();
1111 init_signals (); /* Sets up signal interceptions */ 1112 init_signals (); /* Sets up signal interceptions */
1112 init_commands (); /* Sort command tables */ 1113 init_commands (); /* Sort command tables */
1113 read_map_log (); /* Load up the old temp map files */ 1114 read_map_log (); /* Load up the old temp map files */
1114 init_skills (); 1115 init_skills ();
1115 1116

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines