Defines the default gravity as -4.9 ogrids/s/s, corrects the annotation for SetBallisticAcceleration, clarifies CalculateBallisticAcceleration and BombDropThreshold, and annotates RealisticOrdinance.
Testing done on the proposed changes
See the debug setup commits. For changing the default return value in CalculateBallisticAcceleration, I looked at the bombers in the BombDropThreshold test and adjusted the ballistic acceleration in defaultProjectileWeapon manually, and found that -4.9 seemed more on target than -4.75, which overshot very slightly (as expected, a slower downwards acceleration means the bomb stays in the air long and thus flies further forward).
Checklist
[x] Changes are annotated, including comments where useful
[x] Changes are documented in the changelog for the next game version
Description of the proposed changes
Defines the default gravity as -4.9 ogrids/s/s, corrects the annotation for
SetBallisticAcceleration
, clarifiesCalculateBallisticAcceleration
andBombDropThreshold
, and annotatesRealisticOrdinance
.Testing done on the proposed changes
See the debug setup commits. For changing the default return value in
CalculateBallisticAcceleration
, I looked at the bombers in theBombDropThreshold
test and adjusted the ballistic acceleration in defaultProjectileWeapon manually, and found that -4.9 seemed more on target than -4.75, which overshot very slightly (as expected, a slower downwards acceleration means the bomb stays in the air long and thus flies further forward).Checklist