]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/extern.h
Added a command line parameter for the config file... updated the TODO and added
[irc/gameservirc.git] / gameserv / extern.h
index c9e1f1152a0a78d9324f163201a779007b49ac63..f0c88aa361d406dfec7abae875980d2f671bae46 100644 (file)
@@ -4,7 +4,7 @@
 #define E extern
 
 #define LEVELS 12      // Levels in the game
-#define REALLEVELS 6    // Levels to load from monsters.dat
+#define REALLEVELS 8    // Levels to load from monsters.dat
 #define MONSTERS 12    // Monsters per level
 
 #include <stdarg.h>
@@ -66,6 +66,7 @@ E aClient *find(const char *nick);
 E aClient *findbynick(char *nick);
 E aClient *findbynick(const char *nick);
 E aClient *findplayer(const char *name);
+E aClient *findIRCplayer(const char *nick);
 
 /** Sock writing functions **/
 E void notice(const char *source, const char *dest, const char *fmt, ...);
@@ -92,9 +93,6 @@ E bool player_fight(aClient *user);
 E bool master_fight(char *u);
 E bool master_fight(aClient *user);
 
-E bool is_alive(char *u);
-E bool is_alive(aClient *user);
-
 #ifndef HAVE_STRTOK
 E char *strtok(char *str, const char *delim);
 #endif
@@ -117,7 +115,8 @@ E Monster *getNewMonster(Monster *m);
 E void deleteMonster(Monster *m);
 E void refresh(Player *p);
 E void refreshall();
-E void reset(aClient *ni);
+E void reset(Player *p);
+E void resetall();
 
 E void do_attack(char *u);
 E void do_bank(char *u);