mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Added features (by Buggler)
- 'Ctrl+Tab' for next tab in Enhanced Description Box at Strategic & Tactical Screen ('Tab' also possible in Strategic Screen as previously not in used)
- 'M' for Multiplayer in Main Menu Screen
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5668 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2090,8 +2090,21 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
break;
|
||||
|
||||
case TAB:
|
||||
// go to next tab in enhanced description box
|
||||
if( ( fCtrl ) && InItemDescriptionBox( ) && gGameSettings.fOptions[ TOPTION_ENHANCED_DESC_BOX ] == TRUE )
|
||||
{
|
||||
if ( gubDescBoxPage < 2 )
|
||||
{
|
||||
gubDescBoxPage++;
|
||||
}
|
||||
else
|
||||
{
|
||||
gubDescBoxPage = 0;
|
||||
}
|
||||
HandleItemDescTabButton( );
|
||||
}
|
||||
// nothing in hand and either not in SM panel, or the matching button is enabled if we are in SM panel
|
||||
if ( ( gpItemPointer == NULL ) &&
|
||||
else if ( ( gpItemPointer == NULL ) &&
|
||||
( ( gsCurInterfacePanel != SM_PANEL ) || ( ButtonList[ iSMPanelButtons[ UPDOWN_BUTTON ] ]->uiFlags & BUTTON_ENABLED ) ) )
|
||||
{
|
||||
UIHandleChangeLevel( NULL );
|
||||
|
||||
Reference in New Issue
Block a user