home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
174.lha
/
BezSurf
/
graypat.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-04-28
|
872b
|
45 lines
#include <exec/types.h>
/*
* a set of gray scales so we can pretend to have a few more colors
* (hopefully, 8 times as many)
* derived from a set of files by Karl Kashinsky
*/
UWORD GrayPat[9][4] = {
{
0x0000, 0x0000, 0x0000, 0x0000
},
{
0x8080, 0x0202, 0x4040, 0x1010
},
{
0xaaaa, 0x0000, 0x5555, 0x0000
},
{
0xA2A2, 0x1515, 0xA8A8, 0x4545
},
{
0xAAAA, 0x5555, 0xAAAA, 0x5555
},
{
0x7777, 0xDDDD, 0xBBBB, 0xEEEE
},
{
0xAAAA, 0xffff, 0x5555, 0xffff
},
{
0x7F7F, 0xFDFD, 0xBFBF, 0xEFEF
},
{
0xffff, 0xffff, 0xffff, 0xffff
}
};