/datum/minimap/area_map
Vars | |
border_width | The width in pixels between the edge of the station and the edge of the map that should be used to determine an ideal centre scale. |
---|---|
centre_focus_x | The x coordinate that of the centre of the focused map. |
centre_focus_y | The y coordinate that of the centre of the focused map. |
centre_scale | The scale used to fit all visible turfs on the focused map. |
dynamic_areas_overlays_by_z_level | A list of dynamic area overlay lists, indexed by z-level. |
map_icons_by_z_level | A list of minimap render icons, indexed by z-level. |
minimap_type | A bitflag that determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm . |
Procs | |
centre_on_point | Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the centre of the displayed minimap. The alpha mask takes care of any map area scaled outside of the map boundaries. |
find_focal_point | Locate the focal point of the map by using the furthest valid turf in each direction. |
valid_turf | Checks whether a turf is rendered on this minimap type. |
Var Details
border_width
The width in pixels between the edge of the station and the edge of the map that should be used to determine an ideal centre scale.
centre_focus_x
The x coordinate that of the centre of the focused map.
centre_focus_y
The y coordinate that of the centre of the focused map.
centre_scale
The scale used to fit all visible turfs on the focused map.
dynamic_areas_overlays_by_z_level
A list of dynamic area overlay lists, indexed by z-level.
map_icons_by_z_level
A list of minimap render icons, indexed by z-level.
minimap_type
A bitflag that determines which areas and minimap markers are to be rendered on the minimap. For available flags, see _std/defines/minimap.dm
.
Proc Details
centre_on_point
Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the centre of the displayed minimap. The alpha mask takes care of any map area scaled outside of the map boundaries.
find_focal_point
Locate the focal point of the map by using the furthest valid turf in each direction.
valid_turf
Checks whether a turf is rendered on this minimap type.