Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AlphaPalette.cpp
Go to the documentation of this file.
1 #include "stdafx.h"
2 
3 PALETTEENTRY standard_palette[256] = {
4  { 0, 0, 0, 0 },
5  { 128, 0, 0, 0 },
6  { 0, 128, 0, 0 },
7  { 128, 128, 0, 0 },
8  { 0, 0, 128, 0 },
9  { 128, 0, 128, 0 },
10  { 0, 128, 128, 0 },
11  { 192, 192, 192, 0 },
12  { 192, 220, 192, 0 },
13  { 166, 202, 240, 0 },
14  { 186, 172, 189, 0 },
15  { 167, 147, 172, 0 },
16  { 143, 129, 148, 0 },
17  { 122, 107, 126, 0 },
18  { 100, 87, 104, 0 },
19  { 55, 49, 57, 0 },
20  { 247, 247, 247, 0 },
21  { 240, 240, 240, 0 },
22  { 232, 232, 232, 0 },
23  { 225, 225, 225, 0 },
24  { 217, 217, 217, 0 },
25  { 210, 210, 210, 0 },
26  { 202, 202, 202, 0 },
27  { 195, 195, 195, 0 },
28  { 188, 188, 188, 0 },
29  { 180, 180, 180, 0 },
30  { 173, 173, 173, 0 },
31  { 165, 165, 165, 0 },
32  { 158, 158, 158, 0 },
33  { 150, 150, 150, 0 },
34  { 143, 143, 143, 0 },
35  { 136, 136, 136, 0 },
36  { 128, 128, 128, 0 },
37  { 121, 121, 121, 0 },
38  { 113, 113, 113, 0 },
39  { 106, 106, 106, 0 },
40  { 98, 98, 98, 0 },
41  { 91, 91, 91, 0 },
42  { 83, 83, 83, 0 },
43  { 76, 76, 76, 0 },
44  { 69, 69, 69, 0 },
45  { 61, 61, 61, 0 },
46  { 54, 54, 54, 0 },
47  { 42, 42, 42, 0 },
48  { 31, 31, 31, 0 },
49  { 21, 21, 21, 0 },
50  { 10, 10, 10, 0 },
51  { 5, 5, 5, 0 },
52  { 149, 149, 234, 0 },
53  { 134, 134, 227, 0 },
54  { 117, 117, 223, 0 },
55  { 104, 104, 215, 0 },
56  { 87, 87, 210, 0 },
57  { 70, 70, 206, 0 },
58  { 49, 49, 185, 0 },
59  { 45, 45, 168, 0 },
60  { 36, 36, 134, 0 },
61  { 31, 31, 118, 0 },
62  { 27, 27, 101, 0 },
63  { 22, 22, 84, 0 },
64  { 18, 18, 67, 0 },
65  { 13, 13, 51, 0 },
66  { 9, 9, 34, 0 },
67  { 4, 4, 17, 0 },
68  { 159, 191, 223, 0 },
69  { 143, 181, 218, 0 },
70  { 128, 170, 213, 0 },
71  { 112, 159, 207, 0 },
72  { 96, 149, 202, 0 },
73  { 85, 138, 191, 0 },
74  { 69, 128, 186, 0 },
75  { 68, 117, 166, 0 },
76  { 62, 106, 151, 0 },
77  { 55, 96, 136, 0 },
78  { 53, 85, 117, 0 },
79  { 47, 74, 102, 0 },
80  { 43, 64, 85, 0 },
81  { 35, 53, 71, 0 },
82  { 29, 43, 56, 0 },
83  { 21, 32, 43, 0 },
84  { 184, 190, 199, 0 },
85  { 171, 182, 190, 0 },
86  { 159, 169, 181, 0 },
87  { 148, 162, 171, 0 },
88  { 136, 150, 162, 0 },
89  { 123, 138, 153, 0 },
90  { 112, 128, 143, 0 },
91  { 102, 118, 132, 0 },
92  { 92, 105, 120, 0 },
93  { 86, 97, 105, 0 },
94  { 77, 85, 94, 0 },
95  { 67, 74, 82, 0 },
96  { 57, 66, 70, 0 },
97  { 48, 53, 58, 0 },
98  { 38, 44, 47, 0 },
99  { 29, 32, 35, 0 },
100  { 154, 228, 154, 0 },
101  { 137, 224, 137, 0 },
102  { 120, 220, 120, 0 },
103  { 112, 207, 112, 0 },
104  { 96, 202, 96, 0 },
105  { 80, 197, 80, 0 },
106  { 64, 191, 64, 0 },
107  { 58, 175, 77, 0 },
108  { 53, 159, 67, 0 },
109  { 48, 143, 63, 0 },
110  { 43, 128, 64, 0 },
111  { 37, 112, 56, 0 },
112  { 32, 96, 50, 0 },
113  { 27, 80, 43, 0 },
114  { 21, 64, 33, 0 },
115  { 16, 48, 27, 0 },
116  { 186, 204, 179, 0 },
117  { 175, 194, 167, 0 },
118  { 164, 184, 156, 0 },
119  { 152, 174, 145, 0 },
120  { 140, 167, 131, 0 },
121  { 130, 157, 119, 0 },
122  { 119, 148, 107, 0 },
123  { 111, 136, 98, 0 },
124  { 99, 124, 88, 0 },
125  { 88, 112, 80, 0 },
126  { 81, 97, 73, 0 },
127  { 70, 84, 65, 0 },
128  { 61, 73, 54, 0 },
129  { 51, 61, 46, 0 },
130  { 40, 48, 37, 0 },
131  { 30, 36, 28, 0 },
132  { 209, 191, 173, 0 },
133  { 202, 181, 159, 0 },
134  { 191, 170, 149, 0 },
135  { 183, 159, 136, 0 },
136  { 175, 149, 122, 0 },
137  { 167, 138, 109, 0 },
138  { 159, 128, 96, 0 },
139  { 147, 117, 87, 0 },
140  { 129, 106, 84, 0 },
141  { 116, 96, 75, 0 },
142  { 103, 85, 67, 0 },
143  { 90, 73, 58, 0 },
144  { 78, 64, 50, 0 },
145  { 64, 53, 43, 0 },
146  { 51, 43, 34, 0 },
147  { 38, 32, 26, 0 },
148  { 209, 196, 173, 0 },
149  { 202, 186, 159, 0 },
150  { 191, 175, 149, 0 },
151  { 183, 169, 136, 0 },
152  { 175, 159, 122, 0 },
153  { 167, 150, 109, 0 },
154  { 159, 140, 96, 0 },
155  { 143, 128, 90, 0 },
156  { 131, 119, 82, 0 },
157  { 116, 106, 75, 0 },
158  { 103, 95, 67, 0 },
159  { 90, 83, 58, 0 },
160  { 78, 70, 50, 0 },
161  { 64, 60, 43, 0 },
162  { 51, 48, 34, 0 },
163  { 38, 36, 26, 0 },
164  { 255, 255, 170, 0 },
165  { 255, 255, 128, 0 },
166  { 255, 244, 106, 0 },
167  { 249, 232, 113, 0 },
168  { 255, 213, 43, 0 },
169  { 255, 197, 21, 0 },
170  { 255, 186, 43, 0 },
171  { 255, 175, 43, 0 },
172  { 255, 150, 21, 0 },
173  { 255, 143, 32, 0 },
174  { 244, 111, 11, 0 },
175  { 215, 92, 19, 0 },
176  { 190, 72, 22, 0 },
177  { 168, 60, 23, 0 },
178  { 146, 39, 24, 0 },
179  { 128, 27, 21, 0 },
180  { 244, 244, 138, 0 },
181  { 242, 242, 119, 0 },
182  { 248, 248, 92, 0 },
183  { 240, 240, 100, 0 },
184  { 247, 247, 72, 0 },
185  { 239, 239, 80, 0 },
186  { 237, 237, 61, 0 },
187  { 236, 236, 40, 0 },
188  { 235, 235, 20, 0 },
189  { 215, 215, 19, 0 },
190  { 194, 194, 18, 0 },
191  { 175, 175, 16, 0 },
192  { 156, 156, 14, 0 },
193  { 136, 136, 13, 0 },
194  { 117, 117, 11, 0 },
195  { 98, 98, 9, 0 },
196  { 215, 183, 168, 0 },
197  { 211, 170, 150, 0 },
198  { 205, 157, 135, 0 },
199  { 199, 148, 120, 0 },
200  { 193, 135, 104, 0 },
201  { 187, 123, 89, 0 },
202  { 174, 109, 70, 0 },
203  { 151, 96, 62, 0 },
204  { 128, 83, 53, 0 },
205  { 105, 68, 44, 0 },
206  { 143, 239, 239, 0 },
207  { 124, 237, 237, 0 },
208  { 106, 234, 234, 0 },
209  { 87, 232, 232, 0 },
210  { 70, 227, 227, 0 },
211  { 47, 230, 230, 0 },
212  { 32, 223, 223, 0 },
213  { 29, 205, 205, 0 },
214  { 26, 176, 176, 0 },
215  { 20, 150, 150, 0 },
216  { 17, 121, 121, 0 },
217  { 13, 94, 94, 0 },
218  { 223, 32, 223, 0 },
219  { 204, 30, 204, 0 },
220  { 186, 27, 186, 0 },
221  { 168, 23, 168, 0 },
222  { 149, 21, 149, 0 },
223  { 131, 18, 131, 0 },
224  { 112, 16, 112, 0 },
225  { 94, 13, 94, 0 },
226  { 74, 11, 74, 0 },
227  { 56, 7, 56, 0 },
228  { 249, 91, 91, 0 },
229  { 248, 80, 80, 0 },
230  { 247, 68, 68, 0 },
231  { 247, 55, 55, 0 },
232  { 247, 43, 43, 0 },
233  { 245, 31, 31, 0 },
234  { 244, 19, 19, 0 },
235  { 240, 11, 11, 0 },
236  { 228, 10, 10, 0 },
237  { 217, 9, 9, 0 },
238  { 204, 9, 9, 0 },
239  { 192, 7, 7, 0 },
240  { 180, 7, 7, 0 },
241  { 168, 6, 6, 0 },
242  { 156, 5, 5, 0 },
243  { 145, 4, 4, 0 },
244  { 131, 5, 5, 0 },
245  { 118, 5, 5, 0 },
246  { 106, 4, 4, 0 },
247  { 94, 4, 4, 0 },
248  { 80, 5, 5, 0 },
249  { 66, 6, 6, 0 },
250  { 53, 6, 6, 0 },
251  { 41, 5, 5, 0 },
252  { 128, 128, 128, 0 },
253  { 255, 0, 0, 0 },
254  { 0, 255, 0, 0 },
255  { 255, 255, 0, 0 },
256  { 0, 0, 255, 0 },
257  { 255, 0, 255, 0 },
258  { 0, 255, 255, 0 },
259  { 255, 255, 255, 0 },
260 };