The oft-used max sightrange is DAYLIGHT_LEVEL, SEEX * MAPSIZE is about twice that.