Drawline256

From EDukeWiki
Jump to navigation Jump to search

drawline256 <x0> <y0> <x1> <y1> <index>
drawlinergb <x0> <y0> <x1> <y1> <index> <rgb>

Calls the internal functions used for the automap lines.

The coordinates are xdim<<12/ydim<<12 based, not 320<<16x200<<16.

<index> is a palette index, and for drawlinergb is used as a fallback in the software renderer.

<rgb> is encoded the same as PROJ_FLASH_COLOR