]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/extern.h
Added a logout command and fixed some of the do_fight code
[irc/gameservirc.git] / gameserv / extern.h
index cfdafba17d537fa6bbc82b8f935345a7135ec0ae..30c23a2bb4b162b4387d47783b21ce966493c2f2 100644 (file)
@@ -33,7 +33,7 @@ E void load_day();
 E int sock;
 
 
-// Random configuration stuff
+/* config.cpp start */
 E int load_config_file(char *config = "gameserv.conf");
 E void unload_config_file();
 E char *s_GameServ;
@@ -62,6 +62,10 @@ E char *welcomemsg;
 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;
@@ -137,6 +141,7 @@ E void do_heal(char *u);
 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);
@@ -149,6 +154,7 @@ E void do_tavern(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 */