//------------------------------------------------------------------------ // Command Handlers //------------------------------------------------------------------------ // Slot button pressed void CHudAmmo::SlotInput( int iSlot ) { // Let the Viewport use it first, for menus if ( gViewPort && gViewPort->SlotInput( iSlot ) ) return; gWR.SelectSlot(iSlot, FALSE, 1); }
void CHudAmmo::UserCmd_Slot10(void) { gWR.SelectSlot(9, FALSE, 1); }
void CHudAmmo::UserCmd_Slot9(void) { gWR.SelectSlot(8, FALSE, 1); }
//------------------------------------------------------------------------ // Command Handlers //------------------------------------------------------------------------ // Slot button pressed void CHudAmmo::SlotInput( int iSlot ) { gWR.SelectSlot( iSlot, FALSE, 1 ); }