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.44 by root, Sun Mar 18 03:05:40 2007 UTC vs.
Revision 1.45 by root, Thu Apr 12 14:18:05 2007 UTC

978} 978}
979 979
980/* 980/*
981 * init() is called only once, when starting the program. 981 * init() is called only once, when starting the program.
982 */ 982 */
983
984void 983void
985init (int argc, char **argv) 984init (int argc, char **argv)
986{ 985{
987 init_done = 0; /* Must be done before init_signal() */ 986 init_done = 0; /* Must be done before init_signal() */
988 rndm.seed (time (0)); 987 rndm.seed (time (0));
991 init_environ (); 990 init_environ ();
992 parse_args (argc, argv, 1); /* First arg pass - right now it does 991 parse_args (argc, argv, 1); /* First arg pass - right now it does
993 * nothing, but in future specifying the 992 * nothing, but in future specifying the
994 * LibDir in this pass would be reasonable*/ 993 * LibDir in this pass would be reasonable*/
995 994
995 init_anim (); // Must be called before perl
996 cfperl_init (); 996 cfperl_init ();
997 init_library (); /* Must be called early */ 997 init_library (); /* Must be called early */
998 load_settings (); /* Load the settings file */ 998 load_settings (); /* Load the settings file */
999 load_materials (); 999 load_materials ();
1000 parse_args (argc, argv, 2); 1000 parse_args (argc, argv, 2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines