Creates a double 3DO RGB value out of separate red, green, and blue values.
uint32 MakeRGB15Pair (r, g, b)
This macro creates a double 15-bit 3DO RGB value out of separate red, green, and blue values. The double part of the value comes from creating a 16-bit value and then merging it with a copy of itself shifted over 16 bits. The composite double RGB value this macro creates can be used as an argument to
SetVRAMPages()
, or anywhere else that the double RGB data type is required.
The r, g, and b values must all be in the range 0-31.
The macro returns a composite-double RGB15 value.
Macro implemented in graphics.h V20.
graphics.h
MakeRGB15
()