Packs a color index and red values into a single word.
VDLEntry MakeCLUTRedEntry (uint8 index,uint8 r)
This macro takes a red color-specification argument and packs it into a single 32-bit word. The color-entry word generated by MakeCLUTRedEntry()
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
(), MakeCLUTColorEntry(), MakeCLUTGreenEntry(), MakeCLUTBlueEntry()