mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
1. make `check_ok_to_fire` return a boolean (like `check_los`) 2. make `check_ok_to_fire` and `check_los` both use a position argument since we don't need the whole turret 3. remove the redundant position prediction code from `ship_get_global_turret_gun_info` (since that needs to be a "pure" function) while making sure "share fire direction" still works 4. skip calculation of the vector in `ship_get_global_turret_gun_info` if we don't need it 5. move the position prediction code out of `aifft_rotate_turret` and into its own function 6. prune some gun position calculation calls since in most cases one will suffice 7. fix position "jitter" with weapon subsystem damage in missions that use gravity 8. `model_rotate_gun` now uses a nullptr position for a reset instead of an extra boolean argument 9. use a more efficient method to calculate gun barrel length 10. a couple variable name changes for clarity