blob: 9602c75ca99518e7827498452403819d869e4b10 (
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
27
28
29
|
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
/* zCatch by erd and Teetime */
#ifndef GAME_SERVER_GAMEMODES_ZCATCH_H
#define GAME_SERVER_GAMEMODES_ZCATCH_H
#include <game/server/gamecontroller.h>
#include "../ranking.h"
class CGameController_zCatch: public IGameController
{
int m_OldMode;
CRanking *m_Ranking;
public:
CGameController_zCatch(class CGameContext *pGameServer);
virtual void Tick();
virtual void DoWincheck();
virtual void StartRound();
virtual void OnCharacterSpawn(class CCharacter *pChr);
virtual void OnPlayerInfoChange(class CPlayer *pP);
virtual int OnCharacterDeath(class CCharacter *pVictim, class CPlayer *pKiller, int WeaponID);
virtual bool OnEntity(int Index, vec2 Pos);
virtual bool CanChangeTeam(CPlayer *pPlayer, int JoinTeam);
virtual void EndRound();
};
#endif
|