From: Peep P. <so...@us...> - 2004-06-07 15:43:43
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8633 Modified Files: main.c Log Message: Rearranged headers. Index: main.c =================================================================== RCS file: /cvsroot/agd/server/src/main.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- main.c 1 Apr 2004 19:10:53 -0000 1.18 +++ main.c 7 Jun 2004 15:43:32 -0000 1.19 @@ -1,7 +1,7 @@ /* Adventure Game Driver - a graphical MUD driver with AGI-like graphics, using LPC for scripting - Copyright (C) 2003, 2004 Peep Pullerits <so...@es...> + Copyright (C) 2003, 2004 Peep Pullerits <pe...@li...> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -27,13 +27,9 @@ #include "arch.h" #include "sys.h" -#include "array.h" +#include "list.h" #include "lpc.h" #include "object.h" -/*#include "compile.h"*/ - -#include "net.h" -#include "interpret.h" extern object_t *master; static char *conf_file; @@ -185,16 +181,13 @@ parse_config(conf_file); check_logfile(); dfuns_init(); - generate_operator_table(); init_interpreter(); master = load_object(conf.master); if(!master) crash(0, "Master object doesn't load", 3); - ref_ob(master, NULL); + master->numref++; - if(conf.exit_stats) - atexit(mstats_summary); net_listen(conf.port); time(&startup_time); |