Tlut2.h
946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Test texture lookup table, TLUT is 48 entries RGBA
* 5-bit ramp in R/G/B
*/
#ifndef TLUT2_INCLD
#define TLUT2_INCLD
unsigned short Tlut2[] = {
0x0001,
(1 << 11) | 1,
(2 << 11) | 1,
(3 << 11) | 1,
(4 << 11) | 1,
(5 << 11) | 1,
(6 << 11) | 1,
(7 << 11) | 1,
(8 << 11) | 1,
(9 << 11) | 1,
(10 << 11) | 1,
(11 << 11) | 1,
(12 << 11) | 1,
(13 << 11) | 1,
(14 << 11) | 1,
(15 << 11) | 1,
0x0001,
(1 << 6) | 1,
(2 << 6) | 1,
(3 << 6) | 1,
(4 << 6) | 1,
(5 << 6) | 1,
(6 << 6) | 1,
(7 << 6) | 1,
(8 << 6) | 1,
(9 << 6) | 1,
(10 << 6) | 1,
(11 << 6) | 1,
(12 << 6) | 1,
(13 << 6) | 1,
(14 << 6) | 1,
(15 << 6) | 1,
0x0001,
(1 << 1) | 1,
(2 << 1) | 1,
(3 << 1) | 1,
(4 << 1) | 1,
(5 << 1) | 1,
(6 << 1) | 1,
(7 << 1) | 1,
(8 << 1) | 1,
(9 << 1) | 1,
(10 << 1) | 1,
(11 << 1) | 1,
(12 << 1) | 1,
(13 << 1) | 1,
(14 << 1) | 1,
(15 << 1) | 1,
};
#endif /* TLUT2_INCLD */