Packs a color index and red, green, and blue values into a single word.
VDLEntry MakeCLUTColorEntry (uint8 index,uint8 r, uint8g,uint8 b)
This macro takes four color-specification arguments and packs them together into a single 32-bit word. The color-entry word generated by MakeCLUTColorEntry()
can be passed to calls such as SetScreenColor()
which require this kind of argument.
The macro returns a 32-bit color entry value.
Macro implemented in graphics.h V20.
graphics.h
SetScreenColor
(),MakeCLUTGreenEntry(), MakeCLUTRedEntry(), MakeCLUTBlueEntry()