home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d523 / screenjaeger.lha / ScreenJaeger / Source / pointer.h < prev    next >
C/C++ Source or Header  |  1991-08-05  |  2KB  |  79 lines

  1. #define EXSPRITE_WIDTH 16
  2. #define EXSPRITE_HEIGHT 16
  3. #define EXSPRITE_HOTX 0
  4. #define EXSPRITE_HOTY 0
  5.  
  6. USHORT ExSprite_dat[]=  {
  7.      /*plane1  plane0 */
  8.       0x0000,  0x0000,
  9.       0x0000,  0xfc00,
  10.       0x7c00,  0xfe00,
  11.       0x7c00,  0x8600,
  12.       0x7800,  0x8c00,
  13.       0x7c00,  0x8600,
  14.       0x6e00,  0x9300,
  15.       0x0700,  0x6980,
  16.       0x0380,  0x04c0,
  17.       0x01c0,  0x0260,
  18.       0x0080,  0x0140,
  19.       0x0000,  0x0080,
  20.       0x0000,  0xe000,
  21.       0x0000,  0x8000,
  22.       0x0000,  0xca00,
  23.       0x0000,  0x8400,
  24.       0x0000,  0xea00,
  25.       0x0000,  0x0000
  26.      };
  27.  
  28. do_ExSprite(window)
  29. struct Window *window;
  30. {
  31.  ClearPointer(window);
  32.  SetPointer(window,
  33.             &ExSprite_dat,
  34.             EXSPRITE_HEIGHT,
  35.             EXSPRITE_WIDTH,
  36.             EXSPRITE_HOTX,
  37.             EXSPRITE_HOTY);
  38.  }
  39.  
  40. #define TOSPRITE_WIDTH 16
  41. #define TOSPRITE_HEIGHT 16
  42. #define TOSPRITE_HOTX 0
  43. #define TOSPRITE_HOTY 0
  44.  
  45. USHORT ToSprite_dat[]=  {
  46.      /*plane1  plane0 */
  47.       0x0000,  0x0000,
  48.       0x0000,  0xfc00,
  49.       0x7c00,  0xfe00,
  50.       0x7c00,  0x8600,
  51.       0x7800,  0x8c00,
  52.       0x7c00,  0x8600,
  53.       0x6e00,  0x9300,
  54.       0x0700,  0x6980,
  55.       0x0380,  0x04c0,
  56.       0x01c0,  0x0260,
  57.       0x0080,  0x0140,
  58.       0x0000,  0x0080,
  59.       0x0000,  0x0000,
  60.       0x0000,  0x0077,
  61.       0x0000,  0x0025,
  62.       0x0000,  0x0025,
  63.       0x0000,  0x0027,
  64.       0x0000,  0x0000
  65.      };
  66.  
  67. do_ToSprite(window)
  68. struct Window *window;
  69. {
  70.  ClearPointer(window);
  71.  SetPointer(window,
  72.             &ToSprite_dat,
  73.             TOSPRITE_HEIGHT,
  74.             TOSPRITE_WIDTH,
  75.             TOSPRITE_HOTX,
  76.             TOSPRITE_HOTY);
  77.  }
  78.  
  79.