home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 423.lha / Talker_II / eyesII.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-10-05  |  14.3 KB  |  323 lines

  1.  
  2.                          /*=======================*/
  3.                          /*  Eyes Open, Centered  */
  4.                          /*                       */
  5.                          /*=======================*/
  6. #include "exec/exec.h"
  7. #include "intuition/intuition.h"
  8. #include "browsII.h"
  9.  
  10. UWORD eyes0_data[]={
  11. /*-------------- plane 0 ---------------*/
  12. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x87ff,0x87c7,
  13. 0xff84,0x8e00,0xc7cc,0x00c4,0x9818,0x67d8,0x1864,0x9010,
  14. 0x37d0,0x1024,0x9800,0xe7cc,0x0064,0x8000,0x0ba0,0x0004,
  15. 0x8000,0x0ba0,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  16. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  17. /*-------------- plane 1 -----------------*/
  18. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7800,0x7bb8,
  19. 0x0078,0x7183,0x3bb3,0x8338,0x6721,0x9ba7,0x2198,0x6f83,
  20. 0xcbaf,0x83d8,0x6783,0x1bb3,0x8398,0x7fff,0xf7df,0xfff8,
  21. 0x7fff,0xf7df,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  22. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  23. /*-------------- plane 2 -----------------*/
  24. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  25. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  26. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  27. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  28. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  29. /*-------------- plane 3 -----------------*/
  30. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  31. 0xfff8,0x7e7c,0xfbbc,0x7cf8,0x78c6,0x7bb8,0xc678,0x706c,
  32. 0x3bb0,0x6c38,0x787c,0xfbbc,0x7c78,0x7fff,0xf7df,0xfff8,
  33. 0x7fff,0xf7df,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  34. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  35. };
  36.  
  37.                   /* Width in WORDS= 0x3HEX....3 decimal */
  38.  
  39. struct Image eyes0_Image = {
  40.                             10,27,            /* LeftEdge, TopEdge */
  41.                             0x2e,           /* Width (in pixels) */
  42.                             0xd,            /* Height */
  43.                             0x4,            /* Depth */
  44.                             &eyes0_data[0], /* pointer to Image data */
  45.                             0xf, 0,         /* PlanePick, PlaneOnOff */
  46.                             &brow2_Image    /*pointer to next image*/
  47.                            };
  48.  
  49.  
  50.                          /*=======================*/
  51.                          /*   Eyes In Mid-Blink   */
  52.                          /*                       */
  53.                          /*=======================*/
  54.  
  55. UWORD eyes1_data[]={
  56. /*-------------- plane 0 ---------------*/
  57. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x83ff,0xc7c7,
  58. 0xff84,0x87ff,0xe7cf,0xffc4,0x8f30,0xf7de,0x19e4,0x8e30,
  59. 0x37d8,0x18e4,0x8c00,0x67cc,0x0064,0x8000,0x0ba0,0x0004,
  60. 0x8000,0x0380,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  61. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  62. /*-------------- plane 1 -----------------*/
  63. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7c00,0x3bb8,
  64. 0x0078,0x7800,0x1bb0,0x0038,0x7023,0x0ba1,0x9018,0x7103,
  65. 0xcba7,0x8118,0x7387,0x9bb3,0xc398,0x7fff,0xf7df,0xfff8,
  66. 0x7fff,0xffff,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  67. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  68. /*-------------- plane 2 -----------------*/
  69. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  70. 0x0000,0x0000,0x0000,0x0000,0x0020,0x0000,0x1000,0x0000,
  71. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  72. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  73. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  74. /*-------------- plane 3 -----------------*/
  75. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  76. 0xfff8,0x7fff,0xfbbf,0xfff8,0x7fec,0xfbbe,0x77f8,0x7ecc,
  77. 0x3bb8,0x66f8,0x7c78,0x7bbc,0x3c78,0x7fff,0xf7df,0xfff8,
  78. 0x7fff,0xffff,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  79. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  80. };
  81.  
  82. /* Width in WORDS= 0x3HEX....3 decimal */
  83.  
  84. struct Image eyes1_Image={
  85.                           10,27,            /* LeftEdge, TopEdge */
  86.                           0x2e,           /* Width (in pixels) */
  87.                           0xd,            /* Height */
  88.                           0x4,            /* Depth */
  89.                           &eyes1_data[0], /* pointer to Image data */
  90.                           0xf, 0,         /* PlanePick, PlaneOnOff */
  91.                           &brow1_Image    /*pointer to next image*/
  92.                          };
  93.  
  94.                              /*===============*/
  95.                              /*  Eyes Closed  */
  96.                              /*               */
  97.                              /*===============*/
  98.  
  99. UWORD eyes2_data[]={
  100. /*-------------- plane 0 ---------------*/
  101. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x83ff,0xc7c7,
  102. 0xff84,0x87ff,0xe7cf,0xffc4,0x8fff,0xf7df,0xffe4,0x9fff,
  103. 0xf7df,0xfff4,0x8c00,0x67ce,0x0064,0x8000,0x0ba0,0x0004,
  104. 0x8000,0x0ba0,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  105. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  106. /*-------------- plane 1 -----------------*/
  107. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7c00,0x3bb8,
  108. 0x0078,0x7800,0x1bb0,0x0038,0x7000,0x0ba0,0x0018,0x6000,
  109. 0x0ba0,0x0008,0x73ff,0x9bb1,0xff98,0x7fff,0xf7df,0xfff8,
  110. 0x7fff,0xf7df,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  111. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  112. /*-------------- plane 2 -----------------*/
  113. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  114. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  115. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  116. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  117. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  118. /*-------------- plane 3 -----------------*/
  119. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  120. 0xfff8,0x7fff,0xfbbf,0xfff8,0x7fff,0xfbbf,0xfff8,0x7fff,
  121. 0xfbbf,0xfff8,0x7fff,0xfbbf,0xfff8,0x7fff,0xf7df,0xfff8,
  122. 0x7fff,0xf7df,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  123. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  124. };
  125.  
  126. /* Width in WORDS= 0x3HEX....3 decimal */
  127.  
  128.  
  129.  
  130.  
  131. struct Image eyes2_Image={
  132.                           10,27,             /* LeftEdge, TopEdge */
  133.                           0x2e,            /* Width (in pixels) */
  134.                           0xd,             /* Height */
  135.                           0x4,             /* Depth */
  136.                           &eyes2_data[0],  /* pointer to Image data */
  137.                           0xf, 0,          /* PlanePick, PlaneOnOff */
  138.                           &brow0_Image     /*pointer to next image*/
  139.                          };
  140.  
  141.                          /*========================*/
  142.                          /*   Eyes Looking Left1   */
  143.                          /*  (viewer perspective)  */
  144.                          /*========================*/
  145.  
  146. UWORD eyes3_data[]={
  147. /*-------------- plane 0 ---------------*/
  148. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x87ff,0x87c7,
  149. 0xff84,0x8e00,0xc7cc,0x00c4,0x9860,0x67d8,0x6024,0x9060,
  150. 0x37d0,0x6014,0x9800,0xe7cc,0x0064,0x8000,0x0ba0,0x0004,
  151. 0x8000,0x0ba0,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  152. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  153. /*-------------- plane 1 -----------------*/
  154. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7800,0x7bb8,
  155. 0x0078,0x7007,0x3bb2,0x0738,0x6687,0x9ba6,0x87d8,0x6e07,
  156. 0xcbae,0x07e8,0x670f,0x1bb3,0x0f98,0x7fff,0xf7df,0xfff8,
  157. 0x7fff,0xf7df,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  158. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  159. /*-------------- plane 2 -----------------*/
  160. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  161. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  162. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  163. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  164. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  165. /*-------------- plane 3 -----------------*/
  166. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  167. 0xfff8,0x7ff8,0xfbbd,0xf8f8,0x7918,0x7bb9,0x1838,0x7198,
  168. 0x3bb1,0x9818,0x78f0,0xfbbc,0xf078,0x7fff,0xf7df,0xfff8,
  169. 0x7fff,0xf7df,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  170. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  171. };
  172.  
  173. /* Width in WORDS= 0x3HEX....3 decimal */
  174.  
  175.  
  176.  
  177.  
  178. struct Image eyes3_Image={
  179.                           10,27,            /* LeftEdge, TopEdge */
  180.                           0x2e,           /* Width (in pixels) */
  181.                           0xd,            /* Height */
  182.                           0x4,            /* Depth */
  183.                           &eyes3_data[0], /* pointer to Image data */
  184.                           0xf, 0,         /* PlanePick, PlaneOnOff */
  185.                           &brow1_Image    /* pointer to next image*/
  186.                          };
  187.  
  188.                          /*========================*/
  189.                          /*   Eyes Looking Left2   */
  190.                          /*  (viewer perspective)  */
  191.                          /*========================*/
  192.  
  193. UWORD eyes4_data[]={
  194. /*-------------- plane 0 ---------------*/
  195. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x87ff,0x87c7,
  196. 0xff84,0x8e00,0xc7cc,0x00c4,0x99c0,0x67d8,0xc024,0x90c0,
  197. 0x37d0,0xc014,0x9800,0xe7cc,0x0064,0x8000,0x0ba0,0x0004,
  198. 0x8000,0x0ba0,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  199. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  200. /*-------------- plane 1 -----------------*/
  201. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7800,0x7bb8,
  202. 0x0078,0x700f,0x3bb0,0x0f38,0x610f,0x9ba5,0x0fd8,0x6c0f,
  203. 0xcbac,0x0fe8,0x641f,0x1bb2,0x1f98,0x7fff,0xf7df,0xfff8,
  204. 0x7fff,0xf7df,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  205. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  206. /*-------------- plane 2 -----------------*/
  207. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  208. 0x0000,0x0000,0x0000,0x0000,0x0100,0x0000,0x0000,0x0000,
  209. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  210. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  211. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  212. /*-------------- plane 3 -----------------*/
  213. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  214. 0xfff8,0x7ff0,0xfbbf,0xf0f8,0x7f30,0x7bba,0x3038,0x7330,
  215. 0x3bb3,0x3018,0x7be0,0xfbbd,0xe078,0x7fff,0xf7df,0xfff8,
  216. 0x7fff,0xf7df,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  217. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  218. };
  219.  
  220. /* Width in WORDS= 0x3HEX....3 decimal */
  221.  
  222. struct Image eyes4_Image={
  223.                           10,27,            /* LeftEdge, TopEdge */
  224.                           0x2e,           /* Width (in pixels) */
  225.                           0xd,            /* Height */
  226.                           0x4,            /* Depth */
  227.                           &eyes4_data[0], /* pointer to Image data */
  228.                           0xf, 0,         /* PlanePick, PlaneOnOff */
  229.                           &brow0_Image    /* pointer to next image*/
  230.                          };
  231.  
  232.                          /*========================*/
  233.                          /*  Eyes Looking Right1   */
  234.                          /* (viewer's perspective) */
  235.                          /*========================*/
  236.  
  237. UWORD eyes5_data[]={
  238. /*-------------- plane 0 ---------------*/
  239. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x87ff,0x87c7,
  240. 0xff84,0x8e00,0xc7cc,0x00c4,0x9818,0x67d8,0x1824,0x9018,
  241. 0x37d0,0x1814,0x9800,0xe7cc,0x0064,0x8000,0x0ba0,0x0004,
  242. 0x8000,0x0ba0,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  243. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  244. /*-------------- plane 1 -----------------*/
  245. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7800,0x7bb8,
  246. 0x0078,0x7181,0x3bb3,0x8138,0x67a1,0x9ba7,0xa1d8,0x6f81,
  247. 0xcbaf,0x81e8,0x67c3,0x1bb3,0xc398,0x7fff,0xf7df,0xfff8,
  248. 0x7fff,0xf7df,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  249. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  250. /*-------------- plane 2 -----------------*/
  251. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  252. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  253. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  254. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  255. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  256. /*-------------- plane 3 -----------------*/
  257. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  258. 0xfff8,0x7e7e,0xfbbc,0x7ef8,0x7846,0x7bb8,0x4638,0x7066,
  259. 0x3bb0,0x6618,0x783c,0xfbbc,0x3c78,0x7fff,0xf7df,0xfff8,
  260. 0x7fff,0xf7df,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  261. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  262. };
  263.  
  264. /* Width in WORDS= 0x3HEX....3 decimal */
  265.  
  266. struct Image eyes5_Image={
  267.                           10,27,            /* LeftEdge, TopEdge */
  268.                           0x2e,           /* Width (in pixels) */
  269.                           0xd,            /* Height */
  270.                           0x4,            /* Depth */
  271.                           &eyes5_data[0], /* pointer to Image data */
  272.                           0xf, 0,         /* PlanePick, PlaneOnOff */
  273.                           &brow1_Image    /* pointer to next image*/
  274.                          };
  275.  
  276.                          /*========================*/
  277.                          /*  Eyes Looking Right2   */
  278.                          /* (viewer's perspective) */
  279.                          /*========================*/
  280.  
  281. UWORD eyes6_data[]={
  282. /*-------------- plane 0 ---------------*/
  283. 0xffff,0xffff,0xfffc,0xc0ff,0x07c1,0xfe0c,0x87ff,0x87c7,
  284. 0xff84,0x8e00,0xc7cc,0x00c4,0x980c,0x67d8,0x0c24,0x900c,
  285. 0x37d0,0x0c14,0x9800,0xe7cc,0x0064,0x8000,0x0ba0,0x0004,
  286. 0x8000,0x0ba0,0x0004,0x8000,0x3ff8,0x0004,0xc000,0x4fa4,
  287. 0x000c,0xf800,0x9fd2,0x003c,0xffff,0xffc7,0xfffc,
  288. /*-------------- plane 1 -----------------*/
  289. 0xc000,0x0000,0x000c,0xbf00,0xfbbe,0x01f4,0x7800,0x7bb8,
  290. 0x0078,0x71c0,0x3bb3,0xc038,0x67d0,0x9ba7,0xd0d8,0x6fc0,
  291. 0xcbaf,0xc0e8,0x67e1,0x1bb3,0xe198,0x7fff,0xf7df,0xfff8,
  292. 0x7fff,0xf7df,0xfff8,0x7fff,0xc387,0xfff8,0xbfff,0xb7db,
  293. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  294. /*-------------- plane 2 -----------------*/
  295. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  296. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  297. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  298. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  299. 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  300. /*-------------- plane 3 -----------------*/
  301. 0xc000,0x0000,0x000c,0xbfff,0xfbbf,0xfff4,0x7fff,0xfbbf,
  302. 0xfff8,0x7e3f,0xfbbc,0x3ff8,0x7823,0x7bb8,0x2338,0x7033,
  303. 0x3bb0,0x3318,0x781e,0xfbbc,0x1e78,0x7fff,0xf7df,0xfff8,
  304. 0x7fff,0xf7df,0xfff8,0x7fff,0xc7c7,0xfff8,0xbfff,0xbffb,
  305. 0xfff4,0xc7ff,0x6fed,0xffcc,0xf800,0xfffe,0x003c,
  306. };
  307.  
  308. /* Width in WORDS= 0x3HEX....3 decimal */
  309.  
  310.  
  311.  
  312.  
  313. struct Image eyes6_Image={
  314.                           10,27,            /* LeftEdge, TopEdge */
  315.                           0x2e,           /* Width (in pixels) */
  316.                           0xd,            /* Height */
  317.                           0x4,            /* Depth */
  318.                           &eyes6_data[0], /* pointer to Image data */
  319.                           0xf, 0,         /* PlanePick, PlaneOnOff */
  320.                           &brow2_Image    /* pointer to next image*/
  321.                          };
  322.  
  323.