SS1984 - Modules - TypesVar Details - Proc Details

station_holomap

Vars

bogusThis set to TRUE when the station map is initialized on a zLevel that doesn't have its own icon formatted for use by station holomaps.
crop_hCrop size by y (world.maxy for disable crop)
crop_wCrop size by x (world.maxx for disable crop)
crop_xBottom left corner x for crop (0 for disable crop)
crop_yBottom left corner y for crop (0 for disable crop)
location_turfRedraw location turf
map_zZ level of map
show_legendFlag for add map legend

Procs

update_mapUpdates the map with the provided overlays, with any, removing any overlays it already had that aren't the cursor or legend. If there is no turf, then it doesn't add the cursor or legend back. Make sure to set the pixel x and y of your overlays, or they'll render in the far bottom left.

Var Details

bogus

This set to TRUE when the station map is initialized on a zLevel that doesn't have its own icon formatted for use by station holomaps.

crop_h

Crop size by y (world.maxy for disable crop)

crop_w

Crop size by x (world.maxx for disable crop)

crop_x

Bottom left corner x for crop (0 for disable crop)

crop_y

Bottom left corner y for crop (0 for disable crop)

location_turf

Redraw location turf

map_z

Z level of map

show_legend

Flag for add map legend

Proc Details

update_map

Updates the map with the provided overlays, with any, removing any overlays it already had that aren't the cursor or legend. If there is no turf, then it doesn't add the cursor or legend back. Make sure to set the pixel x and y of your overlays, or they'll render in the far bottom left.