More granular Atlas logs & Holomap Init Tweaks (#4056)

changes:

Atlas now logs init time per DMM.
Map Finalization now separately logs finalize & asteroid generation time.
Added Z_ALL_TURFS() macro to get a list of all turfs in a Z-level.
Misc. performance optimizations for SSminimap init.
This commit is contained in:
Lohikar
2018-01-06 16:36:11 -06:00
committed by Erki
parent 6f85f08718
commit 1816de4da8
7 changed files with 56 additions and 43 deletions

View File

@@ -428,8 +428,7 @@
//Icon smoothing helpers
/proc/smooth_zlevel(var/zlevel, now = FALSE)
var/list/away_turfs = block(locate(1, 1, zlevel), locate(world.maxx, world.maxy, zlevel))
for(var/V in away_turfs)
for(var/V in Z_ALL_TURFS(zlevel))
var/turf/T = V
if(T.smooth)
if(now)