[MIRROR] Simultaneous map definitions (#10295)

Co-authored-by: Drathek <76988376+Drulikar@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-09 15:51:17 -07:00
committed by GitHub
parent 79d8693a6f
commit 651c8bc1af
262 changed files with 8190 additions and 624462 deletions

View File

@@ -121,11 +121,13 @@
extraMiniMaps["[HOLOMAP_EXTRA_STATIONMAPSMALL]_[zLevel]"] = actual_small_map
// For tiny multi-z maps like the tether, we want to smoosh em together into a nice big one!
/datum/controller/subsystem/holomaps/proc/smooshTetherHolomaps(var/list/zlevels)
/datum/controller/subsystem/holomaps/proc/smooshTetherHolomaps(list/zlevels)
var/icon/big_map = icon(HOLOMAP_ICON, "stationmap")
var/icon/small_map = icon(HOLOMAP_ICON, "blank")
// For each zlevel in turn, overlay them on top of each other
for(var/zLevel in zlevels)
if(!isnum(zLevel))
zLevel = GLOB.map_templates_loaded[zLevel]
var/offset_x = HOLOMAP_PIXEL_OFFSET_X(zLevel) || 1
var/offset_y = HOLOMAP_PIXEL_OFFSET_Y(zLevel) || 1