Is there a way to disable fog on the world map?
void SetFog (uint16 zoneX, uint16 zoneY, int fog)
An example (from sdk replication.fos):
zoneX = cr.WorldX / __GlobalMapZoneLength;
zoneY = cr.WorldY / __GlobalMapZoneLength;
cr.SetFog( zoneX, zoneY, FOG_NONE );
cr.SetFog( zoneX - 1, zoneY - 1, FOG_HALF );
cr.SetFog( zoneX, zoneY - 1, FOG_HALF );
cr.SetFog( zoneX + 1, zoneY - 1, FOG_HALF );
cr.SetFog( zoneX - 1, zoneY, FOG_HALF );
cr.SetFog( zoneX + 1, zoneY, FOG_HALF );
cr.SetFog( zoneX - 1, zoneY + 1, FOG_HALF );
cr.SetFog( zoneX, zoneY + 1, FOG_HALF );
cr.SetFog( zoneX + 1, zoneY + 1, FOG_HALF );
Use a simple loop to make whole worldmap visible.
Remember that having worldmap locations visible is a different thing:
bool SetKnownLoc (bool byId, uint locNum)
An example (also from replication.fos):
cr.SetKnownLoc( false, LOCATION_BrokenHills );
cr.SetKnownLoc( false, LOCATION_NewReno );