bobbens/naev — pull request #51 by MPink (2011-11-20 14:02:45+00:00)
Title: Targeting Upgrade

Defines an accurate linear targeting function and then implements it in multiple places.
aim_turret,seeker_think& ai_aim
If it ever needs updating again it will save lots of effort tracking down the code locations.
The function can also be used to find ship to ship intercept angles but for the moment is only used with weapons.

Fixed loads of launcher related problems.
The turret_ammo type is now pointless as all checks are done on the spawning outfit.
launchers could use a swivel setting but for the moment i use arc.
I done this due to none lockon rockets needing some help in there aiming.

Implemented an angular targeting system and linked it to the targeting array upgrade.
Although this is far from perfect it dose provide a starting place to increase from.
Iv got thoughts on a nerb tracking that would make this look poo.