home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
199.lha
/
DmfSrc_v2.5
/
charedit.h
< prev
next >
Wrap
Text File
|
1988-12-27
|
24KB
|
2,083 lines
static UBYTE UNDOBUFFER[21];
static SHORT BorderVectors1[] = {
0,0,
65,0,
65,13,
0,13,
0,0
};
static struct Border Border1 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors1,
NULL
};
static struct IntuiText IText1 = {
3,0,JAM2,
10,3,
NULL,
"Paste",
NULL
};
static struct Gadget PasteGad = {
NULL,
538,178,
62,12,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border1,
NULL,
&IText1,
NULL,
NULL,
NULL,
NULL
};
static SHORT BorderVectors2[] = {
0,0,
58,0,
58,13,
0,13,
0,0
};
static struct Border Border2 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors2,
NULL
};
static struct IntuiText IText2 = {
3,0,JAM2,
13,3,
NULL,
"Open",
NULL
};
static struct Gadget PatchReadGad = {
&PasteGad,
445,178,
55,12,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border2,
NULL,
&IText2,
NULL,
NULL,
NULL,
NULL
};
static UBYTE SpellSaveSIBuff[10];
static struct StringInfo SpellSaveSInfo = {
SpellSaveSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors3[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border3 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors3,
NULL
};
static struct IntuiText IText3 = {
1,0,JAM2,
3,13,
NULL,
"Spell",
NULL
};
static struct Gadget SpellSave = {
&PatchReadGad,
339,129,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border3,
NULL,
&IText3,
NULL,
(APTR)&SpellSaveSInfo,
NULL,
NULL
};
static UBYTE BreathSaveSIBuff[10];
static struct StringInfo BreathSaveSInfo = {
BreathSaveSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors4[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border4 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors4,
NULL
};
static struct IntuiText IText4 = {
1,0,JAM2,
-1,13,
NULL,
"Breath",
NULL
};
static struct Gadget BreathSave = {
&SpellSave,
277,129,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border4,
NULL,
&IText4,
NULL,
(APTR)&BreathSaveSInfo,
NULL,
NULL
};
static UBYTE RodSaveSIBuff[10];
static struct StringInfo RodSaveSInfo = {
RodSaveSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors5[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border5 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors5,
NULL
};
static struct IntuiText IText5 = {
1,0,JAM2,
9,13,
NULL,
"Rod",
NULL
};
static struct Gadget RodSave = {
&BreathSave,
213,129,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border5,
NULL,
&IText5,
NULL,
(APTR)&RodSaveSInfo,
NULL,
NULL
};
static UBYTE PetSaveSIBuff[10];
static struct StringInfo PetSaveSInfo = {
PetSaveSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors6[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border6 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors6,
NULL
};
static struct IntuiText IText6 = {
1,0,JAM2,
11,13,
NULL,
"Pet.",
NULL
};
static struct Gadget PetSave = {
&RodSave,
151,129,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border6,
NULL,
&IText6,
NULL,
(APTR)&PetSaveSInfo,
NULL,
NULL
};
static UBYTE ParSaveSIBuff[10];
static struct StringInfo ParSaveSInfo = {
ParSaveSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors7[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border7 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors7,
NULL
};
static struct IntuiText IText7 = {
1,0,JAM2,
8,12,
NULL,
"Par.",
NULL
};
static struct Gadget ParSave = {
&PetSave,
92,129,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border7,
NULL,
&IText7,
NULL,
(APTR)&ParSaveSInfo,
NULL,
NULL
};
static SHORT BorderVectors8[] = {
0,0,
64,0,
64,14,
0,14,
0,0
};
static struct Border Border8 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors8,
NULL
};
static struct IntuiText IText8 = {
3,0,JAM2,
13,2,
NULL,
"Write",
NULL
};
static struct Gadget WriteFile = {
&ParSave,
300,182,
61,13,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border8,
NULL,
&IText8,
NULL,
NULL,
NULL,
NULL
};
static SHORT BorderVectors9[] = {
0,0,
64,0,
64,14,
0,14,
0,0
};
static struct Border Border9 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors9,
NULL
};
static struct IntuiText IText9 = {
3,0,JAM2,
17,2,
NULL,
"Read",
NULL
};
static struct Gadget ReadFile = {
&WriteFile,
94,182,
61,13,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border9,
NULL,
&IText9,
NULL,
NULL,
NULL,
NULL
};
static SHORT BorderVectors10[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border10 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors10,
NULL
};
static struct IntuiText IText10 = {
3,0,JAM2,
-1,1,
NULL,
" 16+ ",
NULL
};
static struct Gadget ML12 = {
&ReadFile,
530,89,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border10,
NULL,
&IText10,
8,
NULL,
12,
NULL
};
static SHORT BorderVectors11[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border11 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors11,
NULL
};
static struct IntuiText IText11 = {
3,0,JAM2,
-1,1,
NULL,
"12-13+",
NULL
};
static struct Gadget ML10 = {
&ML12,
530,77,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border11,
NULL,
&IText11,
8,
NULL,
10,
NULL
};
static SHORT BorderVectors12[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border12 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors12,
NULL
};
static struct IntuiText IText12 = {
3,0,JAM2,
-1,1,
NULL,
" 8-9+ ",
NULL
};
static struct Gadget ML8 = {
&ML10,
530,65,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border12,
NULL,
&IText12,
8,
NULL,
8,
NULL
};
static SHORT BorderVectors13[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border13 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors13,
NULL
};
static struct IntuiText IText13 = {
3,0,JAM2,
-1,1,
NULL,
" 4-5+ ",
NULL
};
static struct Gadget ML6 = {
&ML8,
530,53,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border13,
NULL,
&IText13,
8,
NULL,
6,
NULL
};
static SHORT BorderVectors14[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border14 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors14,
NULL
};
static struct IntuiText IText14 = {
3,0,JAM2,
-1,1,
NULL,
"14-15+",
NULL
};
static struct Gadget ML11 = {
&ML6,
455,89,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border14,
NULL,
&IText14,
8,
NULL,
11,
NULL
};
static SHORT BorderVectors15[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border15 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors15,
NULL
};
static struct IntuiText IText15 = {
3,0,JAM2,
-1,1,
NULL,
"10-11+",
NULL
};
static struct Gadget ML9 = {
&ML11,
455,77,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border15,
NULL,
&IText15,
8,
NULL,
9,
NULL
};
static SHORT BorderVectors16[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border16 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors16,
NULL
};
static struct IntuiText IText16 = {
3,0,JAM2,
-1,1,
NULL,
" 6-7+ ",
NULL
};
static struct Gadget ML7 = {
&ML9,
454,65,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border16,
NULL,
&IText16,
8,
NULL,
7,
NULL
};
static SHORT BorderVectors17[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border17 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors17,
NULL
};
static struct IntuiText IText17 = {
3,0,JAM2,
-1,1,
NULL,
" 2-3+ ",
NULL
};
static struct Gadget ML5 = {
&ML7,
453,53,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border17,
NULL,
&IText17,
8,
NULL,
5,
NULL
};
static SHORT BorderVectors18[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border18 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors18,
NULL
};
static struct IntuiText IText18 = {
3,0,JAM2,
-1,1,
NULL,
" 1+ ",
NULL
};
static struct Gadget ML4 = {
&ML5,
529,41,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border18,
NULL,
&IText18,
8,
NULL,
4,
NULL
};
static SHORT BorderVectors19[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border19 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors19,
NULL
};
static struct IntuiText IText19 = {
3,0,JAM2,
-1,1,
NULL,
" 1 ",
NULL
};
static struct Gadget ML3 = {
&ML4,
452,41,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border19,
NULL,
&IText19,
8,
NULL,
3,
NULL
};
static SHORT BorderVectors20[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border20 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors20,
NULL
};
static struct IntuiText IText20 = {
3,0,JAM2,
4,1,
NULL,
" 1-1 ",
NULL
};
static struct Gadget ML2 = {
&ML3,
529,29,
46,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border20,
NULL,
&IText20,
8,
NULL,
2,
NULL
};
static SHORT BorderVectors21[] = {
0,0,
49,0,
49,10,
0,10,
0,0
};
static struct Border Border21 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors21,
NULL
};
static struct IntuiText IText21 = {
3,0,JAM2,
-1,1,
NULL,
" <1-1 ",
NULL
};
static struct Gadget ML1 = {
&ML2,
452,29,
46,9,
SELECTED,
RELVERIFY,
BOOLGADGET,
(APTR)&Border21,
NULL,
&IText21,
8,
NULL,
1,
NULL
};
static SHORT BorderVectors22[] = {
0,0,
64,0,
64,14,
0,14,
0,0
};
static struct Border Border22 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors22,
NULL
};
static struct IntuiText IText22 = {
3,0,JAM2,
14,3,
NULL,
"Prev",
NULL
};
static struct Gadget Prev = {
&ML1,
14,160,
61,13,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border22,
NULL,
&IText22,
NULL,
NULL,
NULL,
NULL
};
static SHORT BorderVectors23[] = {
0,0,
64,0,
64,14,
0,14,
0,0
};
static struct Border Border23 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors23,
NULL
};
static struct IntuiText IText23 = {
3,0,JAM2,
17,2,
NULL,
"Next",
NULL
};
static struct Gadget Next = {
&Prev,
14,145,
61,13,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border23,
NULL,
&IText23,
NULL,
NULL,
NULL,
NULL
};
static UBYTE LgSizeDieSIBuff[10];
static struct StringInfo LgSizeDieSInfo = {
LgSizeDieSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors24[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border24 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors24,
NULL
};
static struct Gadget LgSizeDie = {
&Next,
328,109,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border24,
NULL,
NULL,
NULL,
(APTR)&LgSizeDieSInfo,
NULL,
NULL
};
static UBYTE LgNumDieSIBuff[10];
static struct StringInfo LgNumDieSInfo = {
LgNumDieSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors25[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border25 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors25,
NULL
};
static struct Gadget LgNumDie = {
&LgSizeDie,
328,96,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border25,
NULL,
NULL,
NULL,
(APTR)&LgNumDieSInfo,
NULL,
NULL
};
static UBYTE LgDamPlusSIBuff[10];
static struct StringInfo LgDamPlusSInfo = {
LgDamPlusSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors26[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border26 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors26,
NULL
};
static struct Gadget LgDamPlus = {
&LgNumDie,
165,109,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border26,
NULL,
NULL,
NULL,
(APTR)&LgDamPlusSInfo,
NULL,
NULL
};
static UBYTE LgHitPlusSIBuff[10];
static struct StringInfo LgHitPlusSInfo = {
LgHitPlusSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors27[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border27 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors27,
NULL
};
static struct Gadget LgHitPlus = {
&LgDamPlus,
165,96,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border27,
NULL,
NULL,
NULL,
(APTR)&LgHitPlusSInfo,
NULL,
NULL
};
static UBYTE SmSizeDieSIBuff[10];
static struct StringInfo SmSizeDieSInfo = {
SmSizeDieSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors28[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border28 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors28,
NULL
};
static struct Gadget SmSizeDie = {
&LgHitPlus,
327,79,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border28,
NULL,
NULL,
NULL,
(APTR)&SmSizeDieSInfo,
NULL,
NULL
};
static UBYTE SmDamPlusSIBuff[10];
static struct StringInfo SmDamPlusSInfo = {
SmDamPlusSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors29[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border29 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors29,
NULL
};
static struct Gadget SmDamPlus = {
&SmSizeDie,
165,79,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border29,
NULL,
NULL,
NULL,
(APTR)&SmDamPlusSInfo,
NULL,
NULL
};
static UBYTE SmNumDieSIBuff[10];
static struct StringInfo SmNumDieSInfo = {
SmNumDieSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors30[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border30 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors30,
NULL
};
static struct Gadget SmNumDie = {
&SmDamPlus,
327,65,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border30,
NULL,
NULL,
NULL,
(APTR)&SmNumDieSInfo,
NULL,
NULL
};
static UBYTE SmHitPlusSIBuff[10];
static struct StringInfo SmHitPlusSInfo = {
SmHitPlusSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors31[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border31 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors31,
NULL
};
static struct Gadget SmHitPlus = {
&SmNumDie,
165,65,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border31,
NULL,
NULL,
NULL,
(APTR)&SmHitPlusSInfo,
NULL,
NULL
};
static UBYTE LevelSIBuff[10];
static struct StringInfo LevelSInfo = {
LevelSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors32[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border32 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors32,
NULL
};
static struct IntuiText IText24 = {
1,0,JAM2,
-75,1,
NULL,
"Lvl/HD ->",
NULL
};
static struct Gadget Level = {
&SmHitPlus,
366,16,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border32,
NULL,
&IText24,
NULL,
(APTR)&LevelSInfo,
NULL,
NULL
};
static SHORT BorderVectors33[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border33 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors33,
NULL
};
static struct IntuiText IText25 = {
3,0,JAM2,
0,0,
NULL,
" Large ",
NULL
};
static struct Gadget Large = {
&Level,
281,31,
55,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border33,
NULL,
&IText25,
1,
NULL,
2,
NULL
};
static SHORT BorderVectors34[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border34 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors34,
NULL
};
static struct IntuiText IText26 = {
3,0,JAM2,
-1,1,
NULL,
"Sm/Med ",
NULL
};
static struct Gadget Small = {
&Large,
213,31,
55,9,
SELECTED,
RELVERIFY,
BOOLGADGET,
(APTR)&Border34,
NULL,
&IText26,
1,
NULL,
1,
NULL
};
static SHORT BorderVectors35[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border35 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors35,
NULL
};
static struct IntuiText IText27 = {
3,0,JAM2,
0,1,
NULL,
"Monster",
NULL
};
static struct Gadget Monster = {
&Small,
349,48,
55,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border35,
NULL,
&IText27,
2,
NULL,
5,
NULL
};
static SHORT BorderVectors36[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border36 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors36,
NULL
};
static struct IntuiText IText28 = {
3,0,JAM2,
0,1,
NULL,
"M-User ",
NULL
};
static struct Gadget MagicUser = {
&Monster,
281,48,
55,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border36,
NULL,
&IText28,
2,
NULL,
4,
NULL
};
static SHORT BorderVectors37[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border37 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors37,
NULL
};
static struct IntuiText IText29 = {
3,0,JAM2,
0,1,
NULL,
" Thief ",
NULL
};
static struct Gadget Thief = {
&MagicUser,
213,48,
55,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border37,
NULL,
&IText29,
2,
NULL,
3,
NULL
};
static SHORT BorderVectors38[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border38 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors38,
NULL
};
static struct IntuiText IText30 = {
3,0,JAM2,
0,1,
NULL,
"Cleric ",
NULL
};
static struct Gadget Cleric = {
&Thief,
145,48,
55,9,
NULL,
RELVERIFY,
BOOLGADGET,
(APTR)&Border38,
NULL,
&IText30,
2,
NULL,
2,
NULL
};
static SHORT BorderVectors39[] = {
0,0,
58,0,
58,10,
0,10,
0,0
};
static struct Border Border39 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors39,
NULL
};
static struct IntuiText IText31 = {
3,0,JAM2,
0,1,
NULL,
"Fighter",
NULL
};
static struct Gadget Fighter = {
&Cleric,
76,48,
55,9,
SELECTED,
RELVERIFY,
BOOLGADGET,
(APTR)&Border39,
NULL,
&IText31,
2,
NULL,
1,
NULL
};
static UBYTE ArmorClassSIBuff[10];
static struct StringInfo ArmorClassSInfo = {
ArmorClassSIBuff,
NULL,
0,
10,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors40[] = {
0,0,
46,0,
46,11,
0,11,
0,0
};
static struct Border Border40 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors40,
NULL
};
static struct IntuiText IText32 = {
1,0,JAM2,
-43,1,
NULL,
"AC ->",
NULL
};
static struct Gadget ArmorClass = {
&Fighter,
70,31,
43,10,
NULL,
RELVERIFY+STRINGCENTER+LONGINT,
STRGADGET,
(APTR)&Border40,
NULL,
&IText32,
NULL,
(APTR)&ArmorClassSInfo,
NULL,
NULL
};
static UBYTE NameSIBuff[21];
static struct StringInfo NameSInfo = {
NameSIBuff,
UNDOBUFFER,
0,
21,
0,
0,0,0,0,0,
0,
0,
NULL
};
static SHORT BorderVectors41[] = {
0,0,
205,0,
205,11,
0,11,
0,0
};
static struct Border Border41 = {
-2,-1,
3,0,JAM1,
5,
BorderVectors41,
NULL
};
static struct IntuiText IText33 = {
1,0,JAM2,
-60,1,
NULL,
"Name ->",
NULL
};
static struct Gadget Name = {
&ArmorClass,
70,16,
202,10,
NULL,
RELVERIFY+STRINGCENTER,
STRGADGET,
(APTR)&Border41,
NULL,
&IText33,
NULL,
(APTR)&NameSInfo,
NULL,
NULL
};
#define GadgetList1 Name
static SHORT BorderVectors48[] = {
0,0,
188,0,
188,84,
0,84,
0,0
};
static struct Border Border48 = {
425,109,
3,0,JAM1,
5,
BorderVectors48,
NULL
};
static SHORT BorderVectors47[] = {
0,0,
303,0,
303,54,
0,54,
0,0
};
static struct Border Border47 = {
84,124,
3,0,JAM1,
5,
BorderVectors47,
&Border48
};
static SHORT BorderVectors46[] = {
0,0,
302,0,
302,29,
0,29,
0,0
};
static struct Border Border46 = {
85,62,
3,0,JAM1,
5,
BorderVectors46,
&Border47
};
static SHORT BorderVectors45[] = {
0,0,
143,0,
143,75,
0,75,
0,0
};
static struct Border Border45 = {
441,26,
3,0,JAM1,
5,
BorderVectors45,
&Border46
};
static SHORT BorderVectors44[] = {
0,0,
132,0,
132,15,
0,15,
0,0
};
static struct Border Border44 = {
208,28,
3,0,JAM1,
5,
BorderVectors44,
&Border45
};
static SHORT BorderVectors43[] = {
0,0,
343,0,
343,15,
0,15,
0,0
};
static struct Border Border43 = {
68,45,
3,0,JAM1,
5,
BorderVectors43,
&Border44
};
static SHORT BorderVectors42[] = {
0,0,
302,0,
302,29,
0,29,
0,0
};
static struct Border Border42 = {
85,93,
3,0,JAM1,
5,
BorderVectors42,
&Border43
};
#define BorderList1 Border42
static struct IntuiText IText53 = {
1,3,JAM2,
479,111,
NULL,
"Extra File",
NULL
};
static struct IntuiText IText52 = {
1,3,JAM2,
128,167,
NULL,
"Hand adjustment may be needed",
&IText53
};
static struct IntuiText IText51 = {
1,3,JAM2,
163,159,
NULL,
"No bonuses reflected",
&IText52
};
static struct IntuiText IText50 = {
1,3,JAM2,
139,151,
NULL,
"Monster saves approximated",
&IText51
};
static struct IntuiText IText49 = {
1,0,JAM2,
26,134,
NULL,
"Saves",
&IText50
};
static struct IntuiText IText48 = {
1,0,JAM2,
449,16,
NULL,
"Monster Hit Dice",
&IText49
};
static struct IntuiText IText47 = {
1,0,JAM2,
24,107,
NULL,
"Large",
&IText48
};
static struct IntuiText IText46 = {
1,0,JAM2,
34,97,
NULL,
"Vs.",
&IText47
};
static struct IntuiText IText45 = {
1,0,JAM2,
237,111,
NULL,
"SizeDice ->",
&IText46
};
static struct IntuiText IText44 = {
1,0,JAM2,
244,98,
NULL,
"NumDice ->",
&IText45
};
static struct IntuiText IText43 = {
1,0,JAM2,
106,110,
NULL,
"+Dam ->",
&IText44
};
static struct IntuiText IText42 = {
1,0,JAM2,
106,97,
NULL,
"+Hit ->",
&IText43
};
static struct IntuiText IText41 = {
1,0,JAM2,
5,80,
NULL,
"Small/Med",
&IText42
};
static struct IntuiText IText40 = {
1,0,JAM2,
32,69,
NULL,
"Vs.",
&IText41
};
static struct IntuiText IText39 = {
1,0,JAM2,
236,80,
NULL,
"SizeDice ->",
&IText40
};
static struct IntuiText IText38 = {
1,0,JAM2,
243,66,
NULL,
"NumDice ->",
&IText39
};
static struct IntuiText IText37 = {
1,0,JAM2,
104,80,
NULL,
"+Dam ->",
&IText38
};
static struct IntuiText IText36 = {
1,0,JAM2,
105,66,
NULL,
"+Hit ->",
&IText37
};
static struct IntuiText IText35 = {
1,0,JAM2,
149,32,
NULL,
"Size ->",
&IText36
};
static struct IntuiText IText34 = {
1,0,JAM2,
18,49,
NULL,
"Job ->",
&IText35
};
#define IntuiTextList1 IText34
static struct NewWindow NewWindowStructure1 = {
0,0,
640,200,
0,1,
GADGETDOWN+GADGETUP+CLOSEWINDOW+ACTIVEWINDOW,
WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE,
&Name,
NULL,
"Enter a Character",
NULL,
NULL,
5,5,
640,200,
WBENCHSCREEN
};
void HandleEditEvent(object)
APTR object;
{
if (object == (APTR)&Name) { AddName(object); return; }
if (object == (APTR)&ArmorClass) { AddAC(object); return; }
if (object == (APTR)&Fighter) { SelectJob(object); return; }
if (object == (APTR)&Cleric) { SelectJob(object); return; }
if (object == (APTR)&Thief) { SelectJob(object); return; }
if (object == (APTR)&MagicUser) { SelectJob(object); return; }
if (object == (APTR)&Monster) { SelectJob(object); return; }
if (object == (APTR)&Small) { ReSize(object); return; }
if (object == (APTR)&Large) { ReSize(object); return; }
if (object == (APTR)&Level) { ChangeLevel(object); return; }
if (object == (APTR)&SmHitPlus) { SmHit(object); return; }
if (object == (APTR)&SmNumDie) { SmNum(object); return; }
if (object == (APTR)&SmDamPlus) { SmDam(object); return; }
if (object == (APTR)&SmSizeDie) { SmSize(object); return; }
if (object == (APTR)&LgHitPlus) { LgHit(object); return; }
if (object == (APTR)&LgDamPlus) { LgDam(object); return; }
if (object == (APTR)&LgNumDie) { LgNum(object); return; }
if (object == (APTR)&LgSizeDie) { LgSize(object); return; }
if (object == (APTR)&Next) { NextChar(object); return; }
if (object == (APTR)&Prev) { PrevChar(object); return; }
if (object == (APTR)&ML1) { HitDice(object); return; }
if (object == (APTR)&ML2) { HitDice(object); return; }
if (object == (APTR)&ML3) { HitDice(object); return; }
if (object == (APTR)&ML4) { HitDice(object); return; }
if (object == (APTR)&ML5) { HitDice(object); return; }
if (object == (APTR)&ML7) { HitDice(object); return; }
if (object == (APTR)&ML9) { HitDice(object); return; }
if (object == (APTR)&ML11) { HitDice(object); return; }
if (object == (APTR)&ML6) { HitDice(object); return; }
if (object == (APTR)&ML8) { HitDice(object); return; }
if (object == (APTR)&ML10) { HitDice(object); return; }
if (object == (APTR)&ML12) { HitDice(object); return; }
if (object == (APTR)&ReadFile) { ReadEditFile(object); return; }
if (object == (APTR)&WriteFile) { WriteEditFile(object); return; }
if (object == (APTR)&ParSave) { Par(object); return; }
if (object == (APTR)&PetSave) { Pet(object); return; }
if (object == (APTR)&RodSave) { Rod(object); return; }
if (object == (APTR)&BreathSave) { Breath(object); return; }
if (object == (APTR)&SpellSave) { Spell(object); return; }
if (object == (APTR)&PatchReadGad) { ReadPatchFile(object); return; }
if (object == (APTR)&PasteGad) { Paste(object); return; }
}
#define HANDLEEVENT HandleEvent
/* end of PowerWindows source generation */