raze-gles/source/duke3d
hendricks266 517517a1bb CON: Add getclosestcol command, which finds the closest palette index given
getclosestcol <return> <color> <limit>

<color> is encoded the same as PROJ_FLASH_COLOR.

<limit> is the index of the last palette color that should be considered. Use 255 for the whole palette, 254 to exclude the transparent color, 239 to exclude Duke 3D's fullbrights, etc.

git-svn-id: https://svn.eduke32.com/eduke32@6259 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-24 09:20:54 +00:00
..
rsrc Route inclusion of all Windows headers through a new header, windows_inc.h. 2017-02-19 22:15:44 +00:00
src CON: Add getclosestcol command, which finds the closest palette index given 2017-06-24 09:20:54 +00:00
Dependencies.mak Bring the previous commit into effect. 2017-02-01 10:20:54 +00:00
gpl-2.0.txt The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00