mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
New background property: if <croucheddefense> is set, enemy CTH is modified if they fire on us while we are crouched against thick cover (size >= 2) in the direction of the shot.
Backgrounds.xml tag was added in GameDir r2267. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7933 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1910,6 +1910,9 @@ public:
|
||||
|
||||
// Flugente: assumed character weight (without any items)
|
||||
FLOAT GetBodyWeight();
|
||||
|
||||
// Flugente: are we crouched against cover from a specific direction? WARNING: This does not suffice to determine our cover!
|
||||
BOOLEAN IsCrouchedAgainstCoverFromDir( UINT8 aDirection );
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
}; // SOLDIERTYPE;
|
||||
|
||||
Reference in New Issue
Block a user