aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/bots.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/bots.h')
-rw-r--r--NorthstarDLL/bots.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/NorthstarDLL/bots.h b/NorthstarDLL/bots.h
new file mode 100644
index 00000000..5973983a
--- /dev/null
+++ b/NorthstarDLL/bots.h
@@ -0,0 +1,26 @@
+#pragma once
+#include "convar.h"
+#include "r2engine.h"
+
+class ServerBotManager
+{
+
+ public:
+ ConVar* Cvar_bot_quota;
+ ConVar* Cvar_bot_teams;
+
+ ConVar* Cvar_bot_clantag;
+
+ public:
+ ServerBotManager();
+
+ void AddBot(const char* pName = "", int iTeam = -1);
+
+ // events we react to
+ void StartMatch();
+ void SetupPlayer(R2::CBaseClient* pPlayer);
+ void SimulatePlayers();
+
+};
+
+extern ServerBotManager* g_pBots;