move GetMenuButtonSecondaryFunction into InputScheme

This commit is contained in:
Glenn Maynard
2006-11-21 07:16:19 +00:00
parent 52a878504b
commit 91ee16754f
6 changed files with 12 additions and 18 deletions
+9
View File
@@ -977,6 +977,15 @@ void InputScheme::MenuButtonToGameInputs( MenuButton MenuI, PlayerNumber pn, Gam
}
}
MenuButton InputScheme::GetMenuButtonSecondaryFunction( GameButton gb ) const
{
FOREACH_MenuButton(mb)
if( m_SecondaryMenuButton[mb] == gb )
return mb;
return MenuButton_Invalid;
}
/*
* (c) 2001-2003 Chris Danford
* All rights reserved.