2010-11-20 10:37:14 +00:00
|
|
|
/* (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. */
|
2010-11-21 22:25:30 +00:00
|
|
|
/*
|
2010-07-30 12:50:09 +00:00
|
|
|
#include "mod.h"
|
|
|
|
|
|
|
|
CGameControllerMOD::CGameControllerMOD(class CGameContext *pGameServer)
|
|
|
|
: IGameController(pGameServer)
|
|
|
|
{
|
|
|
|
// Exchange this to a string that identifies your game mode.
|
|
|
|
// DM, TDM and CTF are reserved for teeworlds original modes.
|
|
|
|
m_pGameType = "MOD";
|
2011-04-13 18:37:12 +00:00
|
|
|
|
2010-07-30 12:50:09 +00:00
|
|
|
//m_GameFlags = GAMEFLAG_TEAMS; // GAMEFLAG_TEAMS makes it a two-team gamemode
|
|
|
|
}
|
|
|
|
|
|
|
|
void CGameControllerMOD::Tick()
|
|
|
|
{
|
|
|
|
// this is the main part of the gamemode, this function is run every tick
|
2011-04-13 18:37:12 +00:00
|
|
|
|
2010-07-30 12:50:09 +00:00
|
|
|
IGameController::Tick();
|
|
|
|
}
|
2011-02-13 05:35:13 +00:00
|
|
|
*/
|