Hotkey Updates (by Buggler)

- Duplicate all applicable arrow hotkeys to WASD hotkeys in Laptop mode (w -> UP, a -> LEFT, s -> DOWN, d -> RIGHT)
- Remapped squad 14 to 'Ctrl + 4' in tactical screen

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6674 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-12-02 20:14:14 +00:00
parent b2dbc3123b
commit c8f4108225
6 changed files with 26 additions and 0 deletions
+6
View File
@@ -6521,6 +6521,7 @@ void HandlePersonnelKeyboard( void )
}
break;
case UPARROW:
case 'w':
if ( fCurrentTeamMode )
{
if( gubPersonnelInfoState > PERSONNEL_STAT_BTN )
@@ -6541,6 +6542,7 @@ void HandlePersonnelKeyboard( void )
}
break;
case DNARROW:
case 's':
if ( fCurrentTeamMode )
{
if( gubPersonnelInfoState < PERSONNEL_NUM_BTN-1 )
@@ -6561,6 +6563,7 @@ void HandlePersonnelKeyboard( void )
}
break;
case LEFTARROW:
case 'a':
fReDrawScreenFlag = TRUE;
PrevPersonnelFace( );
uiCurrentInventoryIndex = 0;
@@ -6568,6 +6571,7 @@ void HandlePersonnelKeyboard( void )
fPausedReDrawScreenFlag = TRUE;
break;
case RIGHTARROW:
case 'd':
fReDrawScreenFlag = TRUE;
NextPersonnelFace( );
uiCurrentInventoryIndex = 0;
@@ -6609,6 +6613,7 @@ void HandlePersonnelKeyboard( void )
switch (InputEvent.usParam)
{
case LEFTARROW:
case 'a':
fReDrawScreenFlag = TRUE;
PrevPersonnelFace( );
uiCurrentInventoryIndex = 0;
@@ -6616,6 +6621,7 @@ void HandlePersonnelKeyboard( void )
fPausedReDrawScreenFlag = TRUE;
break;
case RIGHTARROW:
case 'd':
fReDrawScreenFlag = TRUE;
NextPersonnelFace( );
uiCurrentInventoryIndex = 0;