Minimaps
Vars | |
earlyadds | list of callbacks we need to invoke late because Initialize happens early |
---|---|
hashed_minimaps | assoc list of minimap objects that are hashed so we have to update as few as possible |
hashed_tacmaps | associated list of tacmap datums with a hash |
images_by_source | Assoc list of images we hold by their source |
minimap_added | weakrefs of xenos temporarily added to the marine minimap |
minimaps_by_z | Minimap hud display datums sorted by zlevel |
removal_cbs | Assoc list of removal callbacks to invoke to remove images from the raw lists |
update_targets | the update target datums, sorted by update flag type |
update_targets_unsorted | Nonassoc list of targets we want to be stripped of their overlays during the SS fire |
updators_by_datum | list of holders for data relating to tracked zlevel and tracked atom |
Procs | |
add_marker | Adds an atom we want to track with blips to the subsystem Arguments: |
add_to_updaters | Adds an atom to the processing updators that will have blips drawn on them Arguments: |
fetch_minimap_object | Fetches a /atom/movable/screen/minimap instance or creates on if none exists Note this does not destroy them when the map is unused, might be a potential thing to do? Arguments: |
on_move | Simple proc, updates overlay position on the map when a atom moves |
on_z_change | Called on zlevel change of a blip-atom so we can update the image lists as needed |
remove_marker | Removes an atom and it's blip from the subsystem |
remove_updator | Removes a atom from the subsystems updating overlays |
removeimage | removes an image from raw tracked lists, invoked by callback |
Var Details
earlyadds
list of callbacks we need to invoke late because Initialize happens early
hashed_minimaps
assoc list of minimap objects that are hashed so we have to update as few as possible
hashed_tacmaps
associated list of tacmap datums with a hash
images_by_source
Assoc list of images we hold by their source
minimap_added
weakrefs of xenos temporarily added to the marine minimap
minimaps_by_z
Minimap hud display datums sorted by zlevel
removal_cbs
Assoc list of removal callbacks to invoke to remove images from the raw lists
update_targets
the update target datums, sorted by update flag type
update_targets_unsorted
Nonassoc list of targets we want to be stripped of their overlays during the SS fire
updators_by_datum
list of holders for data relating to tracked zlevel and tracked atom
Proc Details
add_marker
Adds an atom we want to track with blips to the subsystem Arguments:
- target: atom we want to track
- zlevel: zlevel we want this atom to be tracked for
- hud_flags: tracked HUDs we want this atom to be displayed on
- iconstate: iconstate for the blip we want to be used for this tracked atom
- icon: icon file we want to use for this blip, 'icons/UI_icons/map_blips.dmi' by default
- overlay_iconstates: list of iconstates to use as overlay. Used for xeno leader icons.
add_to_updaters
Adds an atom to the processing updators that will have blips drawn on them Arguments:
- target: the target we want to be updating the overlays on
- flags: flags for the types of blips we want to be updated
- ztarget: zlevel we want to be updated with
fetch_minimap_object
Fetches a /atom/movable/screen/minimap instance or creates on if none exists Note this does not destroy them when the map is unused, might be a potential thing to do? Arguments:
- zlevel: zlevel to fetch map for
- flags: map flags to fetch from
on_move
Simple proc, updates overlay position on the map when a atom moves
on_z_change
Called on zlevel change of a blip-atom so we can update the image lists as needed
remove_marker
Removes an atom and it's blip from the subsystem
remove_updator
Removes a atom from the subsystems updating overlays
removeimage
removes an image from raw tracked lists, invoked by callback