[quote=“Kevin Granade, post:11, topic:1530”]There are two different zoom levels, map tiles and overmap tiles.
If you use the debug menu to “reveal map” and then look at the revealed map area with ‘m’, that’s one overmap, it’a 180x180 “building sized” squares, e.g. a house or a shop, farms are 3x3 of those etc.
A single overmap square corresponds to a 2x2 block of map tiles, each of which is 12x12 squares in size. For example again, a single house is a 2x2 block of map tiles.
Both overmaps and map tiles are generated on-demand, so if the game needs to draw one or access it for any reason it gets generated on-demand, then saved in memory. The next time you exit the game it gets written to disk. The most common way map tiles get generated is when you move around, when you step acros a map tile boundary such that a square of an unloaded map tile could be visible, the game either loads or generates the map tile right then. You might notice if you’re running there’s a slight pause every dozen steps or so, that’s mapgen happening. That pause is due to up to 44 new map tiles getting generated, and a bunch of things getting shuffled around in the background.
And yes, as you explore, the game accumulates an ever-expanding list of both map tiles and overmap tiles, which can impact performance at the upper end of the scale, though it really shouldn’t.[/quote]
This is helpful. I’d like to confirm a few things:
-
debug/map-reveal is equivalent to artifact/map-reveal, in terms of how & how much map gets revealed? My 02Feb Sword of Cyclopean Shade had a fairly safe mapper and I made thorough use of it.
-
Overmap generation. From reading mapgen.cpp I thought that everything got more/less laid out at world start. Your statement reads as though I could save on one side of an overmap sector boundary, cross it repeatedly, and observe different overmaps. I suspect I’m not understanding something correctly here. Help?
-
Map scale. You’re saying that a House, which is one block on the map screens, works out to four (presumably quadrants) blocks on the map scale. I presume mini-events like corpses, helo crash, radiated! craters, and Nothings are one block?
Thanks much.