Reworked BotDatabase into a functional add-on for ZoneDatabase

This commit is contained in:
Uleat
2019-06-24 18:13:25 -04:00
parent 2e9cf7dbd7
commit ee49ad3ce9
11 changed files with 211 additions and 255 deletions
+9
View File
@@ -11,6 +11,10 @@
#include "aa_ability.h"
#include "event_codes.h"
#ifdef BOTS
#include "bot_database.h"
#endif
class Client;
class Corpse;
class Merc;
@@ -535,6 +539,11 @@ public:
/* Things which really dont belong here... */
int16 CommandRequirement(const char* commandname);
#ifdef BOTS
// bot database add-on to eliminate the need for a second database connection
BotDatabase botdb;
#endif
protected:
void ZDBInitVars();