]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/extern.h
I've begun to add daily news and split up gameserv.cpp a bit
[irc/gameservirc.git] / gameserv / extern.h
index d996a30b6a0b8ad69328b4faf75862361643058d..468453164cb5b703b6246ea1c7368a8149c47542 100644 (file)
@@ -11,6 +11,7 @@
 #include "player.h"
 #include "list.h"
 #include "config.h"
+#include "myString.h"
 #include "options.h"
 
 #if TIME_WITH_SYS_TIME
@@ -80,6 +81,7 @@ E int idlecheckperiod;
 
 E List<aClient> players[U_TABLE_SIZE];
 E List<aClient> clients[U_TABLE_SIZE];
+E List<myString> todaysnews;
 E Monster boss;
 
 /** tcpclient.cpp **/
@@ -103,6 +105,10 @@ E aClient *findbyrealnick(char *realnick);
 E void notice(const char *source, const char *dest, const char *fmt, ...);
 E void raw(const char *fmt, ...);
 
+/** news.cpp **/
+E void addNews(List<myString> &news, const char *fmt, ...);
+E void showNews(char *nick, List<myString> &news);
+
 /** gameserv.cpp **/
 E void gameserv(char *source, char *buf);
 E Monster *monsters[LEVELS][MONSTERS];