byond - Modules - TypesVar Details - Proc Details

Minimaps

Vars

cic_drawingsassoc list of CIC private drawings
client_minimap_copieslist of individual client minimap copies for tracking and updates
drawn_imagesassoc list of hash = image of images drawn by players
earlyaddslist of callbacks we need to invoke late because Initialize happens early, or a Z-level was loaded after init
frozen_overlay_statesassoc list storing frozen overlay states when updates are sent
hashed_minimapsassoc list of minimap objects that are hashed so we have to update as few as possible
images_by_sourceAssoc list of images we hold by their source
minimaps_by_zMinimap hud display datums sorted by zlevel
removal_cbsAssoc list of removal callbacks to invoke to remove images from the raw lists
transmitted_drawingsassoc list of transmitted drawings
update_targetsthe update target datums, sorted by update flag type
update_targets_unsortedNonassoc list of updators we want to have their overlays reapplied
updators_by_datumlist of holders for data relating to tracked zlevel and tracked atum

Procs

add_markerAdds an atom we want to track with blips to the subsystem Arguments:
add_to_updatersAdds an atom to the processing updators that will have blips drawn on them Arguments:
apply_drawings_to_live_minimapsApplies existing drawings to live minimaps after a Live Update is sent
apply_existing_drawings_to_minimapApplies existing drawings to a specific live minimap when first opened
create_ceiling_overlayCreates ceiling protection overlay for a specific client and z-level
fetch_minimap_objectFetches 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:
get_drawing_imagefetches the drawing icon for a minimap flag and returns it, creating it if needed. assumes minimap_flag is ONE flag
has_markerChecks if the source has a marker already set
load_new_zCreates a minimap for a particular z level
on_z_changeCalled on zlevel change of a blip-atom so we can update the image lists as needed
refresh_cic_drawing_overlaysRefreshes CIC drawing overlays for real time updates
refresh_static_minimapsRefreshes all non-live minimaps with current data
remove_client_copyRemoves client copy from tracking when deleted
remove_earlyaddRemoves the object from the earlyadds list, in case it was qdel'd before the z-level was fully loaded
remove_markerRemoves an atom and it's blip from the subsystem
remove_updatorRemoves a atom from the subsystems updating overlays
removeimageremoves an image from raw tracked lists, invoked by callback

Var Details

cic_drawings

assoc list of CIC private drawings

client_minimap_copies

list of individual client minimap copies for tracking and updates

drawn_images

assoc list of hash = image of images drawn by players

earlyadds

list of callbacks we need to invoke late because Initialize happens early, or a Z-level was loaded after init

frozen_overlay_states

assoc list storing frozen overlay states when updates are sent

hashed_minimaps

assoc list of minimap objects that are hashed so we have to update as few as possible

images_by_source

Assoc list of images we hold by their source

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

transmitted_drawings

assoc list of transmitted drawings

update_targets

the update target datums, sorted by update flag type

update_targets_unsorted

Nonassoc list of updators we want to have their overlays reapplied

updators_by_datum

list of holders for data relating to tracked zlevel and tracked atum

Proc Details

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:

apply_drawings_to_live_minimaps

Applies existing drawings to live minimaps after a Live Update is sent

apply_existing_drawings_to_minimap

Applies existing drawings to a specific live minimap when first opened

create_ceiling_overlay

Creates ceiling protection overlay for a specific client and z-level

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:

get_drawing_image

fetches the drawing icon for a minimap flag and returns it, creating it if needed. assumes minimap_flag is ONE flag

has_marker

Checks if the source has a marker already set

load_new_z

Creates a minimap for a particular z level

on_z_change

Called on zlevel change of a blip-atom so we can update the image lists as needed

TODO gross amount of assoc usage and unneeded ALL FLAGS iteration

refresh_cic_drawing_overlays

Refreshes CIC drawing overlays for real time updates

refresh_static_minimaps

Refreshes all non-live minimaps with current data

remove_client_copy

Removes client copy from tracking when deleted

remove_earlyadd

Removes the object from the earlyadds list, in case it was qdel'd before the z-level was fully loaded

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