Sets a color in the 3DO system's palette.
Err SetScreenColor (Item screenItem,int32 colorEntry)
This call sets a color in the palette of the screen specified by the screenItem argument.
The colorEntry argument is a packed color value containing an index and individual red, green, and blue components. Each of the four components in the colorEntry argument consists of 1 byte of the 4-byte word. The index is the high-order byte, followed by bytes of red, green, and blue, with the blue value in the low-order byte. The colorEntry argument can be constructed using the MakeCLUTColorEntry()
macro.
The call returns 0 if successful or an error code (a negative value) if an error occurs.
GRAFERR_INDEXRANGE is returned if the index value in the color entry is larger than 32.
Folio call implemented in Graphics folio V20.
graphics.h, graphics.lib
MakeCLUTColorEntry
()