minimap_display 
Screen object that renders a /datum/minimap base map icon on the HUD.
Vars | |
| active_button | Currently active toolbar button (the active tool). |
|---|---|
| annotation_share_tag | Optional group tag. Displays with the same tag share drawings and labels. |
| blips | Named blips indexed by name (added via add_blip()). Tagged blips are rebuilt from globals on z-level change. |
| can_draw | Whether this minimap instance allows drawing and labels. |
| draw_offset_y | Y-axis offset for drawing to account for mouse cursor icon positioning. |
| fixed_z_level | fixed z-level to stay on |
| hud_signals | list of signals we want to keep tied on the hud owner mob |
| locator_blip_tag | string for the locator blip's tag |
| minimap | A reference to the minimap used for this display. |
| screentip | Screentext in vis_contents used for the maptext. |
| toolbar_button_types | Maps HUD key → button type path. Used to create/remove toolbar buttons via /datum/hud. |
| valid_minimap_blip_tags | The list of minimap blip tags we're going to read from the globalist and listen for additions to |
| visible_minimap_elements | Unified list of currently visible minimap elements (drawings, labels, blips, screentip). |
Procs | |
| activate_button | Activates a toolbar button as the active tool. |
| add_blip | adds a local blip that's not added to the global list |
| deactivate_button | Deactivates the current tool button. |
| get_screen_pixel_size | Calculates the actual screen pixel size based on the client's view |
| set_cursor_icon | Sets the mouse cursor icon for the HUD client. Pass null to reset to default. |
Var Details
active_button 
Currently active toolbar button (the active tool).
annotation_share_tag 
Optional group tag. Displays with the same tag share drawings and labels.
blips 
Named blips indexed by name (added via add_blip()). Tagged blips are rebuilt from globals on z-level change.
can_draw 
Whether this minimap instance allows drawing and labels.
draw_offset_y 
Y-axis offset for drawing to account for mouse cursor icon positioning.
fixed_z_level 
fixed z-level to stay on
hud_signals 
list of signals we want to keep tied on the hud owner mob
locator_blip_tag 
string for the locator blip's tag
minimap 
A reference to the minimap used for this display.
screentip 
Screentext in vis_contents used for the maptext.
toolbar_button_types 
Maps HUD key → button type path. Used to create/remove toolbar buttons via /datum/hud.
valid_minimap_blip_tags 
The list of minimap blip tags we're going to read from the globalist and listen for additions to
visible_minimap_elements 
Unified list of currently visible minimap elements (drawings, labels, blips, screentip).
Proc Details
activate_button
Activates a toolbar button as the active tool.
add_blip
adds a local blip that's not added to the global list
deactivate_button
Deactivates the current tool button.
get_screen_pixel_size
Calculates the actual screen pixel size based on the client's view
set_cursor_icon
Sets the mouse cursor icon for the HUD client. Pass null to reset to default.