... I don't know... This is the only mention of it in the source, other than to get it from the INI.
if(tileset->getFog()){
glEnable(GL_FOG);
if(tileset->getFogMode()==fmExp){
glFogi(GL_FOG_MODE, GL_EXP);
}
else{
glFogi(GL_FOG_MODE, GL_EXP2);
}
}
Unfortunately, I don't really understand it, but hopefully someone with more experience than me can...