pioneerspacesim/pioneer — pull request #1236 by Ziusudra (2012-04-30 08:28:01+00:00)
Title: Asteroid mining fixes

* Fixes #1222
* Went with a combination of the methods I suggested since for some planets their parent is a gravpoint and its not worth CPU cycles getting the average of the stars or something.
* This results in more populated systems everywhere, including 9 more on the sector map when centered on Sol.

* Some other population tweaks
* Using m_humanProx to allow more mining populations near Sol, 5 more populated systems.
* Allowing populations on asteroids which are rare enough that I haven't seen any populated.

* Fixes mined cargo bodies going inside the asteroid
* They were getting a velocity with a completely random direction, which might be fine if terrain collision was more reliable.
* The direction is now random within half a radian of "up" at that point.

* Decreased the opacity of atmosphere for gas giants, so that they don't all have that grey hazy look.

* Added a few comments
* Including a XXX about system metallicity which means some systems will get a wrong description.