home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 2: PC
/
frozenfish_august_1995.bin
/
bbs
/
d07xx
/
d0744.lha
/
FO2
/
Sources_FO2
/
start.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-12
|
42KB
|
1,081 lines
#include "defs.h"
#include ".h"
/*---------------------------------------------------*
Gadgets created with GadgetEd V2.3
which is (c) Copyright 1990-91 by Jaba Development
written by Jan van den Baard
*---------------------------------------------------*/
char version[] = VERSTAG;
SHORT Gadget17_pairs0[] = {
-1,-1,88,-1,88,10,-1,10,-1,-1 };
struct TextAttr Topaz8 = {
"topaz.font",8,FS_NORMAL,FPF_DESIGNED | FPF_ROMFONT };
struct Border Gadget17_bord = {
0,0,1,0,JAM1,5,(SHORT *)Gadget17_pairs0,NULL };
BYTE BufferD2Str[11];
struct IntuiText Gadget17_text2 = {
1,0,JAM2,30,1,&Topaz8,(UBYTE *)&BufferD2Str[0],NULL };
struct IntuiText Gadget17_text = {
1,0,JAM1,3,1,&Topaz8,(UBYTE *)"CYL",&Gadget17_text2 };
#define Gadget17_ID 16
struct Gadget Gadget17 = {
NULL,160,60,88,10,
GADGHNONE,
NULL,
BOOLGADGET,
(APTR)&Gadget17_bord,NULL,
&Gadget17_text,NULL,NULL,Gadget17_ID,NULL };
SHORT Gadget18_pairs0[] = {
-1,-1,295,-1,295,9,-1,9,-1,-1 };
struct Border Gadget18_bord = {
0,0,1,0,JAM1,5,(SHORT *)Gadget18_pairs0,NULL };
struct IntuiText Gadget18_text = {
1,0,JAM2,3,1,NULL,(UBYTE *)"",NULL };
#define Gadget18_ID 17
struct Gadget Gadget18 = {
&Gadget17,7,76,295,9,
GADGHNONE,
NULL,
BOOLGADGET,
(APTR)&Gadget18_bord,NULL,
&Gadget18_text,NULL,NULL,Gadget18_ID,NULL };
__chip const USHORT Gadget14_data[] = {
0x0000, 0x0000, 0x0080, 0x0000, 0x0000, 0x0380, 0x0000, 0x0000,
0x0380, 0x03E0, 0x00C0, 0x0380, 0x0630, 0x00C0, 0x0380, 0x0636,
0x33F3, 0xE380, 0x07F6, 0x30C6, 0x3380, 0x0636, 0x30C6, 0x3380,
0x0636, 0x30C6, 0x3380, 0x0633, 0xF063, 0xE380, 0x0000, 0x0000,
0x0380, 0x3FFF, 0xFFFF, 0xFF80, 0x7FFF, 0xFFFF, 0xFF80, 0xFFFF,
0xFFFF, 0xFF80, 0xFFFF, 0xFFFF, 0xFF80, 0xE000, 0x0000, 0x0380,
0xE000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0380, 0xE000, 0x0000,
0x0380, 0xE000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0380, 0xE000,
0x0000, 0x0380, 0xE000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0380,
0xFFFF, 0xFFFF, 0xFF80, 0xFFFF, 0xFFFF, 0xFF80 };
struct Image Gadget14_image = {
0,0,41,13,2,(USHORT *)Gadget14_data,0x03,0x00,NULL };
__chip const USHORT Gadget14_hdata[] = {
0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0600, 0x07C0, 0x0180,
0x0600, 0x0C60, 0x0180, 0x0600, 0x0C6C, 0x67E7, 0xC600, 0x0FEC,
0x618C, 0x6600, 0x0C6C, 0x618C, 0x6600, 0x0C6C, 0x618C, 0x6600,
0x0C67, 0xE0C7, 0xC600, 0x0000, 0x0000, 0x0600, 0x7FFF, 0xFFFF,
0xFE00, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xFE00, 0xC000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0600,
0xC000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0600, 0xC000, 0x0000,
0x0600, 0xC000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0600, 0xC000,
0x0000, 0x0600, 0xC000, 0x0000, 0x0600, 0xFFFF, 0xFFFF, 0xFE00,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget14_himage = {
0,0,41,13,2,(USHORT *)Gadget14_hdata,0x03,0x00,NULL };
#define Gadget14_ID 13
struct Gadget Gadget14 = {
&Gadget18,258,57,41,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget14_image,(APTR)&Gadget14_himage,
NULL,NULL,NULL,Gadget14_ID,NULL };
__chip const USHORT Gadget16_data[] = {
0x0000, 0x0000, 0x0018, 0x0000, 0x0000, 0x0018, 0x0820, 0x0181,
0x8198, 0x0C60, 0x0181, 0x8018, 0x0EEC, 0x6187, 0xE198, 0x0FEC,
0x6181, 0x8198, 0x0D6C, 0x6181, 0x8198, 0x0C6C, 0x6181, 0x8198,
0x0C67, 0xE180, 0xC198, 0x0000, 0x0000, 0x0018, 0x7FFF, 0xFFFF,
0xFFF8, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xFFF8, 0xC000, 0x0000, 0x0018, 0xC000, 0x0000, 0x0018,
0xC000, 0x0000, 0x0018, 0xC000, 0x0000, 0x0018, 0xC000, 0x0000,
0x0018, 0xC000, 0x0000, 0x0018, 0xC000, 0x0000, 0x0018, 0xC000,
0x0000, 0x0018, 0xC000, 0x0000, 0x0018, 0x7FFF, 0xFFFF, 0xFFF8,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget16_image = {
0,0,47,13,2,(USHORT *)Gadget16_data,0x03,0x00,NULL };
__chip const USHORT Gadget16_hdata[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000E, 0x0000, 0x0000,
0x000E, 0x0007, 0xC000, 0x000E, 0x000C, 0x6000, 0x000E, 0x000C,
0x6FC7, 0xC00E, 0x000C, 0x6C6C, 0x600E, 0x000C, 0x6C6F, 0xE00E,
0x000C, 0x6C6C, 0x000E, 0x0007, 0xCC67, 0xC00E, 0x0000, 0x0000,
0x000E, 0x3FFF, 0xFFFF, 0xFFFE, 0x7FFF, 0xFFFF, 0xFFFE, 0xFFFF,
0xFFFF, 0xFFFE, 0xFFFF, 0xFFFF, 0xFFFE, 0xE000, 0x0000, 0x000E,
0xE000, 0x0000, 0x000E, 0xE000, 0x0000, 0x000E, 0xE000, 0x0000,
0x000E, 0xE000, 0x0000, 0x000E, 0xE000, 0x0000, 0x000E, 0xE000,
0x0000, 0x000E, 0xE000, 0x0000, 0x000E, 0xE000, 0x0000, 0x000E,
0xFFFF, 0xFFFF, 0xFFFE, 0xFFFF, 0xFFFF, 0xFFFE };
struct Image Gadget16_himage = {
0,0,47,13,2,(USHORT *)Gadget16_hdata,0x03,0x00,NULL };
#define Gadget16_ID 15
struct Gadget Gadget16 = {
&Gadget14,206,41,47,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget16_himage,(APTR)&Gadget16_image,
NULL,NULL,NULL,Gadget16_ID,NULL };
__chip const USHORT Gadget13_data[] = {
0x0000, 0x0002, 0x0000, 0x000E, 0x0000, 0x000E, 0x03E3, 0xE0CE,
0x0636, 0x30CE, 0x0606, 0x30CE, 0x0676, 0x30CE, 0x0636, 0x30CE,
0x0636, 0x300E, 0x03E3, 0xE0CE, 0x0000, 0x000E, 0x3FFF, 0xFFFE,
0x7FFF, 0xFFFE, 0xFFFF, 0xFFFE, 0xFFFF, 0xFFFE, 0xE000, 0x000E,
0xE000, 0x000E, 0xE000, 0x000E, 0xE000, 0x000E, 0xE000, 0x000E,
0xE000, 0x000E, 0xE000, 0x000E, 0xE000, 0x000E, 0xE000, 0x000E,
0xFFFF, 0xFFFE, 0xFFFF, 0xFFFE };
struct Image Gadget13_image = {
0,0,31,13,2,(USHORT *)Gadget13_data,0x03,0x00,NULL };
__chip const USHORT Gadget13_hdata[] = {
0x0000, 0x0018, 0x0000, 0x0018, 0x07C7, 0xC198, 0x0C6C, 0x6198,
0x0C0C, 0x6198, 0x0CEC, 0x6198, 0x0C6C, 0x6198, 0x0C6C, 0x6018,
0x07C7, 0xC198, 0x0000, 0x0018, 0x7FFF, 0xFFF8, 0x0000, 0x0000,
0x0000, 0x0000, 0xFFFF, 0xFFF8, 0xC000, 0x0018, 0xC000, 0x0018,
0xC000, 0x0018, 0xC000, 0x0018, 0xC000, 0x0018, 0xC000, 0x0018,
0xC000, 0x0018, 0xC000, 0x0018, 0xC000, 0x0018, 0xFFFF, 0xFFF8,
0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget13_himage = {
0,0,31,13,2,(USHORT *)Gadget13_hdata,0x03,0x00,NULL };
#define Gadget13_ID 12
struct Gadget Gadget13 = {
&Gadget16,120,57,31,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget13_image,(APTR)&Gadget13_himage,
NULL,NULL,NULL,Gadget13_ID,NULL };
__chip const USHORT Gadget12_data[] = {
0x0000, 0x0000, 0x0080, 0x0000, 0x0000, 0x0380, 0x0000, 0x0000,
0x0380, 0x07F7, 0xE0C0, 0x0380, 0x0606, 0x3000, 0x0380, 0x0606,
0x30C7, 0xE380, 0x07C6, 0x30C6, 0x3380, 0x0606, 0x30C6, 0x0380,
0x0606, 0x30C6, 0x0380, 0x0607, 0xE0C6, 0x0380, 0x0000, 0x0000,
0x0380, 0x3FFF, 0xFFFF, 0xFF80, 0x7FFF, 0xFFFF, 0xFF80, 0xFFFF,
0xFFFF, 0xFF80, 0xFFFF, 0xFFFF, 0xFF80, 0xE000, 0x0000, 0x0380,
0xE000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0380, 0xE000, 0x0000,
0x0380, 0xE000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0380, 0xE000,
0x0000, 0x0380, 0xE000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0380,
0xFFFF, 0xFFFF, 0xFF80, 0xFFFF, 0xFFFF, 0xFF80 };
struct Image Gadget12_image = {
0,0,41,13,2,(USHORT *)Gadget12_data,0x03,0x00,NULL };
__chip const USHORT Gadget12_hdata[] = {
0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0600, 0x0FEF, 0xC180,
0x0600, 0x0C0C, 0x6000, 0x0600, 0x0C0C, 0x618F, 0xC600, 0x0F8C,
0x618C, 0x6600, 0x0C0C, 0x618C, 0x0600, 0x0C0C, 0x618C, 0x0600,
0x0C0F, 0xC18C, 0x0600, 0x0000, 0x0000, 0x0600, 0x7FFF, 0xFFFF,
0xFE00, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xFE00, 0xC000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0600,
0xC000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0600, 0xC000, 0x0000,
0x0600, 0xC000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0600, 0xC000,
0x0000, 0x0600, 0xC000, 0x0000, 0x0600, 0xFFFF, 0xFFFF, 0xFE00,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget12_himage = {
0,0,41,13,2,(USHORT *)Gadget12_hdata,0x03,0x00,NULL };
#define Gadget12_ID 11
struct Gadget Gadget12 = {
&Gadget13,258,41,41,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget12_image,(APTR)&Gadget12_himage,
NULL,NULL,NULL,Gadget12_ID,NULL };
__chip const USHORT Gadget11_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0006, 0x0000, 0x0C60, 0x000F, 0xE000, 0x0000,
0x0186, 0x0000, 0x0E60, 0x000C, 0x0000, 0x0000, 0x0186, 0x0000,
0x0F67, 0xC00C, 0x07CF, 0xCEC7, 0xC7E6, 0x0000, 0x0DEC, 0x600F,
0x8C6C, 0x6FE0, 0x6186, 0x0000, 0x0CEC, 0x600C, 0x0C6C, 0x0D67,
0xE186, 0x0000, 0x0C6C, 0x600C, 0x0C6C, 0x0D6C, 0x6186, 0x0000,
0x0C67, 0xC00C, 0x07CC, 0x0C67, 0xE0C6, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0006, 0x0000, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFFFE, 0x0000, 0xC000, 0x0000, 0x0000, 0x0000,
0x0006, 0x0000, 0xC000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0000,
0xC000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0000, 0xC000, 0x0000,
0x0000, 0x0000, 0x0006, 0x0000, 0xC000, 0x0000, 0x0000, 0x0000,
0x0006, 0x0000, 0xC000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0000,
0xC000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0000, 0xC000, 0x0000,
0x0000, 0x0000, 0x0006, 0x0000, 0xC000, 0x0000, 0x0000, 0x0000,
0x0006, 0x0000, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFE, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget11_image = {
0,0,81,13,2,(USHORT *)Gadget11_data,0x03,0x00,NULL };
__chip const USHORT Gadget11_hdata[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0003, 0x8000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0003, 0x8000, 0x0000, 0x7F00, 0x0000, 0x000C, 0x0003, 0x8000,
0x0000, 0x6000, 0x0000, 0x000C, 0x0003, 0x8000, 0x0000, 0x603E,
0x7E76, 0x3E3F, 0x0003, 0x8000, 0x0000, 0x7C63, 0x637F, 0x030C,
0x0003, 0x8000, 0x0000, 0x6063, 0x606B, 0x3F0C, 0x0003, 0x8000,
0x0000, 0x6063, 0x606B, 0x630C, 0x0003, 0x8000, 0x0000, 0x603E,
0x6063, 0x3F06, 0x0003, 0x8000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0003, 0x8000, 0x3FFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8000,
0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8000, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFFFF, 0x8000, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFF, 0x8000, 0xE000, 0x0000, 0x0000, 0x0000, 0x0003, 0x8000,
0xE000, 0x0000, 0x0000, 0x0000, 0x0003, 0x8000, 0xE000, 0x0000,
0x0000, 0x0000, 0x0003, 0x8000, 0xE000, 0x0000, 0x0000, 0x0000,
0x0003, 0x8000, 0xE000, 0x0000, 0x0000, 0x0000, 0x0003, 0x8000,
0xE000, 0x0000, 0x0000, 0x0000, 0x0003, 0x8000, 0xE000, 0x0000,
0x0000, 0x0000, 0x0003, 0x8000, 0xE000, 0x0000, 0x0000, 0x0000,
0x0003, 0x8000, 0xE000, 0x0000, 0x0000, 0x0000, 0x0003, 0x8000,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x8000, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFFFF, 0x8000 };
struct Image Gadget11_himage = {
0,0,81,13,2,(USHORT *)Gadget11_hdata,0x03,0x00,NULL };
#define Gadget11_ID 10
struct Gadget Gadget11 = {
&Gadget12,119,41,81,13,
GADGHIMAGE+GADGIMAGE+SELECTED,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget11_himage,(APTR)&Gadget11_image,
NULL,NULL,NULL,Gadget11_ID,NULL };
__chip const USHORT Gadget15_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0180, 0x0000, 0x0000, 0x0000, 0x0000, 0x0380, 0x03E6,
0x0000, 0x0600, 0x07E3, 0xE380, 0x0636, 0x0000, 0x0600, 0x0636,
0x3380, 0x0607, 0xE3E3, 0xE660, 0x0636, 0x0380, 0x0606, 0x3636,
0x36C0, 0x0633, 0xE380, 0x0606, 0x37F6, 0x07C0, 0x0630, 0x3380,
0x0636, 0x3606, 0x3660, 0x0636, 0x3380, 0x03E6, 0x33E3, 0xE630,
0x07E3, 0xE380, 0x0000, 0x0000, 0x0000, 0x0000, 0x0380, 0x3FFF,
0xFFFF, 0xFFFF, 0xFFFF, 0xFF80, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFF80, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFF80, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFF80, 0xE000, 0x0000, 0x0000, 0x0000, 0x0380,
0xE000, 0x0000, 0x0000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0000,
0x0000, 0x0380, 0xE000, 0x0000, 0x0000, 0x0000, 0x0380, 0xE000,
0x0000, 0x0000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0000, 0x0000,
0x0380, 0xE000, 0x0000, 0x0000, 0x0000, 0x0380, 0xE000, 0x0000,
0x0000, 0x0000, 0x0380, 0xE000, 0x0000, 0x0000, 0x0000, 0x0380,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFF80, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFF, 0xFF80 };
struct Image Gadget15_image = {
0,0,73,13,2,(USHORT *)Gadget15_data,0x03,0x00,NULL };
__chip const USHORT Gadget15_hdata[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000,
0x0000, 0x0600, 0x07CC, 0x0000, 0x0C00, 0x0FC7, 0xC600, 0x0C6C,
0x0000, 0x0C00, 0x0C6C, 0x6600, 0x0C0F, 0xC7C7, 0xCCC0, 0x0C6C,
0x0600, 0x0C0C, 0x6C6C, 0x6D80, 0x0C67, 0xC600, 0x0C0C, 0x6FEC,
0x0F80, 0x0C60, 0x6600, 0x0C6C, 0x6C0C, 0x6CC0, 0x0C6C, 0x6600,
0x07CC, 0x67C7, 0xCC60, 0x0FC7, 0xC600, 0x0000, 0x0000, 0x0000,
0x0000, 0x0600, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFE00, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFE00, 0xC000, 0x0000,
0x0000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0000, 0x0000, 0x0600,
0xC000, 0x0000, 0x0000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0000,
0x0000, 0x0600, 0xC000, 0x0000, 0x0000, 0x0000, 0x0600, 0xC000,
0x0000, 0x0000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0000, 0x0000,
0x0600, 0xC000, 0x0000, 0x0000, 0x0000, 0x0600, 0xC000, 0x0000,
0x0000, 0x0000, 0x0600, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFE00,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000 };
struct Image Gadget15_himage = {
0,0,73,13,2,(USHORT *)Gadget15_hdata,0x03,0x00,NULL };
#define Gadget15_ID 14
struct Gadget Gadget15 = {
&Gadget11,229,27,73,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget15_image,(APTR)&Gadget15_himage,
NULL,NULL,NULL,Gadget15_ID,NULL };
__chip const USHORT Gadget10_data[] = {
0x0000, 0x0000, 0x0000, 0x000C, 0x0000, 0x000C, 0x03E0, 0xC0CC,
0x0630, 0xC00C, 0x0600, 0xC0CC, 0x0600, 0xC0CC, 0x0600, 0xC0CC,
0x0630, 0xC0CC, 0x03E0, 0xC0CC, 0x0000, 0x000C, 0x7FFF, 0xFFFC,
0xFFFF, 0xFFFC, 0xFFFF, 0xFFFC, 0xFFFF, 0xFFFC, 0xE000, 0x000C,
0xE000, 0x000C, 0xE000, 0x000C, 0xE000, 0x000C, 0xE000, 0x000C,
0xE000, 0x000C, 0xE000, 0x000C, 0xE000, 0x000C, 0xE000, 0x000C,
0xFFFF, 0xFFFC, 0xFFFF, 0xFFFC };
struct Image Gadget10_image = {
0,0,30,13,2,(USHORT *)Gadget10_data,0x03,0x00,NULL };
__chip const USHORT Gadget10_hdata[] = {
0x0000, 0x0018, 0x0000, 0x0018, 0x07C1, 0x8198, 0x0C61, 0x8018,
0x0C01, 0x8198, 0x0C01, 0x8198, 0x0C01, 0x8198, 0x0C61, 0x8198,
0x07C1, 0x8198, 0x0000, 0x0018, 0x7FFF, 0xFFF8, 0x0000, 0x0000,
0x0000, 0x0000, 0xFFFF, 0xFFF8, 0xC000, 0x0018, 0xC000, 0x0018,
0xC000, 0x0018, 0xC000, 0x0018, 0xC000, 0x0018, 0xC000, 0x0018,
0xC000, 0x0018, 0xC000, 0x0018, 0xC000, 0x0018, 0x7FFF, 0xFFF8,
0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget10_himage = {
0,0,30,13,2,(USHORT *)Gadget10_hdata,0x03,0x00,NULL };
#define Gadget10_ID 9
struct Gadget Gadget10 = {
&Gadget15,195,27,30,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget10_image,(APTR)&Gadget10_himage,
NULL,NULL,NULL,Gadget10_ID,NULL };
__chip const USHORT Gadget9_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0300, 0x0000, 0x0000, 0x0000, 0x0000, 0x0300, 0x0630,
0x0006, 0x0000, 0x0006, 0x0300, 0x0630, 0x0006, 0x0000, 0x0006,
0x0300, 0x0633, 0xE7E7, 0xE3E7, 0xE3E7, 0xE300, 0x06B6, 0x3636,
0x3636, 0x3636, 0x3300, 0x07F6, 0x3606, 0x37F6, 0x3606, 0x3300,
0x0776, 0x3606, 0x3606, 0x3636, 0x3300, 0x0633, 0xE607, 0xE3E6,
0x33E6, 0x3300, 0x0000, 0x0000, 0x0000, 0x0000, 0x0300, 0x3FFF,
0xFFFF, 0xFFFF, 0xFFFF, 0xFF00, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
0xFF00, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFF00, 0xFFFF, 0xFFFF,
0xFFFF, 0xFFFF, 0xFF00, 0xE000, 0x0000, 0x0000, 0x0000, 0x0300,
0xE000, 0x0000, 0x0000, 0x0000, 0x0300, 0xE000, 0x0000, 0x0000,
0x0000, 0x0300, 0xE000, 0x0000, 0x0000, 0x0000, 0x0300, 0xE000,
0x0000, 0x0000, 0x0000, 0x0300, 0xE000, 0x0000, 0x0000, 0x0000,
0x0300, 0xE000, 0x0000, 0x0000, 0x0000, 0x0300, 0xE000, 0x0000,
0x0000, 0x0000, 0x0300, 0xE000, 0x0000, 0x0000, 0x0000, 0x0300,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFF00, 0xFFFF, 0xFFFF, 0xFFFF,
0xFFFF, 0xFF00 };
struct Image Gadget9_image = {
0,0,72,13,2,(USHORT *)Gadget9_data,0x03,0x00,NULL };
__chip const USHORT Gadget9_hdata[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0600, 0x0000, 0x0000, 0x0000,
0x0000, 0x0600, 0x0C60, 0x000C, 0x0000, 0x000C, 0x0600, 0x0C60,
0x000C, 0x0000, 0x000C, 0x0600, 0x0C67, 0xCFCF, 0xC7CF, 0xC7CF,
0xC600, 0x0D6C, 0x6C6C, 0x6C6C, 0x6C6C, 0x6600, 0x0FEC, 0x6C0C,
0x6FEC, 0x6C0C, 0x6600, 0x0EEC, 0x6C0C, 0x6C0C, 0x6C6C, 0x6600,
0x0C67, 0xCC0F, 0xC7CC, 0x67CC, 0x6600, 0x0000, 0x0000, 0x0000,
0x0000, 0x0600, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFE00, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFE00, 0xC000, 0x0000,
0x0000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0000, 0x0000, 0x0600,
0xC000, 0x0000, 0x0000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0000,
0x0000, 0x0600, 0xC000, 0x0000, 0x0000, 0x0000, 0x0600, 0xC000,
0x0000, 0x0000, 0x0000, 0x0600, 0xC000, 0x0000, 0x0000, 0x0000,
0x0600, 0xC000, 0x0000, 0x0000, 0x0000, 0x0600, 0xC000, 0x0000,
0x0000, 0x0000, 0x0600, 0x7FFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFE00,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000 };
struct Image Gadget9_himage = {
0,0,72,13,2,(USHORT *)Gadget9_hdata,0x03,0x00,NULL };
#define Gadget9_ID 8
struct Gadget Gadget9 = {
&Gadget10,119,27,72,13,
GADGHIMAGE+GADGIMAGE+SELECTED,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget9_image,(APTR)&Gadget9_himage,
NULL,NULL,NULL,Gadget9_ID,NULL };
__chip const USHORT Gadget8_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xEF80, 0x3000, 0x0636, 0x18C3, 0x3000, 0x0636,
0x00C3, 0x3000, 0x0637, 0xC380, 0x3000, 0x0636, 0x00C0, 0x3000,
0x0636, 0x18C3, 0x3000, 0x07E6, 0x0F83, 0x3000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget8_image = {
0,0,36,13,2,(USHORT *)Gadget8_data,0x03,0x00,NULL };
__chip const USHORT Gadget8_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xDF00,
0x6000, 0x0C6C, 0x3186, 0x6000, 0x0C6C, 0x0186, 0x6000, 0x0C6F,
0x8700, 0x6000, 0x0C6C, 0x0180, 0x6000, 0x0C6C, 0x3186, 0x6000,
0x0FCC, 0x1F06, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget8_himage = {
0,0,36,13,2,(USHORT *)Gadget8_hdata,0x03,0x00,NULL };
#define Gadget8_ID 7
struct Gadget Gadget8 = {
&Gadget9,68,61,36,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget8_image,(APTR)&Gadget8_himage,
NULL,NULL,NULL,Gadget8_ID,NULL };
__chip const USHORT Gadget7_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xF7C0, 0x3000, 0x0636, 0x0C61, 0xB000, 0x0636,
0x0061, 0xB000, 0x0637, 0xC1C0, 0x3000, 0x0636, 0x0300, 0x3000,
0x0636, 0x0601, 0xB000, 0x07E6, 0x0FE1, 0xB000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget7_image = {
0,0,36,13,2,(USHORT *)Gadget7_data,0x03,0x00,NULL };
__chip const USHORT Gadget7_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xEF80,
0x6000, 0x0C6C, 0x18C3, 0x6000, 0x0C6C, 0x00C3, 0x6000, 0x0C6F,
0x8380, 0x6000, 0x0C6C, 0x0600, 0x6000, 0x0C6C, 0x0C03, 0x6000,
0x0FCC, 0x1FC3, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget7_himage = {
0,0,36,13,2,(USHORT *)Gadget7_hdata,0x03,0x00,NULL };
#define Gadget7_ID 6
struct Gadget Gadget7 = {
&Gadget8,68,47,36,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget7_image,(APTR)&Gadget7_himage,
NULL,NULL,NULL,Gadget7_ID,NULL };
__chip const USHORT Gadget6_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xF180, 0x3000, 0x0636, 0x0381, 0xB000, 0x0636,
0x0181, 0xB000, 0x0637, 0xC180, 0x3000, 0x0636, 0x0180, 0x3000,
0x0636, 0x0181, 0xB000, 0x07E6, 0x0181, 0xB000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget6_image = {
0,0,36,13,2,(USHORT *)Gadget6_data,0x03,0x00,NULL };
__chip const __chip const USHORT Gadget6_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xE300,
0x6000, 0x0C6C, 0x0703, 0x6000, 0x0C6C, 0x0303, 0x6000, 0x0C6F,
0x8300, 0x6000, 0x0C6C, 0x0300, 0x6000, 0x0C6C, 0x0303, 0x6000,
0x0FCC, 0x0303, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget6_himage = {
0,0,36,13,2,(USHORT *)Gadget6_hdata,0x03,0x00,NULL };
#define Gadget6_ID 5
struct Gadget Gadget6 = {
&Gadget7,68,33,36,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget6_image,(APTR)&Gadget6_himage,
NULL,NULL,NULL,Gadget6_ID,NULL };
__chip const USHORT Gadget5_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xF7C0, 0x3000, 0x0636, 0x0C61, 0xB000, 0x0636,
0x0CE1, 0xB000, 0x0637, 0xCDE0, 0x3000, 0x0636, 0x0F60, 0x3000,
0x0636, 0x0E61, 0xB000, 0x07E6, 0x07C1, 0xB000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget5_image = {
0,0,36,13,2,(USHORT *)Gadget5_data,0x03,0x00,NULL };
__chip const USHORT Gadget5_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xEF80,
0x6000, 0x0C6C, 0x18C3, 0x6000, 0x0C6C, 0x19C3, 0x6000, 0x0C6F,
0x9BC0, 0x6000, 0x0C6C, 0x1EC0, 0x6000, 0x0C6C, 0x1CC3, 0x6000,
0x0FCC, 0x0F83, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget5_himage = {
0,0,36,13,2,(USHORT *)Gadget5_hdata,0x03,0x00,NULL };
#define Gadget5_ID 4
struct Gadget Gadget5 = {
&Gadget6,68,19,36,13,
GADGHIMAGE+GADGIMAGE+SELECTED,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget5_image,(APTR)&Gadget5_himage,
NULL,NULL,NULL,Gadget5_ID,NULL };
__chip const USHORT Gadget4_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xEF80, 0x3000, 0x0636, 0x18C3, 0x3000, 0x0636,
0x00C3, 0x3000, 0x0637, 0xC380, 0x3000, 0x0636, 0x00C0, 0x3000,
0x0636, 0x18C3, 0x3000, 0x07E6, 0x0F83, 0x3000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget4_image = {
0,0,36,13,2,(USHORT *)Gadget4_data,0x03,0x00,NULL };
__chip const USHORT Gadget4_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xDF00,
0x6000, 0x0C6C, 0x3186, 0x6000, 0x0C6C, 0x0186, 0x6000, 0x0C6F,
0x8700, 0x6000, 0x0C6C, 0x0180, 0x6000, 0x0C6C, 0x3186, 0x6000,
0x0FCC, 0x1F06, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget4_himage = {
0,0,36,13,2,(USHORT *)Gadget4_hdata,0x03,0x00,NULL };
#define Gadget4_ID 3
struct Gadget Gadget4 = {
&Gadget5,24,61,36,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget4_image,(APTR)&Gadget4_himage,
NULL,NULL,NULL,Gadget4_ID,NULL };
__chip const USHORT Gadget3_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xF7C0, 0x3000, 0x0636, 0x0C61, 0xB000, 0x0636,
0x0061, 0xB000, 0x0637, 0xC1C0, 0x3000, 0x0636, 0x0300, 0x3000,
0x0636, 0x0601, 0xB000, 0x07E6, 0x0FE1, 0xB000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget3_image = {
0,0,36,13,2,(USHORT *)Gadget3_data,0x03,0x00,NULL };
__chip const USHORT Gadget3_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xEF80,
0x6000, 0x0C6C, 0x18C3, 0x6000, 0x0C6C, 0x00C3, 0x6000, 0x0C6F,
0x8380, 0x6000, 0x0C6C, 0x0600, 0x6000, 0x0C6C, 0x0C03, 0x6000,
0x0FCC, 0x1FC3, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget3_himage = {
0,0,36,13,2,(USHORT *)Gadget3_hdata,0x03,0x00,NULL };
#define Gadget3_ID 2
struct Gadget Gadget3 = {
&Gadget4,24,47,36,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget3_image,(APTR)&Gadget3_himage,
NULL,NULL,NULL,Gadget3_ID,NULL };
__chip const USHORT Gadget2_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xF180, 0x3000, 0x0636, 0x0381, 0xB000, 0x0636,
0x0181, 0xB000, 0x0637, 0xC180, 0x3000, 0x0636, 0x0180, 0x3000,
0x0636, 0x0181, 0xB000, 0x07E6, 0x0181, 0xB000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget2_image = {
0,0,36,13,2,(USHORT *)Gadget2_data,0x03,0x00,NULL };
__chip const USHORT Gadget2_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xE300,
0x6000, 0x0C6C, 0x0703, 0x6000, 0x0C6C, 0x0303, 0x6000, 0x0C6F,
0x8300, 0x6000, 0x0C6C, 0x0300, 0x6000, 0x0C6C, 0x0303, 0x6000,
0x0FCC, 0x0303, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget2_himage = {
0,0,36,13,2,(USHORT *)Gadget2_hdata,0x03,0x00,NULL };
#define Gadget2_ID 1
struct Gadget Gadget2 = {
&Gadget3,24,33,36,13,
GADGHIMAGE+GADGIMAGE,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget2_image,(APTR)&Gadget2_himage,
NULL,NULL,NULL,Gadget2_ID,NULL };
__chip const USHORT Gadget1_data[] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x3000, 0x0000, 0x0000,
0x3000, 0x07E7, 0xF7C0, 0x3000, 0x0636, 0x0C61, 0xB000, 0x0636,
0x0CE1, 0xB000, 0x0637, 0xCDE0, 0x3000, 0x0636, 0x0F60, 0x3000,
0x0636, 0x0E61, 0xB000, 0x07E6, 0x07C1, 0xB000, 0x0000, 0x0000,
0x3000, 0x3FFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xFFFF,
0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000, 0xE000, 0x0000, 0x3000,
0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000,
0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000,
0x0000, 0x3000, 0xE000, 0x0000, 0x3000, 0xE000, 0x0000, 0x3000,
0xFFFF, 0xFFFF, 0xF000, 0xFFFF, 0xFFFF, 0xF000 };
struct Image Gadget1_image = {
0,0,36,13,2,(USHORT *)Gadget1_data,0x03,0x00,NULL };
__chip const USHORT Gadget1_hdata[] = {
0x0000, 0x0000, 0x6000, 0x0000, 0x0000, 0x6000, 0x0FCF, 0xEF80,
0x6000, 0x0C6C, 0x18C3, 0x6000, 0x0C6C, 0x19C3, 0x6000, 0x0C6F,
0x9BC0, 0x6000, 0x0C6C, 0x1EC0, 0x6000, 0x0C6C, 0x1CC3, 0x6000,
0x0FCC, 0x0F83, 0x6000, 0x0000, 0x0000, 0x6000, 0x7FFF, 0xFFFF,
0xE000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFFFF,
0xFFFF, 0xE000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000,
0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000,
0x6000, 0xC000, 0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0xC000,
0x0000, 0x6000, 0xC000, 0x0000, 0x6000, 0x7FFF, 0xFFFF, 0xE000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };
struct Image Gadget1_himage = {
0,0,36,13,2,(USHORT *)Gadget1_hdata,0x03,0x00,NULL };
struct IntuiText Gadget1_text[] = {
1,0,JAM1,-5,-8,&Topaz8,(UBYTE *)"Source",&Gadget1_text[1],
1,0,JAM1,47,-8,&Topaz8,(UBYTE *)"Dest",&Gadget1_text[2],
1,0,JAM1,149,-8,&Topaz8,(UBYTE *)"Options",NULL };
#define Gadget1_ID 0
struct Gadget Gadget1 = {
&Gadget2,24,19,36,13,
GADGHIMAGE+GADGIMAGE+SELECTED,
TOGGLESELECT+GADGIMMEDIATE,
BOOLGADGET,
(APTR)&Gadget1_image,(APTR)&Gadget1_himage,
&Gadget1_text[0],NULL,NULL,Gadget1_ID,NULL };
struct NewWindow NewFOWindow = {
96,40,309,88,0,1,
GADGETDOWN+GADGETUP+CLOSEWINDOW+DISKINSERTED+DISKREMOVED,
WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+NOCAREREFRESH+SIMPLE_REFRESH+SMART_REFRESH+ACTIVATE,
NULL /* struct Gadget * */,NULL,
(UBYTE *)"Fast Optimizer v" VERS ,NULL,NULL,
150,50,309,260,WBENCHSCREEN};
#define NEWWINDOW &new_window
#define WDBACKFILL 0
#define FIRSTGADGET &
#define Gadget18_ID 17
#define Gadget17_ID 16
Prototype start(WORD ac,BYTE *av[]);
Prototype CloseFOWin();
Prototype HandleIDCMP(struct Window *win);
BYTE *TabDrives[] = { "Df0:","Df1:","Df2:","Df3:" };
start(ac,av)
WORD ac;
BYTE *av[];
{
ULONG signalmask,signals;
BYTE done=0;
WORD diff=0;
WORD *XY;
struct Gadget *gadlist = NULL;
struct Border *border = NULL;
signal(SIGINT, SIG_IGN);
VarAdr=(struct var *)AllocMem(sizeof(struct var),MEMF_CLEAR|MEMF_PUBLIC);
atexit(RendAdrVar);
atexit(RendMem);
atexit(FreeBusy);
atexit(CloseTD);
FOWin=( struct Window * )OpenWindow(&NewFOWindow);
if (FOWin) atexit(CloseFOWin); else
{
puts("Can't open FO2 Window !!!");
exit(0);
}
gadlist = &Gadget1;
diff = FOWin->BorderTop - 11;
SizeWindow(FOWin,0,diff * 2 +2); /* BODERTOP + 2 GADGNONE for text */
do
{
gadlist->TopEdge += diff;
switch (gadlist->GadgetID)
{
case Gadget18_ID :
gadlist->Height += diff;
border=gadlist->GadgetRender;
XY=border->XY;
XY[5] += diff;
XY[7] += diff;
}
gadlist=gadlist->NextGadget;
}
while (gadlist);
AddGList(FOWin,&Gadget1,0,-1,0);
RefreshGList(&Gadget1,FOWin,0,-1);
DF0=DF1=DF2=DF3=1;
RemoveGList(FOWin,&Gadget1,8);
if (!OpenTD(0)) { DF0=0;
Gadget1.Flags |= GADGDISABLED;
Gadget5.Flags |= GADGDISABLED; }
if (!OpenTD(1)) { DF1=0;
Gadget2.Flags |= GADGDISABLED;
Gadget6.Flags |= GADGDISABLED; }
if (!OpenTD(2)) { DF2=0;
Gadget3.Flags |= GADGDISABLED;
Gadget7.Flags |= GADGDISABLED; }
if (!OpenTD(3)) { DF3=0;
Gadget4.Flags |= GADGDISABLED;
Gadget8.Flags |= GADGDISABLED; }
AddGList(FOWin,&Gadget1,0,8,0);
RefreshGList(&Gadget1,FOWin,0,8);
WBench(1); /* ( Par dΘfault ) */
forFDir(0);
NoFormat(1);
Check(0);
MULTI=0;
AUTO=0;
signalmask = 1L << FOWin->UserPort->mp_SigBit;
while( !done )
{
signals = Wait(signalmask);
if (signals & signalmask)
done = HandleIDCMP(FOWin);
};
}
CloseFOWin()
{
if (FOWin) CloseWindow(FOWin);
}
HandleIDCMP(win)
struct Window *win;
{
UBYTE flag = 0;
struct IntuiMessage *message = NULL;
USHORT code;
ULONG class;
struct Gadget *address;
BYTE val;
/* Examine pending messages */
while( message = (struct IntuiMessage *)GetMsg(win->UserPort) ) {
class = message->Class;+
code = message->Code;
address = message->IAddress;
/* When we're through with a message, reply */
ReplyMsg( (struct Message *)message);
/* See what events occurred */
switch( class ) {
case CLOSEWINDOW:
flag = 1;
break;
case GADGETDOWN:
switch ( address->GadgetID)
{
case 0 :
{
sourceDrive=( (Gadget1.Flags & (BYTE)SELECTED ) ? 0: -1);
UnSelGadget(win,&Gadget2);
UnSelGadget(win,&Gadget3);
UnSelGadget(win,&Gadget4);
break;
}
case 1 :
{
sourceDrive=( (Gadget2.Flags & (BYTE)SELECTED ) ? 1: -1);
UnSelGadget(win,&Gadget3);
UnSelGadget(win,&Gadget4);
UnSelGadget(win,&Gadget1);
break;
}
case 2 :
{
sourceDrive=( (Gadget3.Flags & (BYTE)SELECTED ) ? 2: -1);
UnSelGadget(win,&Gadget4);
UnSelGadget(win,&Gadget1);
UnSelGadget(win,&Gadget2);
break;
}
case 3 :
{
sourceDrive=( (Gadget4.Flags & (BYTE)SELECTED ) ? 3: -1);
UnSelGadget(win,&Gadget2);
UnSelGadget(win,&Gadget3);
UnSelGadget(win,&Gadget1);
break;
}
case 4 :
{
destDrive=( (Gadget5.Flags & (BYTE)SELECTED ) ? 0: -1);
UnSelGadget(win,&Gadget6);
UnSelGadget(win,&Gadget7);
UnSelGadget(win,&Gadget8);
break;
}
case 5 :
{
destDrive=( (Gadget6.Flags & (BYTE)SELECTED ) ? 1: -1);
UnSelGadget(win,&Gadget7);
UnSelGadget(win,&Gadget8);
UnSelGadget(win,&Gadget5);
break;
}
case 6 :
{
destDrive=( (Gadget7.Flags & (BYTE)SELECTED ) ? 2: -1);
UnSelGadget(win,&Gadget8);
UnSelGadget(win,&Gadget5);
UnSelGadget(win,&Gadget6);
break;
}
case 7 :
{
destDrive=( (Gadget8.Flags & (BYTE)SELECTED ) ? 3: -1);
UnSelGadget(win,&Gadget5);
UnSelGadget(win,&Gadget6);
UnSelGadget(win,&Gadget7);
break;
}
case 8 :
{
if (Gadget9.Flags & (BYTE)SELECTED )
{
UnSelGadget(win,&Gadget10);
WBench(1);
}
else
{
SelGadget(win,&Gadget10); WBench(0);
}
break;
}
case 9 :
{
if (Gadget10.Flags & (BYTE)SELECTED )
{
UnSelGadget(win,&Gadget9);
WBench(0);
}
else
{
SelGadget(win,&Gadget9); WBench(1);
}
break;
}
case 10 :
{
if (Gadget11.Flags & SELECTED )
{
NoFormat(1);
break;
}
NoFormat(0);
break;
}
case 11 :
if (Gadget12.Flags & SELECTED )
{
forFDir(1);
break;
}
forFDir(1);
break;
case 12 :
{
if (sourceDrive!=-1 && destDrive!=-1)
{
do
{
INIT |= ARRANGE;
INIT |= PREPARING;
OffGadgets(win);
FO(0,&TabDrives[destDrive]);
if (AUTO)
{
if (WaitChangeDisk(destDrive,sourceDrive)==2)
{
Aborted();
AUTO=0;
UnSelGadget(win,&Gadget14);
}
}
}
while (AUTO);
OnGadgets(win);
UnSelGadget(win,&Gadget13);
break;
}
else
{
putIText("Select Source AND Destination ");
break;
}
}
case 13 :
{
if (Gadget14.Flags & SELECTED )
{
AUTO=1;
break;
}
AUTO=0;
break;
}
case 14 :
{
if (Gadget15.Flags & SELECTED )
{
Check(1);
break;
}
Check(0);
break;
}
case 15 :
{
if (Gadget16.Flags & SELECTED )
{
MULTI=1;
break;
}
MULTI=0;
break;
}
default : break;
}
break;
} /* End switch */
} /* End while */
/* Flush any remaining pending messages */
while( message = (struct IntuiMessage *)GetMsg(win->UserPort))
ReplyMsg( (struct Message *)message );
return(flag);
}