Light: Import distance properly.

Also remove some silly default param for addlight that could make
argument passing not obvious.
Fix sun light
Replace texture2D by texture in dof.frag
Fix OSX 10.7 compilation
Merge branch 'master' of https://github.com/supertuxkart/stk-code
Fix for #1324
Try to convert icon rendering to new helper function (for GL3 support)
Some tweaking to make ssao more apparent
SSAO: Increase beta constant to avoid error
SSAO: Less abrupt transition
small patch for --no-graphics mode
Merge branch 'master' of https://github.com/supertuxkart/stk-code into properties
added check for --no-graphics argument
fix issue #1328
Merge pull request #1325 from solistice/properties

small patch for --no-graphics mode and small bug fix
Fixed --profile-laps command line parameter.
Try to make the custom GUI settings popup work on any resolution
disable crash reporter in debug mode
Fixed some memory problems reported by valgrind.
Merge branch 'master' of github.com:supertuxkart/stk-code