1 | /* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */ |
2 | #ifndef GAME_SERVER_GAMEMODES_DDRACE_H |
3 | #define GAME_SERVER_GAMEMODES_DDRACE_H |
4 | |
5 | #include <game/server/gamecontroller.h> |
6 | |
7 | class CGameControllerDDRace : public IGameController |
8 | { |
9 | public: |
10 | CGameControllerDDRace(class CGameContext *pGameServer); |
11 | ~CGameControllerDDRace(); |
12 | |
13 | CScore *Score(); |
14 | |
15 | void HandleCharacterTiles(class CCharacter *pChr, int MapIndex) override; |
16 | |
17 | void OnPlayerConnect(class CPlayer *pPlayer) override; |
18 | void OnPlayerDisconnect(class CPlayer *pPlayer, const char *pReason) override; |
19 | |
20 | void OnReset() override; |
21 | |
22 | void Tick() override; |
23 | |
24 | void DoTeamChange(class CPlayer *pPlayer, int Team, bool DoChatMsg = true) override; |
25 | }; |
26 | #endif // GAME_SERVER_GAMEMODES_DDRACE_H |
27 | |