raze/source
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
..
audiolib Fix memory leaks in audiolib. Fixes issue #59. 2017-06-19 23:06:53 +00:00
build Replace specialized swap C functions with a templatized version. 2017-06-24 09:20:46 +00:00
duke3d CON: Add getclosestcol command, which finds the closest palette index given 2017-06-24 09:20:54 +00:00
enet The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00
etcpak Bring the previous commit into effect. 2017-02-01 10:20:54 +00:00
kenbuild scale(1<<##, b, c) --> divscale##(b, c) 2017-06-24 09:20:42 +00:00
libxmp-lite Amend r6174 to un-break libxmp-lite. 2017-06-14 06:59:58 +00:00
lpeg LPeg: Necessary changes for building in our environment and with our project. See lpeg-lunatic.patch. 2017-06-09 06:39:18 +00:00
mact Fix some extern "C". 2017-06-05 10:04:56 +00:00
sw mulscale(a, b, ##) --> mulscale##(a, b) 2017-06-24 09:20:21 +00:00
tools/src Route all inclusion of libc headers and most of POSIX headers through compat.h. 2017-02-25 08:15:36 +00:00