]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/extern.h
Added the do_master function so you can gain levels. Fixed it so you can't attack...
[irc/gameservirc.git] / gameserv / extern.h
index 63f5e85b48845c4df6113f0322e9cb5771a1ee34..5694201c9c04db7a34d8e8464558706728e3cba4 100644 (file)
@@ -3,6 +3,9 @@
 
 #define E extern
 
+#define LEVELS 12      // Levels in the game
+#define MONSTERS 12    // Monsters per level
+
 #include <stdarg.h>
 #include "player.h"
 #include "list.h"
@@ -41,7 +44,7 @@ E void raw(const char *fmt, ...);
 
 /** gameserv.cpp **/
 E void gameserv(char *source, char *buf);
-E Monster *monsters[5][12];
+E Monster *monsters[LEVELS][MONSTERS];
 
 /** forest.cpp **/
 E void forest(char *source, char *buf);