]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/extern.h
added a new itemdata config file directive
[irc/gameservirc.git] / gameserv / extern.h
index 576be8964c0b5459c8c068ec9f3c9aafde3d45b8..8e2a41688c76e2b0577ea94c93ecad94f49a2c96 100644 (file)
@@ -9,6 +9,7 @@
 #define WNA 16         // Weapons and armor
 
 #include <stdarg.h>
+#include <list>
 #include "player.h"
 #include "level.h"
 #include "list.h"
@@ -52,6 +53,7 @@ E char *pidfile;
 E char *newsdata;
 E char *nsname;
 E char *nspass;
+E Monster dragon;
 
 #if defined(P10)
 E char *gsnum;
@@ -62,6 +64,9 @@ E char *remoteserver;
 E char *remoteport;
 E char *remotepass;
 E char *playerdata;
+E char *itemdata;
+E char *dragondata;
+E char *masterdata;
 E char *logfile;
 E char *adminpass;
 E char *VERSION;
@@ -128,6 +133,7 @@ E int webonus[WNA];
 E int arbonus[WNA];
 E void gameserv(char *source, char *buf);
 E Level levels[LEVELS];
+E list<item> Items;
 
 /** forest.cpp **/
 E void forest(char *source, char *buf);
@@ -207,6 +213,9 @@ E void showinventory(aClient *from, aClient *to = NULL);
 
 E int save_gs_dbase();
 E int load_gs_dbase();
+E int load_items();
+E int load_dragon();
+E int save_dragon();
 
 // Log File Stuff
 E void log(const char *fmt, ...);