Make the ship invulnerable by passing 1
import("Game").player:SetInvulnerable(0)
import("Game").player:SetInvulnerable(1)
Update the docking to fix a bug spawning of ships in docking bays they don't fit inside.
auto-commit: translation updates
Some defensive coding to guard against divide by zero and other possible issues.
Change to use the correct functions to test
Invert the test, my mistake on previous commit.
return the relative position instead of the absolute.
normalise output of early-return path in AIGetLeadDir
Merge branch 'AIGetLeadDir'
make Ship:SetInvulnerable take a boolean, not an integer
expand documentation for the Ship:Get/SetInvulnerable methods
move Ship:Get/SetInvulnerable methods out of 'AI Methods' doc section

Move Lua Ship Get/SetInvulnerable method implementations up the file,
so they aren't grouped with AI methods in the documentation.
document the fact that ship invulnerability is not saved
Merge remote-tracking branch 'fluffy/IAmInvincible'
fix inverted early-out test in Ship::AIGetLeadDir

Thanks to @walterar for noticing this bug.
Merge branch 'master' of https://github.com/pioneerspacesim/pioneer into DockedShipSpawn
GetFreeDockingPort must have a ship passed in, assets if it doesn't.
SwapDockedShipsPort gets the ship from the oldPort parameter, must also be valid.
auto-commit: translation updates
when attaching a VertexArray to GL, assert that the arrays are not empty
initial row mouseover calc and highlight