byond - Modules - TypesVar Details - Proc Details

/datum/tacmap/drawing

Vars

current_svgcurrent svg
last_update_timeThe last time the map has been flattened - used as a key to trick react into updating the canvas
new_current_mapcurrent flattend map
old_mapprevious flattened map
tacmap_ready_timeA temporary lock out time before we can open the new canvas tab to allow the tacmap time to fire
toolbar_color_selectioncolor selection for the tactical map canvas, defaults to black.
updated_canvasboolean value to keep track if the canvas has been updated or not, the value is used in tgui state.
wiki_map_fallbackA url that will point to the wiki map for the current map as a fall back image

Procs

distribute_current_map_pngFlattens the current map and then distributes it for the specified faction as an unannounced map.
on_tacmap_fireCallback when timer indicates the tacmap is flattenable now
store_current_svg_coordsGlobally stores svg coords for a given faction.

Var Details

current_svg

current svg

last_update_time

The last time the map has been flattened - used as a key to trick react into updating the canvas

new_current_map

current flattend map

old_map

previous flattened map

tacmap_ready_time

A temporary lock out time before we can open the new canvas tab to allow the tacmap time to fire

toolbar_color_selection

color selection for the tactical map canvas, defaults to black.

updated_canvas

boolean value to keep track if the canvas has been updated or not, the value is used in tgui state.

wiki_map_fallback

A url that will point to the wiki map for the current map as a fall back image

Proc Details

distribute_current_map_png

Flattens the current map and then distributes it for the specified faction as an unannounced map.

Arguments:

on_tacmap_fire

Callback when timer indicates the tacmap is flattenable now

store_current_svg_coords

Globally stores svg coords for a given faction.

Arguments: