mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Merged from revision: 7036
- Press 'd' in realtime to activate turn based mode immediately (by Sevenfm) o This only works if enemies are in the sector o You will return to realtime if no enemy contact for 2 turns, as usual o Useful for sneaking in some situations git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7037 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3043,24 +3043,35 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
}
|
||||
}
|
||||
}
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
//End turn only if in combat and it is the player's turn
|
||||
if ( fCtrl )
|
||||
gTacticalStatus.ubDisablePlayerInterrupts = TRUE;
|
||||
|
||||
*puiNewEvent = I_ENDTURN;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef JA2TESTVERSION
|
||||
else if( fCtrl )
|
||||
{
|
||||
AdvanceToNextDay();
|
||||
}
|
||||
#endif
|
||||
// sevenfm: press 'd' in realtime to start turnbased
|
||||
else
|
||||
{
|
||||
if ( (gTacticalStatus.uiFlags & INCOMBAT) || (NumEnemyInSector() != 0) )
|
||||
{
|
||||
EnterCombatMode( OUR_TEAM );
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
|
||||
case 'e':
|
||||
|
||||
if( fAlt )
|
||||
|
||||
Reference in New Issue
Block a user