From 8f759de26ac1a17676f3937019804b3a9a972e35 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 15 Nov 2009 01:10:27 +0000 Subject: * s/ITEM_TYPE_COMBO/ITEM_TYPE_CYCLE/ * Add ITEM_TYPE_COMBOBOX -- a proper combobox widget * Use ITEM_TYPE_COMBOBOX for video mode selection * General refactoring of the listbox code * Various other assorted tidy-ups --- src/cgame/cg_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 61888f92..4e7ca1ab 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -1349,7 +1349,7 @@ static qboolean CG_OwnerDrawHandleKey( int ownerDraw, int key ) } -static int CG_FeederCount( float feederID ) +static int CG_FeederCount( int feederID ) { int i, count = 0; @@ -1442,7 +1442,7 @@ static qboolean CG_ClientIsReady( int clientNum ) return Com_ClientListContains( &ready, clientNum ); } -static const char *CG_FeederItemText( float feederID, int index, int column, qhandle_t *handle ) +static const char *CG_FeederItemText( int feederID, int index, int column, qhandle_t *handle ) { int scoreIndex = 0; clientInfo_t *info = NULL; @@ -1530,12 +1530,12 @@ static const char *CG_FeederItemText( float feederID, int index, int column, qha return ""; } -static qhandle_t CG_FeederItemImage( float feederID, int index ) +static qhandle_t CG_FeederItemImage( int feederID, int index ) { return 0; } -static void CG_FeederSelection( float feederID, int index ) +static void CG_FeederSelection( int feederID, int index ) { int i, count; int team = ( feederID == FEEDER_ALIENTEAM_LIST ) ? TEAM_ALIENS : TEAM_HUMANS; -- cgit