mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
- Bobby Ray Bugfixes (by Buggler)
o Fixed enabling/disabling filter buttons o Rearranged BR's Guns sorting buttons to have same layout as Ammo's, e.g. 'Heavy W.' becoming last button o Shifted 'Subtotal' to accomodate 7 figures in browsing screen o Reassigned weird cheatmode financing key. New key: '=' +10k; '+' +100k; '-' -10k; '_' -100k. Formerly: '=' +100k; '-' -10k git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4682 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5564,6 +5564,16 @@ void HandleKeyBoardShortCutsForLapTop( UINT16 usEvent, UINT32 usParam, UINT16 us
|
||||
|
||||
//adding money
|
||||
else if ((usEvent == KEY_DOWN )&& ( usParam == '=' ))
|
||||
{
|
||||
if( CHEATER_CHEAT_LEVEL( ) )
|
||||
{
|
||||
AddTransactionToPlayersBook( ANONYMOUS_DEPOSIT, 0, GetWorldTotalMin(), 10000 );
|
||||
MarkButtonsDirty( );
|
||||
}
|
||||
}
|
||||
|
||||
//adding lots of money
|
||||
else if ((usEvent == KEY_DOWN )&& ( usParam == '+' ))
|
||||
{
|
||||
if( CHEATER_CHEAT_LEVEL( ) )
|
||||
{
|
||||
@@ -5581,6 +5591,16 @@ void HandleKeyBoardShortCutsForLapTop( UINT16 usEvent, UINT32 usParam, UINT16 us
|
||||
MarkButtonsDirty( );
|
||||
}
|
||||
}
|
||||
|
||||
//subtracting lots of money
|
||||
else if( (usEvent == KEY_DOWN ) && ( usParam == '_' ) )
|
||||
{
|
||||
if( CHEATER_CHEAT_LEVEL( ) )
|
||||
{
|
||||
AddTransactionToPlayersBook( ANONYMOUS_DEPOSIT, 0, GetWorldTotalMin(), -100000 );
|
||||
MarkButtonsDirty( );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef JA2TESTVERSION
|
||||
|
||||
Reference in New Issue
Block a user