Try to tidy up the eclipse shaders so they're a little more GLSL120 compliant in the hope that it'll make Tichy's open source AMD driver work. Totally blind.
Damn this is complicated.
Merge branch 'master' of git://github.com/pioneerspacesim/pioneer into simplfyEclipse
Just pick from the matrix rather than doing if tests
Pre-divide srad and lrad, pass them through as a uniform.
Pass the inverse (??? i.e. 1.0 / NUM_LIGHTS) value through as a #define to the shader to avoid calculating it per fragment. Means I can avoid two divides within some nested loops.
Oops, fix that last commit!
split shadowCentre into vectors of components
fix bad bracketing in atmos eclipse shader
apply eclipses to sunsets
Merge branch 'master' of git://github.com/pioneerspacesim/pioneer into simplfyEclipse

Conflicts:
	src/graphics/gl2/GeoSphereMaterial.cpp
Just added the PicoDDS library so far.
Compiling and linking, loads the DDS textures.
Fails to run with an OpenGL error.
Still trying to work it out, in Release I just a fluorescent green ship.
In Debug I get GL_INVALID_VALUE but not sure where from.
Working, but hideous, DDS loading code.
1 stupid typo and forgetting to cap the mip chain.
Some tidying up, an extra assert, whitespace fixes.
Cleanup PicoDDS a little bit.
Renamed PicoDDS methods/functions to start UpperCase.
Removed some more bits.
run dos2unix on PicoDDS so that's it's correct in the Pioneer repository.
Introduce a ScopedTable class to cleanup Lua tables at object destruction

In some cases, it is handier to automagically cleanup the stack when the
C++ wrapper is destroyed, for instance when operating on a LuaRef. To
have that behaviour, the LuaTable(LuaRef) constructor has been removed,
replaced by a ScopedTable(LuaRef) one.
Merge remote-tracking branch 'fluffyfreak/simplfyEclipse'