aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/bots.h
blob: 5973983ac88e8ec19a5c32b431b96b415b31bca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;