Beispiel #1
0
//------------------------------------------------------------------------
// 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);
}
Beispiel #2
0
void CHudAmmo::UserCmd_Slot10(void)
{
	gWR.SelectSlot(9, FALSE, 1);
}
Beispiel #3
0
void CHudAmmo::UserCmd_Slot9(void)
{
	gWR.SelectSlot(8, FALSE, 1);
}
Beispiel #4
0
//------------------------------------------------------------------------
// Command Handlers
//------------------------------------------------------------------------
// Slot button pressed
void CHudAmmo::SlotInput( int iSlot )
{
	gWR.SelectSlot( iSlot, FALSE, 1 );
}