game/bg_public.h

added GT_ELIMINATION

cvars in g_main:
elimination_selfdamage : 0=no damage to self or team (default), 1= only damage self, 2= damge self and team
elimination_startHealth : 200 (default)
elimination_startArmor : 200 (default)
elimination_bfg : 0=disabled (default), n=enabled, with n shots
elimination_roundtime : 120 (seconds)
elimination_warmup : 5 (seconds)
elimination_activewarmup : 2 (seconds we can run around without doing damage)

g_local.h:
	
	clientPersistant_t:
	//elimination:
	int		roundReached;			//Only spawn if we are new to this round

	level_locals_t:
	int roundStartTime;			//time the current round was started
	int roundNumber;			//The round number we have reached
	int roundNumberStarted;			//1 less than roundNumber if we are allowed to spawn
	int roundRedPlayers;			//How many players was there at start of round
	int roundBluePlayers;			//used to find winners in a draw.

TODO:

g_main:
change CheckTournament








Tanker om runder

roundStartTime //start tid for roundNumber
roundNumber
roundNumberStartet //efter tiden er gået
spillet er i gang hvis roundNumber==roundNumberStartet
roundRedPlayers
roundBluePlaeyers
