P.S. Just noticed, there is a minor bug with the sky being a bit too bright - It's because it was exempt from any processing but I put it through the same pipeline as the other textures, and it gets affected by the procedure that controls brightness... I'll fix that later.

Also note to self to move that brightening stage to *before* resampling, the loading times are unacceptably long as it is now.

P.P.S Also fixed the bug in original DelphiQuake caused by erroneous conversion ( += translated as := ) that caused corruption on the polygons affected by more than one light map.