2011-02-02 10:49:19 +00:00
|
|
|
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
|
2018-07-06 14:11:38 +00:00
|
|
|
#ifndef GAME_SERVER_GAMEMODES_DDRACE_H
|
|
|
|
#define GAME_SERVER_GAMEMODES_DDRACE_H
|
2010-07-29 05:21:18 +00:00
|
|
|
#include <game/server/gamecontroller.h>
|
2010-08-30 12:13:43 +00:00
|
|
|
#include <game/server/teams.h>
|
2010-09-06 11:37:20 +00:00
|
|
|
#include <game/server/entities/door.h>
|
2010-08-28 20:53:42 +00:00
|
|
|
|
2010-10-04 18:37:39 +00:00
|
|
|
#include <vector>
|
2010-10-04 19:17:56 +00:00
|
|
|
#include <map>
|
2010-10-04 18:37:39 +00:00
|
|
|
|
2011-12-25 13:51:04 +00:00
|
|
|
class CGameControllerDDRace: public IGameController
|
2010-07-29 05:21:18 +00:00
|
|
|
{
|
|
|
|
public:
|
2011-02-13 04:45:17 +00:00
|
|
|
|
2010-07-29 14:53:25 +00:00
|
|
|
CGameControllerDDRace(class CGameContext *pGameServer);
|
2010-08-10 04:28:17 +00:00
|
|
|
~CGameControllerDDRace();
|
2011-02-13 04:45:17 +00:00
|
|
|
|
2010-08-30 12:13:43 +00:00
|
|
|
CGameTeams m_Teams;
|
2010-08-28 20:53:42 +00:00
|
|
|
|
2011-12-25 13:51:04 +00:00
|
|
|
std::map<int, std::vector<vec2> > m_TeleOuts;
|
|
|
|
std::map<int, std::vector<vec2> > m_TeleCheckOuts;
|
2011-02-13 04:45:17 +00:00
|
|
|
|
2010-08-10 04:28:17 +00:00
|
|
|
void InitTeleporter();
|
2010-07-29 05:21:18 +00:00
|
|
|
virtual void Tick();
|
|
|
|
};
|
2018-07-06 14:11:38 +00:00
|
|
|
#endif // GAME_SERVER_GAMEMODES_DDRACE_H
|