summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-11-15 01:10:27 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:19 +0000
commit8f759de26ac1a17676f3937019804b3a9a972e35 (patch)
tree4182465207276ea0b51051b6e9d6ad992b07f74d /src/cgame
parent00043d33bad26cedbfa105269ae2b1b66684b721 (diff)
* 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
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_main.c8
1 files changed, 4 insertions, 4 deletions
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;