/tg/ Station 13 - Modules - TypesDefine Details

code/modules/art/paintings.dm

CANVAS_FILL_R_MATCHThe pixel to the right matches the previous color we're flooding over
CANVAS_FILL_L_MATCHThe pixel to the left matches the previous color we're flooding over
QUEUE_CANVAS_COORDqueues a coordinate on the canvas for future cycles.
/proc/canvas_scan_stepThe step of canvas_fill() that scans the pixels to the immediate right and left of our coord and see if they need to be queue'd or not. Kept as a separate proc to reduce copypasted code.
/obj/item/paint_paletteSimple painting utility.

Define Details

CANVAS_FILL_L_MATCH

The pixel to the left matches the previous color we're flooding over

CANVAS_FILL_R_MATCH

The pixel to the right matches the previous color we're flooding over

QUEUE_CANVAS_COORD

queues a coordinate on the canvas for future cycles.