]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/extern.h
Fixed a bug that allowed more than one person to register the same player name
[irc/gameservirc.git] / gameserv / extern.h
index 1452a7e72e4e086aa652bfa74f4df3639af1d60b..f5e33ddf186838e43fc6053ac3f06cf8493baab8 100644 (file)
@@ -4,7 +4,7 @@
 #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>
@@ -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,9 +62,14 @@ 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;
+E Monster boss;
 
 /** List search functions **/
 E aClient *find(char *nick);