home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 21 / af021.adf / demo.h < prev    next >
C/C++ Source or Header  |  1978-06-12  |  18KB  |  441 lines

  1. /* demo.h  header details to be included with demo.c */
  2.  
  3. #include <general.h>
  4.  
  5. struct NewScreen NewScreen = {
  6.  
  7.    0,0,           /* top left */
  8.  
  9.    SCREENWIDTH,SCREENHEIGHT, /* width and height */ 
  10.  
  11.    SCREENPLANES, /* depth, number of bitplanes */ 
  12.  
  13.    2,4,          /* detail and block pens */
  14.  
  15.    SPRITES,          /* ViewModes */
  16.  
  17.    CUSTOMSCREEN, 
  18.  
  19.    NULL,          /* Accept Default Font */
  20.  
  21.    NULL,          /* No Title */
  22.  
  23.    NULL,          /* No Gadgets */
  24.  
  25.    NULL,          /* Let Intuition do bitmap */
  26.  
  27. };
  28.  
  29. struct NewWindow NewWindow = {
  30.  
  31.    0,0,   /* window XY origin relative to TopLeft of screen */
  32.  
  33.    SCREENWIDTH,SCREENHEIGHT, /* window width and height */
  34.  
  35.    -1,-1,   /* detail and block pens same as screen */
  36.  
  37.    NULL,   /* IDCMP flags */
  38.  
  39.    RMBTRAP+SMART_REFRESH+BORDERLESS+ACTIVATE, /* window flags */
  40.  
  41.    NULL,   /* first gadget in gadget list */
  42.  
  43.    NULL,   /* custom CHECKMARK imagery */
  44.  
  45.    NULL,   /* window title */
  46.  
  47.    NULL,   /* custom screen - resource handler sets this up */
  48.  
  49.    NULL,   /* custom bitmap */
  50.  
  51.    0,0, /* minimum width and height */
  52.  
  53.    0,0, /* maximum width and height */
  54.  
  55.    CUSTOMSCREEN   /* destination screen type */
  56.  
  57. };
  58.  
  59.  
  60. #define  OPEN_INTUITION_LIBRARY    1              
  61.  
  62. #define  OPEN_GRAPHICS_LIBRARY     2       
  63.  
  64. #define  OPEN_CUSTOM_SCREEN        3   
  65.  
  66. #define  OPEN_WINDOW               4
  67.  
  68. #define  GET_SPRITE                5
  69.  
  70. #define  INSTALL_SPRITE            6
  71.  
  72. #define  CREATE_REPLY_PORT1        7
  73.  
  74. #define  CREATE_REQUEST_BLOCK1     8
  75.  
  76. #define  OPEN_GAMEPORT_DEVICE      9
  77.  
  78. #define  SET_CONTROLLER_TYPE      10
  79.  
  80. #define  SET_GAMEPORT_TRIGGER     11
  81.  
  82.  
  83. UBYTE g_resource_vector[12] = {11,    /* count of labels to follow */
  84.  
  85.                             OPEN_INTUITION_LIBRARY,
  86.  
  87.                             OPEN_GRAPHICS_LIBRARY,
  88.  
  89.                             OPEN_CUSTOM_SCREEN,
  90.  
  91.                             OPEN_WINDOW,
  92.  
  93.                             GET_SPRITE,
  94.  
  95.                             INSTALL_SPRITE,
  96.  
  97.                             CREATE_REPLY_PORT1,
  98.  
  99.                             CREATE_REQUEST_BLOCK1,
  100.  
  101.                             OPEN_GAMEPORT_DEVICE,  
  102.  
  103.                             SET_CONTROLLER_TYPE,
  104.  
  105.                             SET_GAMEPORT_TRIGGER
  106.  
  107.                            };
  108.  
  109. /* ************************ COLOUR TABLE ********************************* */
  110.  
  111. USHORT colourtable[] = {
  112.  
  113.     0x0000,    /* color #0 */
  114.     0x0FFF,    /* color #1 */
  115.     0x0DDD,    /* color #2 */
  116.     0x0BBB,    /* color #3 */
  117.     0x0999,    /* color #4 */
  118.     0x0777,    /* color #5 */
  119.     0x0555,    /* color #6 */
  120.     0x0333,    /* color #7 */
  121.     0x0048,    /* color #8 */
  122.     0x0027,    /* color #9 */
  123.     0x0015,    /* color #10 */
  124.     0x0004,    /* color #11 */
  125.     0x0C7D,    /* color #12 */
  126.     0x0B4C,    /* color #13 */
  127.     0x0A3B,    /* color #14 */
  128.     0x091A,    /* color #15 */
  129.     0x0809,    /* color #16 */
  130.     0x0708,    /* ---- color #17 */
  131.     0x0607,    /* ---- color #18 */
  132.     0x0506,    /* ---- color #19 */
  133.     0x0405,    /* color #20 */
  134.     0x0304,    /* ---- color #21 */
  135.     0x0202,    /* ---- color #22 */
  136.     0x000,    /* ---- color #23 */
  137.     0x0FF0,    /* color #24 */
  138.     0x0EA0,    /* ---- color #25 */
  139.     0x0C60,    /* ---- color #26 */
  140.     0x0931,    /* ---- color #27 */
  141.     0x009F,    /* color #28 */
  142.     0x0039,    /* ---- color #29 */
  143.     0x0004,    /* ---- color #30 */
  144.     0x0F00    /* ---- color #31 */
  145. };
  146.  
  147. /* ***************** GAMEPORT TRIGGER PARAMETERS ************************* */
  148.  
  149. struct GamePortTrigger gameport_trigger = {
  150.  
  151. GPTF_UPKEYS+GPTF_DOWNKEYS, /* upward and downward button transitions */
  152. 1000,  /*  50 x 20 is 20 second PAL timeout */
  153. 1,1, /* amount of x and y movements that will generate an event */
  154. };
  155.  
  156. /* **************************** SPRITE DATA ****************************** */
  157. UWORD chip sprite_data[] =
  158.  
  159. {
  160.  
  161. 0,0,
  162.  
  163. 0x0990,0x07E0,
  164. 0x13C8,0x0FF0,
  165. 0x23C4,0x1FF8,
  166. 0x13C8,0x0FF0,
  167. 0x0990,0x07E0,
  168. 0x0990,0x07E0,
  169. 0x13C8,0x0FF0,
  170. 0x23C4,0x1FF8,
  171. 0x13C8,0x0FF0,
  172. 0x0990,0x07E0,
  173. 0x0990,0x07E0,
  174. 0x13C8,0x0FF0,
  175. 0x23C4,0x1FF8,
  176. 0x13C8,0x0FF0,
  177. 0x0990,0x07E0,
  178.  
  179. 0,0
  180.  
  181. };
  182.  
  183. /* *********************************************************************** */
  184.  
  185.  
  186. USHORT chip my_name_image_data[] = {
  187.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  188.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  189.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  190.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  191.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  192.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  193.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x078F,0xD05F,
  194.     0x9E1F,0xC007,0x9F9F,0x8FCF,0xDFC0,0x1F1F,0xD047,0x001F,
  195.     0x9860,0x1F83,0x0CDE,0x0007,0x187F,0xDF83,0x0300,0x0000,
  196.     0x0CC3,0x18CC,0xCC0C,0xC00C,0xCCCC,0xC30B,0x4CC0,0x0D8C,
  197.     0xD8CD,0x800C,0xD860,0x0CC7,0x8CCC,0x000D,0x986C,0xCCC7,
  198.     0x8780,0x0000,0x0E03,0x1DCC,0xCC0C,0x000E,0x0CCC,0xC303,
  199.     0x0C00,0x0CCC,0x1DD8,0xC00C,0xCCC0,0x0CC7,0x8CCC,0x0018,
  200.     0xCCCC,0x0CC7,0x8780,0x0000,0x0703,0x1FCF,0x8C0F,0x0007,
  201.     0x0F8F,0x8303,0x0F00,0x0CCF,0x1FD8,0xC00F,0x8780,0x0F8C,
  202.     0xCCCC,0x0018,0xCCCF,0x0F8C,0xCCC0,0x0000,0x01C3,0x1ACC,
  203.     0x0C4C,0x0001,0xCC0D,0x8303,0x0C00,0x0CCC,0x1AD8,0xC00C,
  204.     0xC300,0x0C0F,0xCCCC,0x4018,0xC78C,0x0D8F,0xCFC0,0x0000,
  205.     0x0CC3,0x18CC,0x0CCC,0xC00C,0xCC0C,0xC303,0x0CC0,0x0D8C,
  206.     0xD8CD,0x800C,0xC300,0x0C18,0x6CCC,0xC00D,0x878C,0xCCD8,
  207.     0x7860,0x0000,0x078F,0xD8DE,0x1FDF,0xC007,0x9E1C,0x6FC7,
  208.     0x9FC0,0x1F1F,0xD8C7,0x001F,0x8780,0x1E18,0x67DF,0xC007,
  209.     0x031F,0xDC78,0x7860,0x0000,0x0000,0x0000,0x0000,0x0000,
  210.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  211.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  212.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  213.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  214.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  215.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  216.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  217.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  218.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  219.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  220.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0199,
  221.     0xF9F8,0x03C3,0xFBF9,0xF803,0xF9FB,0xF3F8,0x03F1,0x99F9,
  222.     0xF8E3,0x1801,0xF8E0,0x00E1,0x99F9,0xF800,0x0000,0x0000,
  223.     0x0000,0x0198,0x6168,0x0181,0x9999,0x6801,0x9861,0x9998,
  224.     0x0199,0x9969,0x69B3,0x9801,0x69B0,0x01B1,0x9861,0x6800,
  225.     0x0000,0x0000,0x0000,0x0198,0x6060,0x0181,0x8180,0x6001,
  226.     0x8061,0x9980,0x0199,0x9860,0x631B,0xD800,0x6318,0x0319,
  227.     0x9860,0x6000,0x0000,0x0000,0x0000,0x01F8,0x6060,0x0181,
  228.     0xE1E0,0x6001,0xE061,0xF1E0,0x01F1,0x9860,0x631B,0x7800,
  229.     0x6318,0x0319,0x9860,0x6000,0x0000,0x0000,0x0000,0x0198,
  230.     0x6060,0x0189,0x8180,0x6001,0x8061,0xB180,0x0199,0x9860,
  231.     0x631B,0x3800,0x6318,0x0319,0x9860,0x6000,0x0000,0x0000,
  232.     0x0000,0x0198,0x6060,0x0199,0x9980,0x6001,0x8061,0x9998,
  233.     0x0199,0x9860,0x61B3,0x1800,0x61B0,0x01B1,0x9860,0x6000,
  234.     0x0000,0x0000,0x0000,0x0199,0xF8F0,0x03FB,0xFBC0,0xF003,
  235.     0xC1FB,0x8FF8,0x03F0,0xF8F0,0xF0E3,0x1800,0xF0E0,0x00F0,
  236.     0xF9F8,0xF000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  237.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  238.     0x0000,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  239.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  240.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  241.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  242.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  243.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  244.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  245.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  246.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  247.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  248.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  249.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  250.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  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,0x0040,0x2820,0x4100,0x2000,
  255.     0x4040,0x4020,0x2020,0x0080,0x2820,0x8000,0x4410,0x0040,
  256.     0x8221,0x0000,0x8400,0x2040,0x8080,0x0000,0x0220,0x8422,
  257.     0x2202,0x2002,0x2222,0x2084,0xA220,0x0242,0x2422,0x4002,
  258.     0x2410,0x0220,0x4222,0x0002,0x4412,0x2220,0x4040,0x0000,
  259.     0x0100,0x8222,0x2202,0x0001,0x0222,0x2080,0x8200,0x0222,
  260.     0x0224,0x2002,0x2220,0x0220,0x4222,0x0004,0x2222,0x0220,
  261.     0x4040,0x0000,0x0080,0x8020,0x4200,0x8000,0x8040,0x4080,
  262.     0x8080,0x0220,0x8024,0x2000,0x4040,0x0042,0x2222,0x0004,
  263.     0x2220,0x8042,0x2220,0x0000,0x0020,0x8522,0x0222,0x0000,
  264.     0x2202,0x4080,0x8200,0x0222,0x0524,0x2002,0x2080,0x0200,
  265.     0x2222,0x2004,0x2042,0x0240,0x2020,0x0000,0x0220,0x8422,
  266.     0x0222,0x2002,0x2202,0x2080,0x8220,0x0242,0x2422,0x4002,
  267.     0x2080,0x0204,0x1222,0x2002,0x4042,0x2224,0x0410,0x0000,
  268.     0x0040,0x2421,0x0020,0x2000,0x4102,0x1020,0x4020,0x0080,
  269.     0x2420,0x8000,0x4040,0x0104,0x1020,0x2000,0x8080,0x2204,
  270.     0x0410,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  271.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  272.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  273.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  274.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  275.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  276.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  277.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  278.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  279.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  280.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  281.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0044,0x0404,0x0020,
  282.     0x0404,0x0400,0x0404,0x0804,0x0008,0x4404,0x0410,0x8400,
  283.     0x0410,0x0010,0x4404,0x0400,0x0000,0x0000,0x0000,0x0044,
  284.     0x1094,0x0040,0x4444,0x9400,0x4410,0x4444,0x0044,0x4494,
  285.     0x9448,0x4400,0x9448,0x0048,0x4410,0x9400,0x0000,0x0000,
  286.     0x0000,0x0044,0x1010,0x0040,0x4040,0x1000,0x4010,0x4440,
  287.     0x0044,0x4410,0x1084,0x2400,0x1084,0x0084,0x4410,0x1000,
  288.     0x0000,0x0000,0x0000,0x0004,0x1010,0x0040,0x1010,0x1000,
  289.     0x1010,0x0810,0x0008,0x4410,0x1084,0x8400,0x1084,0x0084,
  290.     0x4410,0x1000,0x0000,0x0000,0x0000,0x0044,0x1010,0x0044,
  291.     0x4040,0x1000,0x4010,0x4840,0x0044,0x4410,0x1084,0x8400,
  292.     0x1084,0x0084,0x4410,0x1000,0x0000,0x0000,0x0000,0x0044,
  293.     0x1010,0x0044,0x4440,0x1000,0x4010,0x4444,0x0044,0x4410,
  294.     0x1048,0x8400,0x1048,0x0048,0x4410,0x1000,0x0000,0x0000,
  295.     0x0000,0x0044,0x0408,0x0004,0x0420,0x0800,0x2004,0x4004,
  296.     0x0008,0x0408,0x0810,0x8400,0x0810,0x0008,0x0404,0x0800,
  297.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  298.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0004,
  299.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  300.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  301.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  302.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  303.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  304.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  305.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  306.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  307.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  308.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  309.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  310.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  311.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  312.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  313.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  314.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  315.     0x0000,0x0000,0x0040,0x2820,0x4100,0x2000,0x4040,0x4020,
  316.     0x2020,0x0080,0x2820,0x8000,0x4410,0x0040,0x8221,0x0000,
  317.     0x8400,0x2040,0x8080,0x0000,0x0220,0x8422,0x2202,0x2002,
  318.     0x2222,0x2084,0xA220,0x0242,0x2422,0x4002,0x2410,0x0220,
  319.     0x4222,0x0002,0x4412,0x2220,0x4040,0x0000,0x0100,0x8222,
  320.     0x2202,0x0001,0x0222,0x2080,0x8200,0x0222,0x0224,0x2002,
  321.     0x2220,0x0220,0x4222,0x0004,0x2222,0x0220,0x4040,0x0000,
  322.     0x0080,0x8020,0x4200,0x8000,0x8040,0x4080,0x8080,0x0220,
  323.     0x8024,0x2000,0x4040,0x0042,0x2222,0x0004,0x2220,0x8042,
  324.     0x2220,0x0000,0x0020,0x8522,0x0222,0x0000,0x2202,0x4080,
  325.     0x8200,0x0222,0x0524,0x2002,0x2080,0x0200,0x2222,0x2004,
  326.     0x2042,0x0240,0x2020,0x0000,0x0220,0x8422,0x0222,0x2002,
  327.     0x2202,0x2080,0x8220,0x0242,0x2422,0x4002,0x2080,0x0204,
  328.     0x1222,0x2002,0x4042,0x2224,0x0410,0x0000,0x0040,0x2421,
  329.     0x0020,0x2000,0x4102,0x1020,0x4020,0x0080,0x2420,0x8000,
  330.     0x4040,0x0104,0x1020,0x2000,0x8080,0x2204,0x0410,0x0000,
  331.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  332.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  333.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  334.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  335.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  336.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  337.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  338.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  339.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  340.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  341.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  342.     0x0000,0x0000,0x0000,0x0044,0x0404,0x0020,0x0404,0x0400,
  343.     0x0404,0x0804,0x0008,0x4404,0x0410,0x8400,0x0410,0x0010,
  344.     0x4404,0x0400,0x0000,0x0000,0x0000,0x0044,0x1094,0x0040,
  345.     0x4444,0x9400,0x4410,0x4444,0x0044,0x4494,0x9448,0x4400,
  346.     0x9448,0x0048,0x4410,0x9400,0x0000,0x0000,0x0000,0x0044,
  347.     0x1010,0x0040,0x4040,0x1000,0x4010,0x4440,0x0044,0x4410,
  348.     0x1084,0x2400,0x1084,0x0084,0x4410,0x1000,0x0000,0x0000,
  349.     0x0000,0x0004,0x1010,0x0040,0x1010,0x1000,0x1010,0x0810,
  350.     0x0008,0x4410,0x1084,0x8400,0x1084,0x0084,0x4410,0x1000,
  351.     0x0000,0x0000,0x0000,0x0044,0x1010,0x0044,0x4040,0x1000,
  352.     0x4010,0x4840,0x0044,0x4410,0x1084,0x8400,0x1084,0x0084,
  353.     0x4410,0x1000,0x0000,0x0000,0x0000,0x0044,0x1010,0x0044,
  354.     0x4440,0x1000,0x4010,0x4444,0x0044,0x4410,0x1048,0x8400,
  355.     0x1048,0x0048,0x4410,0x1000,0x0000,0x0000,0x0000,0x0044,
  356.     0x0408,0x0004,0x0420,0x0800,0x2004,0x4004,0x0008,0x0408,
  357.     0x0810,0x8400,0x0810,0x0008,0x0404,0x0800,0x0000,0x0000,
  358.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  359.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0004,0x0000,0x0000,
  360.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  361.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  362.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  363.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  364.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  365.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  366.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  367.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  368.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  369.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  370.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  371.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  372.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  373.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  374.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  375.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  376.     0x0040,0x2820,0x4100,0x2000,0x4040,0x4020,0x2020,0x0080,
  377.     0x2820,0x8000,0x4410,0x0040,0x8221,0x0000,0x8400,0x2040,
  378.     0x8080,0x0000,0x0220,0x8422,0x2202,0x2002,0x2222,0x2084,
  379.     0xA220,0x0242,0x2422,0x4002,0x2410,0x0220,0x4222,0x0002,
  380.     0x4412,0x2220,0x4040,0x0000,0x0100,0x8222,0x2202,0x0001,
  381.     0x0222,0x2080,0x8200,0x0222,0x0224,0x2002,0x2220,0x0220,
  382.     0x4222,0x0004,0x2222,0x0220,0x4040,0x0000,0x0080,0x8020,
  383.     0x4200,0x8000,0x8040,0x4080,0x8080,0x0220,0x8024,0x2000,
  384.     0x4040,0x0042,0x2222,0x0004,0x2220,0x8042,0x2220,0x0000,
  385.     0x0020,0x8522,0x0222,0x0000,0x2202,0x4080,0x8200,0x0222,
  386.     0x0524,0x2002,0x2080,0x0200,0x2222,0x2004,0x2042,0x0240,
  387.     0x2020,0x0000,0x0220,0x8422,0x0222,0x2002,0x2202,0x2080,
  388.     0x8220,0x0242,0x2422,0x4002,0x2080,0x0204,0x1222,0x2002,
  389.     0x4042,0x2224,0x0410,0x0000,0x0040,0x2421,0x0020,0x2000,
  390.     0x4102,0x1020,0x4020,0x0080,0x2420,0x8000,0x4040,0x0104,
  391.     0x1020,0x2000,0x8080,0x2204,0x0410,0x0000,0x0000,0x0000,
  392.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  393.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  394.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  395.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  396.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  397.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  398.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  399.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  400.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  401.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  402.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  403.     0x0000,0x0044,0x0404,0x0020,0x0404,0x0400,0x0404,0x0804,
  404.     0x0008,0x4404,0x0410,0x8400,0x0410,0x0010,0x4404,0x0400,
  405.     0x0000,0x0000,0x0000,0x0044,0x1094,0x0040,0x4444,0x9400,
  406.     0x4410,0x4444,0x0044,0x4494,0x9448,0x4400,0x9448,0x0048,
  407.     0x4410,0x9400,0x0000,0x0000,0x0000,0x0044,0x1010,0x0040,
  408.     0x4040,0x1000,0x4010,0x4440,0x0044,0x4410,0x1084,0x2400,
  409.     0x1084,0x0084,0x4410,0x1000,0x0000,0x0000,0x0000,0x0004,
  410.     0x1010,0x0040,0x1010,0x1000,0x1010,0x0810,0x0008,0x4410,
  411.     0x1084,0x8400,0x1084,0x0084,0x4410,0x1000,0x0000,0x0000,
  412.     0x0000,0x0044,0x1010,0x0044,0x4040,0x1000,0x4010,0x4840,
  413.     0x0044,0x4410,0x1084,0x8400,0x1084,0x0084,0x4410,0x1000,
  414.     0x0000,0x0000,0x0000,0x0044,0x1010,0x0044,0x4440,0x1000,
  415.     0x4010,0x4444,0x0044,0x4410,0x1048,0x8400,0x1048,0x0048,
  416.     0x4410,0x1000,0x0000,0x0000,0x0000,0x0044,0x0408,0x0004,
  417.     0x0420,0x0800,0x2004,0x4004,0x0008,0x0408,0x0810,0x8400,
  418.     0x0810,0x0008,0x0404,0x0800,0x0000,0x0000,0x0000,0x0000,
  419.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  420.     0x0000,0x0000,0x0000,0x0004,0x0000,0x0000,0x0000,0x0000,
  421.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  422.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  423.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  424.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  425.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  426.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  427.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  428.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  429.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  430. };
  431.  
  432. struct Image my_name_image = {
  433.     0,0,    /* XY origin relative to container TopLeft */
  434.     273,27,    /* Image width and height in pixels */
  435.     4,    /* number of bitplanes in Image */
  436.     my_name_image_data,    /* pointer to ImageData */
  437.     0x000F,0x0000,    /* PlanePick and PlaneOnOff */
  438.     NULL    /* next Image structure */
  439. };
  440.  
  441.