mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Little Alien
- Game settings changed to read new Ja2_Options.INI format - Added control to skip strategic events (set ENABLE_EMERGENCY_BUTTON_NUMLOCK_TO_SKIP_STRATEGIC_EVENTS to TRUE to enable, press and hold NumLock in strategy screen to skip strategic events) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@77 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
//UINT8 gubEnemyTurnSpeedUpFactor = 1;
|
||||
//UINT8 gubCreatureTurnSpeedUpFactor = 1;
|
||||
//UINT8 gubMilitiaTurnSpeedUpFactor = 1;
|
||||
//UINT8 gubCivTurnSpeedUpFactor = 1;
|
||||
//UINT8 gubCivilianTurnSpeedUpFactor = 1;
|
||||
//turnspeed
|
||||
|
||||
//extern BOOLEAN fAllowTacticalMilitiaCommand; //lal
|
||||
@@ -5887,7 +5887,7 @@ UINT8 GetSpeedUpFactor( )
|
||||
case MILITIA_TEAM:
|
||||
return gGameExternalOptions.gubMilitiaTurnSpeedUpFactor;
|
||||
case CIV_TEAM:
|
||||
return gGameExternalOptions.gubCivTurnSpeedUpFactor;
|
||||
return gGameExternalOptions.gubCivilianTurnSpeedUpFactor;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
@@ -5628,6 +5628,9 @@
|
||||
<File
|
||||
RelativePath="Boxing.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\Bullets.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="Campaign.h">
|
||||
</File>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#endif
|
||||
|
||||
//rain
|
||||
#define WEAPON_RELIABILITY_REDUCTION_PER_RAIN_INTENSITY 0
|
||||
//#define WEAPON_RELIABILITY_REDUCTION_PER_RAIN_INTENSITY 0
|
||||
extern INT8 gbCurrentRainIntensity;
|
||||
//end rain
|
||||
|
||||
@@ -1113,7 +1113,7 @@ BOOLEAN CheckForGunJam( SOLDIERTYPE * pSoldier )
|
||||
//iChance = (80 - pObj->bGunStatus);
|
||||
|
||||
//rain
|
||||
iChance = (80 - 90 - pObj->bGunStatus) + WEAPON_RELIABILITY_REDUCTION_PER_RAIN_INTENSITY * gbCurrentRainIntensity;
|
||||
iChance = (80 - 90 - pObj->bGunStatus) + gGameExternalOptions.ubWeaponReliabilityReductionPerRainIntensity * gbCurrentRainIntensity;
|
||||
//end rain
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user