diff options
| author | Teetime <TeetimeTW@yahoo.de> | 2012-08-03 22:26:18 +0200 |
|---|---|---|
| committer | Teetime <TeetimeTW@yahoo.de> | 2012-08-03 22:26:18 +0200 |
| commit | 1208292e57553db14932a2eda41264cc570da01f (patch) | |
| tree | 1c8065f77dfc18d290ecc9be11c430227a8e7f32 /src/game/server/gamemodes/zcatch.h | |
| parent | 47c55655ac8044e901e5ce3b3b34597982724f43 (diff) | |
| download | zcatch-1208292e57553db14932a2eda41264cc570da01f.tar.gz zcatch-1208292e57553db14932a2eda41264cc570da01f.zip | |
Some cleanup
Diffstat (limited to 'src/game/server/gamemodes/zcatch.h')
| -rw-r--r-- | src/game/server/gamemodes/zcatch.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/game/server/gamemodes/zcatch.h b/src/game/server/gamemodes/zcatch.h index d4e33bd1..cb01ff8b 100644 --- a/src/game/server/gamemodes/zcatch.h +++ b/src/game/server/gamemodes/zcatch.h @@ -9,24 +9,23 @@ class CGameController_zCatch : public IGameController { - private: int m_OldMode; - - public: + +public: CGameController_zCatch(class CGameContext *pGameServer); virtual void Tick(); virtual void DoWincheck(); virtual bool IsZCatch(); - + enum { ZCATCH_NOT_CAUGHT = -1, }; - - virtual int OnCharacterDeath(class CCharacter *pVictim, class CPlayer *pKiller, int WeaponID); + 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 void EndRound(); }; |