]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/flags.h
Added everything necessary to save overtop of the old dragon when someone beats the...
[irc/gameservirc.git] / gameserv / flags.h
index 833fbd649e2077d49a52e7c527be183156fb91f5..42d4217f04c5d6302d94e10416055363beec4b53 100644 (file)
@@ -38,6 +38,7 @@
 #define FLAG_ALIVE             0x00000002
 #define FLAG_YOURTURN          0x00000004
 #define FLAG_WONGAME           0x00000008
+#define FLAG_DRAGONFIGHT       0x00000010
 
 // Config File flags
 #define CFLAG_LISTENONCF               0x00000001
 #define setWonGame(x)          ((x)->addFlag(FLAG_WONGAME))
 #define clearWonGame(x)                ((x)->remFlag(FLAG_WONGAME))
 
+#define isDragonFight(x)       ((x)->getFlags() & FLAG_DRAGONFIGHT)
+#define setDragonFight(x)      ((x)->addFlag(FLAG_DRAGONFIGHT))
+#define clearDragonFight(x)    ((x)->remFlag(FLAG_DRAGONFIGHT))
+
 #endif