/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/minimap.dm

MINIMAP_PIXEL_FROM_WORLDConverts the overworld x and y to minimap x and y values
MINIMAP_PIXEL_MULTIPLIERHow much we multiply the drawn image by, and as a result the pixel coordinates
MINIMAP_ICON_TO_WORLDConverts an icon pixel coordinate (from ICON_X/ICON_Y modifiers) to a world tile coordinate.
MINIMAP_WORLD_TO_PIXELConverts a world tile coordinate to a pixel_w/pixel_z offset for placing a blip on the minimap display.

Define Details

MINIMAP_ICON_TO_WORLD

Converts an icon pixel coordinate (from ICON_X/ICON_Y modifiers) to a world tile coordinate.

MINIMAP_PIXEL_FROM_WORLD

Converts the overworld x and y to minimap x and y values

MINIMAP_PIXEL_MULTIPLIER

How much we multiply the drawn image by, and as a result the pixel coordinates

MINIMAP_WORLD_TO_PIXEL

Converts a world tile coordinate to a pixel_w/pixel_z offset for placing a blip on the minimap display.