From ac52992b511fcaf14e7bb9e32676facf9f6a71db Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 27 Nov 2007 19:18:29 +0000 Subject: * Remove lots of Q3/Team Arena related code from the UI module * (bug 3424) Add "noscrollbar" listbox widget property --- src/cgame/cg_draw.c | 8 -------- src/cgame/cg_main.c | 1 - 2 files changed, 9 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 56d25c9c..47e7d477 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -2406,14 +2406,6 @@ int CG_ClientNumFromName( const char *p ) void CG_RunMenuScript( char **args ) { } - - -void CG_GetTeamColor( vec4_t *color ) -{ - (*color)[ 0 ] = (*color)[ 2 ] = 0.0f; - (*color)[ 1 ] = 0.17f; - (*color)[ 3 ] = 0.25f; -} //END TA UI diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index b3452371..bbaf914f 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -1669,7 +1669,6 @@ void CG_LoadHudMenu( void ) cgDC.getValue = &CG_GetValue; cgDC.ownerDrawVisible = &CG_OwnerDrawVisible; cgDC.runScript = &CG_RunMenuScript; - cgDC.getTeamColor = &CG_GetTeamColor; cgDC.setCVar = trap_Cvar_Set; cgDC.getCVarString = trap_Cvar_VariableStringBuffer; cgDC.getCVarValue = CG_Cvar_Get; -- cgit