#define E extern
#define LEVELS 12 // Levels in the game
-#define REALLEVELS 8 // Levels to load from monsters.dat
+#define REALLEVELS 9 // Levels to load from monsters.dat
#define MONSTERS 12 // Monsters per level
#include <stdarg.h>
E int sock;
-// Random configuration stuff
-E void load_config_file(char *config = "gameserv.conf");
+/* config.cpp start */
+E int load_config_file(char *config = "gameserv.conf");
E void unload_config_file();
E char *s_GameServ;
E char *c_Forest;
E char *c_ForestTopic;
E char *gshost;
E char *gsident;
+E char *pidfile;
#if defined(P10)
E char *gsnum;
E int welcomedelay;
E int updateperiod;
E int forestfights;
+E int maxafightdistance;
+E int maxbfightdistance;
+
+/* config.cpp end */
E List<aClient> clients;
E List<aClient> players;
+E Monster boss;
/** List search functions **/
E aClient *find(char *nick);
E void do_identify(char *u);
E void do_invenory(char *u);
E void do_list(char *u);
+E void do_logout(char *u);
E void do_play(char *u);
E void do_quitg(char *u);
E void do_refresh(char *u);
E void do_use(char *u);
E void see_mystic(char *u);
+E void logout(aClient *user); // log a user off the game
E void showstats(const char *u, const char *nick);
E void showinventory(aClient *from, aClient *to = NULL);
/* Database saving stuff */