gl_fog.c is taken from fitzquake with only minor modifications to get it into QF. Other than worldspawn/network parsing, it's not used yet.