Drawline256

From EDukeWiki
Revision as of 03:16, 30 January 2018 by Jblade (talk | contribs) (Created page with "'''drawline256''' <x0> <y0> <x1> <y1> <index><br> '''drawlinergb''' <x0> <y0> <x1> <y1> <index> <rgb> Calls the internal functions used for the automap lines. The coordinate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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