def SET_FOG_LEVEL_INDEX(index): global FOG_LEVEL global FOG_LEVEL_LIST try: FOG_LEVEL = FOG_LEVEL_LIST[index] except IndexError: FOG_LEVEL = FOG_LEVEL_LIST[0] app.SetMinFog(FOG_LEVEL)
def SET_DEFAULT_FOG_LEVEL(): global FOG_LEVEL app.SetMinFog(FOG_LEVEL)
def NoFog(self): app.SetMinFog(12000)