home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 373.lha / route_v1.0 / src / bitblt1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-25  |  937 b   |  67 lines

  1. /* hole templates */
  2. /* NOTE: these templates are UPSIDE-DOWN from what you see on the screen!!! */
  3.  
  4. /*
  5.  * hole templates
  6.  */
  7.  
  8. USHORT Hole0[] = {
  9.     0x0000,
  10.     0x4000,
  11.     0x0000
  12. };
  13.  
  14. USHORT Hole1[] = {
  15.     0x0000,
  16.     0x3000,
  17.     0x4800,
  18.     0x4800,
  19.     0x3000,
  20.     0x0000
  21. };
  22.  
  23. USHORT Hole2[] = {
  24.     0x0000,
  25.     0x0000,
  26.     0x0c00,
  27.     0x1200,
  28.     0x2100,
  29.     0x2100,
  30.     0x1200,
  31.     0x0c00,
  32.     0x0000,
  33.     0x0000
  34. };
  35.  
  36. USHORT Hole3[] = {
  37.     0x0000, 0x0000,
  38.     0x0000, 0x0000,
  39.     0x0000, 0x0000,
  40.     0x0000, 0x0000,
  41.     0x03f0, 0x0000,
  42.     0x0408, 0x0000,
  43.     0x0804, 0x0000,
  44.     0x0804, 0x0000,
  45.     0x0804, 0x0000,
  46.     0x0804, 0x0000,
  47.     0x0804, 0x0000,
  48.     0x0804, 0x0000,
  49.     0x0408, 0x0000,
  50.     0x03f0, 0x0000,
  51.     0x0000, 0x0000,
  52.     0x0000, 0x0000,
  53.     0x0000, 0x0000,
  54.     0x0000, 0x0000
  55. };
  56.  
  57. struct templates y1[] = {
  58.     {
  59.         HOLE, {
  60.             { 0, 0, ZOOM0, ZOOM0, 1, Hole0, 7, 0, NULL },
  61.             { 0, 0, ZOOM1, ZOOM1, 1, Hole1, 7, 0, NULL },
  62.             { 0, 0, ZOOM2, ZOOM2, 1, Hole2, 7, 0, NULL },
  63.             { 0, 0, ZOOM3, ZOOM3, 1, Hole3, 7, 0, NULL },
  64.         }
  65.     }
  66. };
  67.