home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d170 / surf.lha / Surf / src / graypat.c < prev    next >
C/C++ Source or Header  |  1988-11-22  |  872b  |  45 lines

  1. #include <exec/types.h>
  2. /*
  3.  * a set of gray scales so we can pretend to have a few more colors
  4.  * (hopefully, 8 times as many)
  5.  * derived from a set of files by Karl Kashinsky
  6.  */
  7. UWORD GrayPat[9][4] = {
  8.     {
  9.         0x0000,        0x0000,        0x0000,        0x0000
  10.     },
  11.  
  12.     {
  13.         0x8080,        0x0202,        0x4040,        0x1010
  14.     },
  15.  
  16.     {
  17.         0xaaaa,        0x0000,        0x5555,        0x0000
  18.     },
  19.  
  20.     {
  21.         0xA2A2,        0x1515,        0xA8A8,        0x4545
  22.     },
  23.  
  24.     {
  25.         0xAAAA,        0x5555,        0xAAAA,        0x5555
  26.     },
  27.  
  28.     {
  29.         0x7777,        0xDDDD,        0xBBBB,        0xEEEE
  30.     },
  31.  
  32.     {
  33.         0xAAAA,        0xffff,        0x5555,        0xffff
  34.     },
  35.  
  36.     {
  37.         0x7F7F,        0xFDFD,        0xBFBF,        0xEFEF
  38.     },
  39.  
  40.     {
  41.         0xffff,        0xffff,        0xffff,        0xffff
  42.     }
  43. };
  44.  
  45.