Added comment for blending LUT
This commit is contained in:
parent
d043ce633d
commit
2acc7edb6f
|
@ -16,6 +16,8 @@ WITH REGARD TO THIS SOFTWARE.
|
||||||
|
|
||||||
UxnScreen uxn_screen;
|
UxnScreen uxn_screen;
|
||||||
|
|
||||||
|
/* c = !ch ? (color % 5 ? color >> 2 : 0) : color % 4 + ch == 1 ? 0 : (ch - 2 + (color & 3)) % 3 + 1; */
|
||||||
|
|
||||||
static Uint8 blending[4][16] = {
|
static Uint8 blending[4][16] = {
|
||||||
{0, 0, 0, 0, 1, 0, 1, 1, 2, 2, 0, 2, 3, 3, 3, 0},
|
{0, 0, 0, 0, 1, 0, 1, 1, 2, 2, 0, 2, 3, 3, 3, 0},
|
||||||
{0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3},
|
{0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3},
|
||||||
|
|
Loading…
Reference in New Issue