home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-01-06 | 54.5 KB | 1,720 lines |
- /* inc/variables contains global variables for monopoly */
-
-
- /* general usage pointers */
- /*
- struct GfxBase *GfxBase;
- struct IntuitionBase *IntuitionBase;
- */
- struct IntuiMessage *message, *infomsg, *propinfomsg, *chancemsg, *chestmsg,
- *transactmsg, *listpropmsg, *moneybagmsg, *overdrawnmsg,
- *tenpercentmsg, *auctionmsg, *offerbmsg,
- *offersmsg, *offertmsg, *whodomsg;
-
- /* Globals for displaying an image */
- struct Screen *screen1;
- struct Window *boardwindow, *instructwindow, *infowindow, *propinfowindow,
- *chancewindow, *chestwindow, *gowindow, *transactwindow,
- *listpropwindow, *moneybagwindow, *overdrawnwindow,
- *tenpercentwindow, *auctionwindow, *offerbwindow,
- *offerswindow, *offertwindow, *whodowindow, *waitwindow;
- struct RastPort *rportboard, *rportinstruct, *rportinfo, *rportpropinfo,
- *rportchance, *rportchest, *rportgo, *rporttransact,
- *rportlistprop, *rportmoneybag, *rportoverdrawn,
- *rporttenpercent, *rportauction, *rportofferb,
- *rportoffers, *rportoffert, *rportwhodo, *rportwait;
- struct ViewPort *vport1;
- struct BitMap tBitMap; /* Temp BitMap struct for small pics */
-
-
- int i, j, error;
- BYTE c;
- ULONG pBytes, bidcost, offerbcost;
- USHORT mouseX, mouseY, menunum, itemnum, subnum,
- nhp, ncp, ntp, nsp,
- /* # human, computer, total, starting players */
- gagid, /* gadgetID# */
- nowrolling, /* who's turn it is */
- typeplayer0, typeplayer1, typeplayer2, typeplayer3,
- /* HUMAN -- COMPUTER -- DEAD */
- dice0, dice1, /* amount shown on dice */
- playerat[4], /* token locations */
- freecard[4], /* number of get-out-of-jail-free cards per player */
- /* property attribute arrays */
- owner[40], propcost[40], numhouses[40], rentnone[40], rentone[40],
- renttwo[40], rentthree[40], rentfour[40], renthotel[40], numutil[4],
- numrr[4], housecost[40], cards[2][16], jaildouble[4], numdoubles,
- property, buyee, jailvectorlocation22[16][2],
- jailvectorlocation30[35][2], jailvectorlocation33[31][2],
- jailvectorlocation36[22][2];
- SHORT listproppage;
- BOOL done, endnum, endname, verifyname, nameagain, instruct,
- isinjail[4], endpal, doublerr, doubleutil, jaildoubled, trieddoubles,
- changetoken0, changetoken1, changetoken2, changetoken3,
- donepropinfo, buyfrombank, notplaying[4], ismono[40], ismorg[40],
- isutil[40], isrr[40], donechance, donechest, trydoublethrice,
- doublesrolled, donetransact, pickedprop, donelistprop, doneod,
- bid, odqpflag, didntbuyfrombank, building, mortgaging, free_parking;
- LONG bankroll[6], net_worth[4], lamount; /* player banks */
-
- char houses0[]="with no houses.",
- houses1[]="with one house.", houses2[]="with two houses.",
- houses3[]="with three houses.", houses4[]="with four houses.",
- houses5[]="with an hotel.",
- period[]=".", assess[]="Your bill is $";
- char outputstr[19], odamount[8], tenpercentbroll[8];
-
-
- /* print intructions */
- struct IntuiText Page1a, Page1b, Page1c, Page1d, Page1e, Page1f,
- Page1g, Page1h, Page1i, Page1j, Page1k, Page1l,
- Page1m, Page1n,
-
- Page2a, Page2b, Page2c, Page2d, Page2e, Page2f,
- Page2g, Page2h, Page2i, Page2j, Page2k, Page2l,
- Page2m, Page2n, Page2o, Page2p, Page2q,
-
- Page3a, Page3b, Page3c, Page3d, Page3e, Page3f,
- Page3g, Page3h, Page3i, Page3j, Page3k, Page3l,
- Page3m, Page3n, Page3o, Page3p, Page3q, Page3r,
- Page3s,
-
- Page4a, Page4b, Page4c, Page4d, Page4e, Page4f,
- Page4g, Page4h, Page4i, Page4j, Page4k, Page4l,
- Page4m, Page4n, Page4o, Page4p, Page4q, Page4r,
- Page4s,
-
- Page5a, Page5b, Page5c, Page5d, Page5e, Page5f,
- Page5g, Page5h, Page5i, Page5j, Page5k, Page5l,
- Page5m, Page5n, Page5o, Page5p, Page5q, Page5r,
- Page5s,
-
- Page6a, Page6b, Page6c, Page6d, Page6e, Page6f,
- Page6g, Page6h, Page6i, Page6j, Page6k, Page6l,
- Page6m, Page6n, Page6o, Page6p, Page6q, Page6r,
- Page6s,
-
- Page7a, Page7b, Page7c, Page7d, Page7e, Page7f,
- Page7g, Page7h, Page7i, Page7j, Page7k, Page7l,
- Page7m, Page7n, Page7o, Page7p, Page7q, Page7r,
- Page7s;
-
- struct IntuiText intro0text, intro0atext, intro1text, intro2text,
- intro3text, intro4text,
- nhptext, ncptext, xnumtext, xname0text,
- xname1text, xname2text, xname3text,
- xname3atext, xname3btext,
- xname4text, xname5text, xnamegagtext,
- verifyngagtext, denyngagtext, verifyn0text,
- verifyn1text, outstr, cname,
- name0text, name1text, name2text, name3text;
- struct IntuiText wait_LStext2 =
- {
- black, yellow, JAM1, 8, 20, NULL,
- NULL, NULL
- };
- struct IntuiText wait_LStext1 =
- {
- black, yellow, JAM1, 8, 10, NULL,
- NULL, &wait_LStext2
- };
-
- struct IntuiText CONTINUEtext =
- {
- green, black, JAM1, 48, 1, NULL,
- (UBYTE *)"CONTINUE", NULL
- };
- struct IntuiText YEStext =
- {
- green, black, JAM1, 10, 1, NULL,
- (UBYTE *)"YES", NULL
- };
- struct IntuiText NOtext =
- {
- red, black, JAM1, 5, 1, NULL,
- (UBYTE *)"NO", NULL
- };
- struct IntuiText PERCENTtext =
- {
- red, black, JAM1, 5, 1, NULL,
- (UBYTE *)"10%", NULL
- };
- struct IntuiText TAXtext =
- {
- red, black, JAM1, 5, 1, NULL,
- (UBYTE *)"$200", NULL
- };
-
- struct IntuiText dnscrolltext =
- {
- lt_gray, black, JAM1, 5, 1, NULL,
- (UBYTE *)"SCROLL DOWN", NULL
- };
- USHORT dnscrollbord[] =
- {
- -2, -2,
- 97, -2,
- 97, 10,
- -2, 10,
- -2, -2
- };
- struct Border dnscrollborder =
- {
- 0, 0, lt_gray, 0, JAM1, 5, &dnscrollbord[0], NULL
- };
-
- struct Gadget dnscrollgag =
- {
- NULL, /* next gadg */
- 220, 188,
- 96, 9,
- GADGHCOMP,
- RELVERIFY | BOTTOMBORDER,
- BOOLGADGET,
- (APTR)&dnscrollborder,
- NULL,
- &dnscrolltext,
- NULL,
- NULL,
- 33,
- NULL
- };
-
- struct IntuiText upscrolltext =
- {
- dk_gray, black, JAM1, 5, 1, NULL,
- (UBYTE *)"SCROLL UP", NULL
- };
- USHORT upscrollbord[] =
- {
- -2, -2,
- 81, -2,
- 81, 10,
- -2, 10,
- -2, -2
- };
- struct Border upscrollborder =
- {
- 0, 0, dk_gray, 0, JAM1, 5, &upscrollbord[0], NULL
- };
-
- struct Gadget upscrollgag =
- {
- NULL, /* next gadg */
- 20, 188,
- 80, 9,
- GADGHCOMP,
- RELVERIFY | BOTTOMBORDER,
- BOOLGADGET,
- (APTR)&upscrollborder,
- NULL,
- &upscrolltext,
- NULL,
- NULL,
- 32,
- NULL
- };
-
- USHORT nextpagebord[] =
- {
- -2, -2,
- 81, -2,
- 81, 10,
- -2, 10,
- -2, -2
- };
- struct Border nextpageborder =
- {
- 0, 0, green, 0, JAM1, 5, &nextpagebord[0], NULL
- };
-
- struct IntuiText nextpagetext =
- {
- green, black, JAM1, 5, 1, NULL,
- (UBYTE *)"NEXT PAGE", NULL
- };
-
- struct Gadget instructpagegag =
- {
- NULL, /* next gadg */
- 120, 188,
- 80, 9,
- GADGHCOMP,
- RELVERIFY | BOTTOMBORDER,
- BOOLGADGET,
- (APTR)&nextpageborder,
- NULL,
- &nextpagetext,
- NULL,
- NULL,
- 31,
- NULL
- };
- struct NewWindow ninstructw = {
- 0, 0, /* Left, Top */
- 320, 200, /* Width, Height */
- yellow, purple, /* detail, block pens */
- CLOSEWINDOW | GADGETUP | RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | WINDOWCLOSE, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- (UBYTE *)" COMPUTER SPECIFIC INSTRUCTIONS",/* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 320, 200, /* Minimums */
- 320, 200, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct IntuiText instructIT[SHOW_LINES];
- struct IntuiMessage *instructmsg;
- UBYTE *instructline[MAX_LINES+1];
- USHORT line0_text=0;
- SHORT context_line;
-
- struct Gadget nhpgag, ncpgag, xnumgag, name0gag, name1gag, name2gag,
- name3gag, xnamegag, verifyngag, denyngag,
- donepropinfogag, donechancegag, bidgag, nobidgag;
- USHORT line0bord[] =
- {
- 5, 0,
- 313, 0
- };
- struct Border line13border =
- {
- 0, 180, dk_gray, black, JAM1, 2, &line0bord[0], NULL
- };
- struct Border line12border =
- {
- 0, 168, dk_gray, black, JAM1, 2, &line0bord[0], &line13border
- };
- struct Border line11border =
- {
- 0, 156, dk_gray, black, JAM1, 2, &line0bord[0], &line12border
- };
- struct Border line10border =
- {
- 0, 144, dk_gray, black, JAM1, 2, &line0bord[0], &line11border
- };
- struct Border line9border =
- {
- 0, 132, dk_gray, black, JAM1, 2, &line0bord[0], &line10border
- };
- struct Border line8border =
- {
- 0, 120, dk_gray, black, JAM1, 2, &line0bord[0], &line9border
- };
- struct Border line7border =
- {
- 0, 108, dk_gray, black, JAM1, 2, &line0bord[0], &line8border
- };
- struct Border line6border =
- {
- 0, 96, dk_gray, black, JAM1, 2, &line0bord[0], &line7border
- };
- struct Border line5border =
- {
- 0, 84, dk_gray, black, JAM1, 2, &line0bord[0], &line6border
- };
- struct Border line4border =
- {
- 0, 72, dk_gray, black, JAM1, 2, &line0bord[0], &line5border
- };
- struct Border line3border =
- {
- 0, 60, dk_gray, black, JAM1, 2, &line0bord[0], &line4border
- };
- struct Border line2border =
- {
- 0, 48, dk_gray, black, JAM1, 2, &line0bord[0], &line3border
- };
- struct Border line1border =
- {
- 0, 36, dk_gray, black, JAM1, 2, &line0bord[0], &line2border
- };
- struct Border line0border =
- {
- 0, 24, dk_gray, black, JAM1, 2, &line0bord[0], &line1border
- };
-
-
-
- struct Gadget nextpagegag =
- {
- NULL,
- 120, 185,
- 80, 10,
- GADGHCOMP,
- GADGIMMEDIATE | RELVERIFY,
- BOOLGADGET,
- (APTR)&nextpageborder,
- NULL,
- &nextpagetext,
- NULL,
- NULL,
- 31,
- NULL
- };
- USHORT bidbord[] =
- {
- -1, -1,
- 44, -1,
- 44, 9,
- -1, 9,
- };
- struct Border bidborder =
- {
- -1, -1, red, black, JAM1,
- 4, &bidbord[0], NULL
- };
-
- USHORT nobord[] =
- {
- -2, -2,
- 31, -2,
- 31, 10,
- -2, 10,
- -2, -2
- };
- USHORT yesbord[] =
- {
- -2, -2,
- 41, -2,
- 41, 10,
- -2, 10,
- -2, -2
- };
- USHORT taxbord[] =
- {
- -2, -2,
- 51, -2,
- 51, 10,
- -2, 10,
- -2, -2
- };
- USHORT continuebord[] =
- {
- -2, -2,
- 176, -2,
- 176, 10,
- -2, 10,
- -2, -2
- };
- struct Border continueborder =
- {
- 0, 0, green, 0, JAM1, 5,
- &continuebord[0], NULL
- };
- struct Border yesborder =
- {
- 0, 0, green, 0, JAM1, 5, &yesbord[0], NULL
- };
- struct Border noborder =
- {
- 0, 0, red, 0, JAM1, 5, &nobord[0], NULL
- };
- struct Border taxborder =
- {
- 0, 0, red, 0, JAM1, 5, &taxbord[0], NULL
- };
- struct Border percentborder =
- {
- 0, 0, red, 0, JAM1, 5, &yesbord[0], NULL
- };
- struct Gadget nogag =
- {
- NULL,
- NULL, NULL,
- 30, 10,
- GADGHCOMP,
- GADGIMMEDIATE | RELVERIFY,
- BOOLGADGET,
- (APTR)&noborder,
- NULL,
- &NOtext,
- NULL,
- NULL,
- 2,
- NULL
- };
- struct Gadget yesgag =
- {
- &nogag,
- NULL, NULL,
- 40, 10,
- GADGHCOMP,
- GADGIMMEDIATE | RELVERIFY,
- BOOLGADGET,
- (APTR)&yesborder,
- NULL,
- &YEStext,
- NULL,
- NULL,
- 1,
- NULL
- };
- struct Gadget continuegag =
- {
- NULL,
- 8, 130,
- 176, 10,
- GADGHCOMP,
- GADGIMMEDIATE | RELVERIFY,
- BOOLGADGET,
- (APTR)&continueborder,
- NULL,
- &CONTINUEtext,
- NULL,
- NULL,
- 0,
- NULL
- };
- struct Gadget taxgag =
- {
- NULL,
- NULL, NULL,
- 50, 10,
- GADGHCOMP,
- GADGIMMEDIATE | RELVERIFY,
- BOOLGADGET,
- (APTR)&taxborder,
- NULL,
- &TAXtext,
- NULL,
- NULL,
- 29,
- NULL
- };
- struct Gadget percentgag =
- {
- &taxgag,
- NULL, NULL,
- 40, 10,
- GADGHCOMP,
- GADGIMMEDIATE | RELVERIFY,
- BOOLGADGET,
- (APTR)&percentborder,
- NULL,
- &PERCENTtext,
- NULL,
- NULL,
- 28,
- NULL
- };
- struct StringInfo nhpinfo, ncpinfo,
- n0info, n1info, n2info, n3info;
- UBYTE name0[35] = {"Ed"};
- UBYTE name1[35] = {"Kay"};
- UBYTE name2[35] = {"enter a name here"};
- UBYTE name3[35] = {"test name"};
- UBYTE nameundobuf[35];
- UBYTE nbufnhp[2] = {"0"};
- UBYTE nbufncp[2] = {"0"};
- UBYTE nbufbid[6] = {"0"};
- UBYTE nbufofferb[6] = {"0"};
- UBYTE undobufi[6];
-
- /* variables for pallete control */
- struct Gadget redgag, greengag, bluegag, /* sliders */
- palc25gag, palc26gag, palc27gag, palc28gag, /* color boxes */
- palokgag, restorepalgag, cancelpalgag; /* palette commands */
- struct PropInfo rpinfo, gpinfo, bpinfo;
- struct IntuiText palintrotext, redgagtext, greengagtext, bluegagtext,
- paloktext, restorepaltext;
- struct IntuiText transactnote0 =
- {
- white, black,
- JAM1,
- 5, 20,
- NULL, NULL, NULL
- };
- struct IntuiText transactnote1 =
- {
- white, black,
- JAM1,
- 5, 30,
- NULL, NULL, NULL
- };
- struct IntuiText transactnote2 =
- {
- white, black,
- JAM1,
- 5, 40,
- NULL, NULL, NULL
- };
- struct IntuiText transactnote3 =
- {
- yellow, black,
- JAM1,
- 5, 50,
- NULL, NULL, NULL
- };
- struct IntuiText transactnote4 =
- {
- yellow, black,
- JAM1,
- 5, 60,
- NULL, NULL, NULL
- };
- struct IntuiText transactnote5 =
- {
- yellow, black,
- JAM1,
- 5, 70,
- NULL, NULL, NULL
- };
- struct Image redknob, greenknob, blueknob; /* used by autoknob */
-
- /* color box images use planepick to set color */
- struct Image image25 = {
- 0, 0, 20, 20, 1, NULL, 0, 25, NULL };
- struct Image image26 = {
- 0, 0, 20, 20, 1, NULL, 0, 26, NULL };
- struct Image image27 = {
- 0, 0, 20, 20, 1, NULL, 0, 27, NULL };
- struct Image image28 = {
- 0, 0, 20, 20, 1, NULL, 0, 28, NULL };
-
- USHORT palokbord[] = {
- -3, -2,
- 73, -2,
- 73, 10,
- -3, 10,
- -3, -2 };
-
- USHORT restorepalbord[] = {
- -2, -2,
- 176, -2,
- 176, 10,
- -2, 10,
- -2, -2 };
-
- struct Border palokborder = {
- 0, 0, green, 0, JAM1, 5,
- &palokbord[0], NULL };
-
-
- struct Border restorepalborder = {
- 0, 0, orange, 0, JAM1, 5,
- &restorepalbord[0], NULL };
-
- /* variables for get player information */
- USHORT namebord[] = {
- -3, -2,
- 301, -2,
- 301, 10,
- -3, 10,
- -3, -2 };
-
- struct Border name0border = {
- 0, 0,
- lt_blue, 0, JAM1,
- 5,
- &namebord[0],
- NULL };
-
- struct Border name1border = {
- 0, 0,
- purple, 0, JAM1,
- 5,
- &namebord[0],
- NULL };
-
- struct Border name2border = {
- 0, 0,
- yellow, 0, JAM1,
- 5,
- &namebord[0],
- NULL };
-
- struct Border name3border = {
- 0, 0,
- dk_blue, 0, JAM1,
- 5,
- &namebord[0],
- NULL };
-
- USHORT xnamebord[] = {
- -3, -2,
- 162, -2,
- 162, 10,
- -3, 10,
- -3, -2 };
-
- struct Border xnameborder = {
- 0, 0,
- green, 0, JAM1,
- 5,
- &xnamebord[0],
- NULL };
-
- USHORT verifynamebord[] = {
- -3, -2,
- 162, -2,
- 162, 10,
- -3, 10,
- -3, -2 };
-
- struct Border verifynborder = {
- 0, 0,
- green, 0, JAM1,
- 5,
- &verifynamebord[0],
- NULL };
-
- USHORT denynamebord[] = {
- -3, -2,
- 98, -2,
- 98, 10,
- -3, 10,
- -3, -2 };
-
- struct Border denynborder = {
- 0, 0,
- red, 0, JAM1,
- 5,
- &denynamebord[0],
- NULL };
-
- USHORT xnbord[] = {
- -3, -2,
- 65, -2,
- 65, 10,
- -3, 10,
- -3, -2 };
-
- struct Border xnborder = {
- 0, 0,
- green, 0, JAM1,
- 5,
- &xnbord[0],
- NULL };
-
- USHORT nhpbord[] = {
- 9, -1,
- 16, -1,
- 16, 10,
- 9, 10,
- 9, -1 };
-
- USHORT nhpoutline[] = {
- -76, -15,
- 111, -15,
- 111, 0,
- 24, 0,
- 24, 12,
- -1, 12,
- -1, 0,
- -76, 0,
- -76, -15 };
-
- struct Border nhpobord = {
- 0, 0,
- lt_blue, 0, JAM1,
- 9,
- &nhpoutline[0],
- NULL };
-
- struct Border nhpborder = {
- -1, -1, /* leftedge, topedge */
- lt_blue, 0, JAM1, /* fpen, bpen */
- 5, /* (#vertices + 1) = count */
- &nhpbord[0], /* pointer to vertex array */
- &nhpobord }; /* pointer to next struct Border */
-
- USHORT ncpbord[] = {
- 9, -1,
- 16, -1,
- 16, 10,
- 9, 10,
- 9, -1 };
-
- USHORT ncpoutline[] = {
- -91, -15,
- 120, -15,
- 120, 0,
- 24, 0,
- 24, 12,
- -1, 12,
- -1, 0,
- -91, 0,
- -91, -15 };
-
- struct Border ncpobord = {
- 0, 0,
- 13, 0, JAM1,
- 9,
- &ncpoutline[0],
- NULL };
-
- struct Border ncpborder = {
- -1, -1, /* leftedge, topedge */
- 13, 0, JAM1, /* fpen, bpen */
- 5, /* (#vertices + 1) = count */
- &ncpbord[0], /* pointer to vertex array */
- &ncpobord }; /* pointer to next struct Border */
-
- struct GelsInfo GInfo; /* For all Gels. */
-
- struct Bob *Redbob, *Greenbob, *Bluebob, *Yellowbob;
-
- SHORT Reddata[35] = {
- 14336, 31744, 65024, 32256, 32256, 15360, 0,
- 0, 0, 0, 32768, 32768, 16384, 14336,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 30720, 64512, 64512, 64512, 31744, 14336,
- 0, 30720, 64512, 31744, 31744, 15360, 0
- };
-
- SHORT Greendata[35] = {
- 14336, 1024, 512, 512, 512, 0, 0,
- 0, 30720, 64512, 64512, 64512, 31744, 14336,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 30720, 64512, 64512, 64512, 31744, 14336,
- 0, 30720, 64512, 31744, 31744, 15360, 0
- };
-
- SHORT Bluedata[35] = {
- 14336, 31744, 65024, 32256, 32256, 15360, 0,
- 0, 30720, 64512, 64512, 64512, 31744, 14336,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 30720, 64512, 64512, 64512, 31744, 14336,
- 0, 30720, 64512, 31744, 31744, 15360, 0
- };
-
- SHORT Yellowdata[35] = {
- 14336, 1024, 512, 512, 512, 0, 0,
- 0, 0, 0, 32768, 32768, 16384, 14336,
- 0, 30720, 64512, 31744, 31744, 15360, 0,
- 0, 30720, 64512, 64512, 64512, 31744, 14336,
- 0, 30720, 64512, 31744, 31744, 15360, 0
- };
-
-
- USHORT *Red_chip = 0;
- USHORT *Green_chip = 0;
- USHORT *Blue_chip = 0;
- USHORT *Yellow_chip = 0;
-
- /* initial coordinates for bob */
- USHORT startRX, startRY, startGX, startGY,
- startBX, startBY, startYX, startYY;
-
-
- /* arrays to hold locations for tokens on each property */
-
- USHORT go[2][4] = {
- /* R G B Y */
- { 266, 281, 281, 266 }, /* X values */
- { 178, 178, 190, 190 } /* Y values */
- };
- USHORT med[2][4] = {
- /* R G B Y */
- { 242, 251, 251, 242 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT cc1[2][4] = {
- /* R G B Y */
- { 221, 230, 221, 230 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT bal[2][4] = {
- /* R G B Y */
- { 200, 209, 200, 209 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT itax[2][4] = {
- /* R G B Y */
- { 179, 188, 179, 188 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT rrr[2][4] = {
- /* R G B Y */
- { 150, 164, 150, 164 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT or[2][4] = {
- /* R G B Y */
- { 125, 134, 125, 134 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT c1[2][4] = {
- /* R G B Y */
- { 104, 113, 104, 113 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT ver[2][4] = {
- /* R G B Y */
- { 83, 92, 83, 92 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT con[2][4] = {
- /* R G B Y */
- { 62, 71, 62, 71 }, /* X values */
- { 181, 181, 190, 190 } /* Y values */
- };
- USHORT vis[2][4] = {
- /* R G B Y */
- { 27, 27, 36, 49 }, /* X values */
- { 177, 187, 192, 192 } /* Y values */
- };
- USHORT stc[2][4] = {
- /* R G B Y */
- { 44, 39, 33, 27 }, /* X values */
- { 159, 165, 159, 165 } /* Y values */
- };
- USHORT eco[2][4] = {
- /* R G B Y */
- { 51, 44, 36, 29 }, /* X values */
- { 141, 149, 141, 149 } /* Y values */
- };
- USHORT sts[2][4] = {
- /* R G B Y */
- { 44, 39, 33, 27 }, /* X values */
- { 125, 131, 125, 131 } /* Y values */
- };
- USHORT va[2][4] = {
- /* R G B Y */
- { 45, 39, 33, 27 }, /* X values */
- { 112, 117, 112, 117 } /* Y values */
- };
- USHORT rrp[2][4] = {
- /* R G B Y */
- { 50, 44, 37, 30 }, /* X values */
- { 92, 101, 92, 101 } /* Y values */
- };
- USHORT stj[2][4] = {
- /* R G B Y */
- { 44, 38, 32, 26 }, /* X values */
- { 74, 79, 74, 79 } /* Y values */
- };
- USHORT cc2[2][4] = {
- /* R G B Y */
- { 51, 43, 35, 28 }, /* X values */
- { 60, 64, 60, 64 } /* Y values */
- };
- USHORT tn[2][4] = {
- /* R G B Y */
- { 44, 38, 32, 26 }, /* X values */
- { 44, 49, 44, 49 } /* Y values */
- };
- USHORT ny[2][4] = {
- /* R G B Y */
- { 44, 38, 32, 26 }, /* X values */
- { 29, 34, 29, 34 } /* Y values */
- };
- USHORT fp[2][4] = {
- /* R G B Y */
- { 47, 47, 33, 33 }, /* X values */
- { 16, 5, 5, 16 } /* Y values */
- };
- USHORT ky[2][4] = {
- /* R G B Y */
- { 71, 71, 62, 62 }, /* X values */
- { 12, 3, 3, 12 } /* Y values */
- };
- USHORT c2[2][4] = {
- /* R G B Y */
- { 92, 92, 83, 83 }, /* X values */
- { 17, 6, 6, 17 } /* Y values */
- };
- USHORT in[2][4] = {
- /* R G B Y */
- { 113, 113, 104, 104 }, /* X values */
- { 12, 3, 3, 12 } /* Y values */
- };
- USHORT il[2][4] = {
- /* R G B Y */
- { 134, 134, 125, 125 }, /* X values */
- { 12, 3, 3, 12 } /* Y values */
- };
- USHORT rrb[2][4] = {
- /* R G B Y */
- { 164, 164, 148, 148 }, /* X values */
- { 17, 4, 4, 17 } /* Y values */
- };
- USHORT at[2][4] = {
- /* R G B Y */
- { 188, 188, 179, 179 }, /* X values */
- { 12, 3, 3, 12 } /* Y values */
- };
- USHORT ven[2][4] = {
- /* R G B Y */
- { 209, 209, 200, 200 }, /* X values */
- { 12, 3, 3, 12 } /* Y values */
- };
- USHORT ww[2][4] = {
- /* R G B Y */
- { 231, 231, 221, 221 }, /* X values */
- { 16, 6, 6, 16 } /* Y values */
- };
- USHORT mar[2][4] = {
- /* R G B Y */
- { 252, 252, 243, 243 }, /* X values */
- { 12, 3, 3, 12 } /* Y values */
- };
- USHORT gtj[2][4] = {
- /* R G B Y */
- { 283, 283, 267, 267 }, /* X values */
- { 16, 6, 6, 16 } /* Y values */
- };
- USHORT pac[2][4] = {
- /* R G B Y */
- { 281, 287, 269, 275 }, /* X values */
- { 29, 34, 29, 34 } /* Y values */
- };
- USHORT nc[2][4] = {
- /* R G B Y */
- { 281, 287, 267, 275 }, /* X values */
- { 44, 49, 44, 49 } /* Y values */
- };
- USHORT cc3[2][4] = {
- /* R G B Y */
- { 277, 284, 263, 270 }, /* X values */
- { 59, 64, 59, 64 } /* Y values */
- };
- USHORT pen[2][4] = {
- /* R G B Y */
- { 281, 287, 269, 275 }, /* X values */
- { 74, 79, 74, 79 } /* Y values */
- };
- USHORT rrs[2][4] = {
- /* R G B Y */
- { 283, 283, 265, 265 }, /* X values */
- { 92, 102, 92, 102 } /* Y values */
- };
- USHORT c3[2][4] = {
- /* R G B Y */
- { 278, 285, 263, 271 }, /* X values */
- { 114, 119, 114, 119 } /* Y values */
- };
- USHORT pp[2][4] = {
- /* R G B Y */
- { 281, 287, 269, 275 }, /* X values */
- { 129, 134, 129, 134 } /* Y values */
- };
- USHORT ptax[2][4] = {
- /* R G B Y */
- { 278, 285, 263, 270 }, /* X values */
- { 145, 149, 145, 149 } /* Y values */
- };
- USHORT bw[2][4] = {
- /* R G B Y */
- { 281, 287, 269, 275 }, /* X values */
- { 159, 164, 159, 164 } /* Y values */
- };
-
- USHORT injail[2][4] = {
- /* R G B Y */
- { 38, 50, 38, 50 }, /* X values */
- { 174, 174, 183, 183 } /* Y values */
- };
-
- struct Menu Menu0, /* PROJECT */
- Menu1, /* TRANSACTIONS */
- Menu2, /* DEALS */
- Menu3, /* ROLL */
- Menu4, /* DIRECTIONS */
- Menu5, /* TRANSACT-PROPS */
- Menu6, /* PROP-TRANSACTIONS */
- Menu7, /* PROP-DEALS */
- Menu8, /* LISTPROP.page */
- Menu9, /* LISTPROP.prop */
- Menu10, /* OD-TRANSACTIONS */
- Menu11, /* OD-DEALS */
- Menu12, /* AUCTION player name*/
- Menu13, /* OFFER-BUY.buyer */
- Menu14, /* OFFER-BUY.assets */
- Menu15, /* OFFER-SELL.to_whom */
- Menu16; /* AUCTION info */
-
- struct MenuItem Menu0Item0, /* Change Token Colors */
- Menu0Item1, /* New Game */
- Menu0Item2, /* Old Game */
- Menu0Item3, /* Save Game */
- Menu0Item4, /* QUIT */
-
- Menu1Item0, /* Build House */
- Menu1Item0Sub0, /* player names */
- Menu1Item0Sub1, /* player names */
- Menu1Item0Sub2, /* player names */
- Menu1Item0Sub3, /* player names */
- Menu1Item1, /* Sell House */
- Menu1Item1Sub0, /* player names */
- Menu1Item1Sub1, /* player names */
- Menu1Item1Sub2, /* player names */
- Menu1Item1Sub3, /* player names */
- Menu1Item2, /* Mortgage Property */
- Menu1Item2Sub0, /* player names */
- Menu1Item2Sub1, /* player names */
- Menu1Item2Sub2, /* player names */
- Menu1Item2Sub3, /* player names */
- Menu1Item3, /* Lift Mortgage */
- Menu1Item3Sub0, /* player names */
- Menu1Item3Sub1, /* player names */
- Menu1Item3Sub2, /* player names */
- Menu1Item3Sub3, /* player names */
- Menu1Item4, /* Review Property */
- Menu1Item5, /* View Title Deeds */
- Menu2Item0, /* Offer To Sell */
- Menu2Item1, /* Offer To Buy */
- Menu2Item2, /* Offer To Trade */
- Menu2Item3, /* Examine Bankroll */
- Menu2Item3Sub0, /* player 1 */
- Menu2Item3Sub1, /* player 2 */
- Menu2Item3Sub2, /* player 3 */
- Menu2Item3Sub3, /* player 4 */
-
- Menu3Item0, /* Roll Dice */
- Menu3Item1, /* Use Get Out Free Card */
- Menu3Item2, /* Try To Roll Doubles */
- Menu3Item3, /* Pay $50 */
-
- Menu4Item0, /* Next Page */
- Menu4Item1, /* Previous Page */
- Menu4Item2, /* Leave Instructions */
- Menu5Item0, /* PURPLE */
- Menu5Item0Sub0, /* MEDITERRANIAN */
- Menu5Item0Sub1, /* BALTIC */
- Menu5Item1, /* LT_BLUE */
- Menu5Item1Sub0, /* ORIENTAL */
- Menu5Item1Sub1, /* VERMONT */
- Menu5Item1Sub2, /* CONNECTICUT */
- Menu5Item2, /* MAROON */
- Menu5Item2Sub0, /* ST. CHARLES */
- Menu5Item2Sub1, /* STATES */
- Menu5Item2Sub2, /* VIRGINIA */
- Menu5Item3, /* ORANGE */
- Menu5Item3Sub0, /* ST. JAMES */
- Menu5Item3Sub1, /* TENNESSEE */
- Menu5Item3Sub2, /* NEW YORK */
- Menu5Item4, /* RED */
- Menu5Item4Sub0, /* KENTUCKY */
- Menu5Item4Sub1, /* INDIANA */
- Menu5Item4Sub2, /* ILLINOIS */
- Menu5Item5, /* YELLOW */
- Menu5Item5Sub0, /* ATLANTIC */
- Menu5Item5Sub1, /* VENTNOR */
- Menu5Item5Sub2, /* MARVIN */
- Menu5Item6, /* GREEN */
- Menu5Item6Sub0, /* PACIFIC */
- Menu5Item6Sub1, /* NORTH CAROLINA */
- Menu5Item6Sub2, /* PENNSYLVANIA */
- Menu5Item7, /* DK_BLUE */
- Menu5Item7Sub0, /* PARK PLACE */
- Menu5Item7Sub1, /* BOARDWALK */
- Menu5Item8, /* RAILROADS */
- Menu5Item8Sub0, /* READING */
- Menu5Item8Sub1, /* PENNSYLVANIA */
- Menu5Item8Sub2, /* B. & O. */
- Menu5Item8Sub3, /* SHORT LINE */
- Menu5Item9, /* UTILITIES */
- Menu5Item9Sub0, /* ELECTRIC CO. */
- Menu5Item9Sub1, /* WATER WORKS */
- Menu6Item0, /* BUILD HOUSE */
- Menu6Item0Sub0, /* player names */
- Menu6Item0Sub1, /* player names */
- Menu6Item0Sub2, /* player names */
- Menu6Item0Sub3, /* player names */
- Menu6Item1, /* SELL HOUSE */
- Menu6Item1Sub0, /* player names */
- Menu6Item1Sub1, /* player names */
- Menu6Item1Sub2, /* player names */
- Menu6Item1Sub3, /* player names */
- Menu6Item2, /* MORTGAGE PROP */
- Menu6Item2Sub0, /* player names */
- Menu6Item2Sub1, /* player names */
- Menu6Item2Sub2, /* player names */
- Menu6Item2Sub3, /* player names */
- Menu6Item3, /* LIFT MORTGAGE */
- Menu6Item3Sub0, /* player names */
- Menu6Item3Sub1, /* player names */
- Menu6Item3Sub2, /* player names */
- Menu6Item3Sub3, /* player names */
- Menu6Item4, /* REVIEW PROP */
- Menu6Item5, /* VIEW TITLES */
- Menu7Item0, /* OFFER SELL */
- Menu7Item1, /* OFFER BUY */
- Menu7Item2, /* OFFER TRADE */
- Menu7Item3, /* EXAMINE BANKROLL */
- Menu7Item3Sub0, /* who's? */
- Menu7Item3Sub1, /* who's? */
- Menu7Item3Sub2, /* who's? */
- Menu7Item3Sub3, /* who's? */
- Menu8Item0, /* Next Page */
- Menu8Item1, /* Previous Page */
- Menu8Item2, /* Leave Instructions */
- Menu8Item3, /* EXAMINE BANKROLL */
- Menu8Item3Sub0, /* who's? */
- Menu8Item3Sub1, /* who's? */
- Menu8Item3Sub2, /* who's? */
- Menu8Item3Sub3, /* who's? */
- Menu9Item0, /* PURPLE */
- Menu9Item0Sub0, /* MEDITERRANIAN */
- Menu9Item0Sub1, /* BALTIC */
- Menu9Item1, /* LT_BLUE */
- Menu9Item1Sub0, /* ORIENTAL */
- Menu9Item1Sub1, /* VERMONT */
- Menu9Item1Sub2, /* CONNECTICUT */
- Menu9Item2, /* MAROON */
- Menu9Item2Sub0, /* ST. CHARLES */
- Menu9Item2Sub1, /* STATES */
- Menu9Item2Sub2, /* VIRGINIA */
- Menu9Item3, /* ORANGE */
- Menu9Item3Sub0, /* ST. JAMES */
- Menu9Item3Sub1, /* TENNESSEE */
- Menu9Item3Sub2, /* NEW YORK */
- Menu9Item4, /* RED */
- Menu9Item4Sub0, /* KENTUCKY */
- Menu9Item4Sub1, /* INDIANA */
- Menu9Item4Sub2, /* ILLINOIS */
- Menu9Item5, /* YELLOW */
- Menu9Item5Sub0, /* ATLANTIC */
- Menu9Item5Sub1, /* VENTNOR */
- Menu9Item5Sub2, /* MARVIN */
- Menu9Item6, /* GREEN */
- Menu9Item6Sub0, /* PACIFIC */
- Menu9Item6Sub1, /* NORTH CAROLINA */
- Menu9Item6Sub2, /* PENNSYLVANIA */
- Menu9Item7, /* DK_BLUE */
- Menu9Item7Sub0, /* PARK PLACE */
- Menu9Item7Sub1, /* BOARDWALK */
- Menu9Item8, /* RAILROADS */
- Menu9Item8Sub0, /* READING */
- Menu9Item8Sub1, /* PENNSYLVANIA */
- Menu9Item8Sub2, /* B. & O. */
- Menu9Item8Sub3, /* SHORT LINE */
- Menu9Item9, /* UTILITIES */
- Menu9Item9Sub0, /* ELECTRIC CO. */
- Menu9Item9Sub1, /* WATER WORKS */
- Menu10Item0, /* BUILD HOUSE */
- Menu10Item0Sub0, /* player names */
- Menu10Item0Sub1, /* player names */
- Menu10Item0Sub2, /* player names */
- Menu10Item0Sub3, /* player names */
- Menu10Item1, /* SELL HOUSE */
- Menu10Item1Sub0, /* player names */
- Menu10Item1Sub1, /* player names */
- Menu10Item1Sub2, /* player names */
- Menu10Item1Sub3, /* player names */
- Menu10Item2, /* MORTGAGE PROP */
- Menu10Item2Sub0, /* player names */
- Menu10Item2Sub1, /* player names */
- Menu10Item2Sub2, /* player names */
- Menu10Item2Sub3, /* player names */
- Menu10Item3, /* LIFT MORTGAGE */
- Menu10Item3Sub0, /* player names */
- Menu10Item3Sub1, /* player names */
- Menu10Item3Sub2, /* player names */
- Menu10Item3Sub3, /* player names */
- Menu10Item4, /* REVIEW PROP */
- Menu10Item5, /* VIEW TITLES */
- Menu11Item0, /* OFFER SELL */
- Menu11Item1, /* OFFER BUY */
- Menu11Item2, /* OFFER TRADE */
- Menu11Item3, /* EXAMINE BANKROLL */
- Menu11Item3Sub0, /* who's? */
- Menu11Item3Sub1, /* who's? */
- Menu11Item3Sub2, /* who's? */
- Menu11Item3Sub3, /* who's? */
- Menu12Item0, /* player */
- Menu12Item1, /* with */
- Menu12Item2, /* highest */
- Menu12Item3, /* bid */
- Menu13Item0, /* OFFER-BUY player 0 */
- Menu13Item1, /* player 1 */
- Menu13Item2, /* player 2 */
- Menu13Item3, /* player 3 */
- Menu14Item0, /* OFFER-BUY -- PURPLE */
- Menu14Item0Sub0, /* MEDITERRANIAN */
- Menu14Item0Sub1, /* BALTIC */
- Menu14Item1, /* LT_BLUE */
- Menu14Item1Sub0, /* ORIENTAL */
- Menu14Item1Sub1, /* VERMONT */
- Menu14Item1Sub2, /* CONNECTICUT */
- Menu14Item2, /* MAROON */
- Menu14Item2Sub0, /* ST. CHARLES */
- Menu14Item2Sub1, /* STATES */
- Menu14Item2Sub2, /* VIRGINIA */
- Menu14Item3, /* ORANGE */
- Menu14Item3Sub0, /* ST. JAMES */
- Menu14Item3Sub1, /* TENNESSEE */
- Menu14Item3Sub2, /* NEW YORK */
- Menu14Item4, /* RED */
- Menu14Item4Sub0, /* KENTUCKY */
- Menu14Item4Sub1, /* INDIANA */
- Menu14Item4Sub2, /* ILLINOIS */
- Menu14Item5, /* YELLOW */
- Menu14Item5Sub0, /* ATLANTIC */
- Menu14Item5Sub1, /* VENTNOR */
- Menu14Item5Sub2, /* MARVIN */
- Menu14Item6, /* GREEN */
- Menu14Item6Sub0, /* PACIFIC */
- Menu14Item6Sub1, /* NORTH CAROLINA */
- Menu14Item6Sub2, /* PENNSYLVANIA */
- Menu14Item7, /* DK_BLUE */
- Menu14Item7Sub0, /* PARK PLACE */
- Menu14Item7Sub1, /* BOARDWALK */
- Menu14Item8, /* RAILROADS */
- Menu14Item8Sub0, /* READING */
- Menu14Item8Sub1, /* PENNSYLVANIA */
- Menu14Item8Sub2, /* B. & O. */
- Menu14Item8Sub3, /* SHORT LINE */
- Menu14Item9, /* UTILITIES */
- Menu14Item9Sub0, /* ELECTRIC CO. */
- Menu14Item9Sub1, /* WATER WORKS */
- Menu14Item10, /* GET-OUT-JAIL-FREE */
- Menu15Item0, /* player name */
- Menu15Item1, /* player name */
- Menu15Item2, /* player name */
- Menu15Item3, /* player name */
- Menu16Item0, /* review prop */
- Menu16Item1, /* title deeds */
- Menu16Item2, /* bankroll */
- Menu16Item2Sub0,
- Menu16Item2Sub1,
- Menu16Item2Sub2,
- Menu16Item2Sub3;
-
-
- struct IntuiText M0I0_text, M0I1_text, M0I2_text, M0I3_text, M0I4_text,
- M1I0_text, M1I0S0_text, M1I0S1_text, M1I0S2_text,
- M1I0S3_text,
- M1I1_text, M1I1S0_text, M1I1S1_text, M1I1S2_text,
- M1I1S3_text,
- M1I2_text, M1I2S0_text, M1I2S1_text, M1I2S2_text,
- M1I2S3_text,
- M1I3_text, M1I3S0_text, M1I3S1_text, M1I3S2_text,
- M1I3S3_text,
- M1I4_text, M1I5_text,
- M2I0_text, M2I1_text, M2I2_text, M2I3_text,
- M2I3S0_text, M2I3S1_text, M2I3S2_text, M2I3S3_text,
- M3I0_text, M3I1_text, M3I2_text, M3I3_text,
- M4I0_text, M4I1_text, M4I2_text,
- M5I0_text, M5I0S0_text, M5I0S1_text,
- M5I1_text, M5I1S0_text, M5I1S1_text, M5I1S2_text,
- M5I2_text, M5I2S0_text, M5I2S1_text, M5I2S2_text,
- M5I3_text, M5I3S0_text, M5I3S1_text, M5I3S2_text,
- M5I4_text, M5I4S0_text, M5I4S1_text, M5I4S2_text,
- M5I5_text, M5I5S0_text, M5I5S1_text, M5I5S2_text,
- M5I6_text, M5I6S0_text, M5I6S1_text, M5I6S2_text,
- M5I7_text, M5I7S0_text, M5I7S1_text,
- M5I8_text, M5I8S0_text, M5I8S1_text, M5I8S2_text,
- M5I8S3_text,
- M5I9_text, M5I9S0_text, M5I9S1_text,
- M6I0_text, M6I0S0_text, M6I0S1_text, M6I0S2_text,
- M6I0S3_text,
- M6I1_text, M6I1S0_text, M6I1S1_text, M6I1S2_text,
- M6I1S3_text,
- M6I2_text, M6I2S0_text, M6I2S1_text, M6I2S2_text,
- M6I2S3_text,
- M6I3_text, M6I3S0_text, M6I3S1_text, M6I3S2_text,
- M6I3S3_text,
- M6I4_text, M6I5_text,
- M7I0_text, M7I1_text, M7I2_text, M7I3_text,
- M7I3S0_text, M7I3S1_text, M7I3S2_text, M7I3S3_text,
- M8I0_text, M8I1_text, M8I2_text, M8I3_text,
- M8I3S0_text, M8I3S1_text, M8I3S2_text, M8I3S3_text,
- M9I0_text, M9I0S0_text, M9I0S1_text,
- M9I1_text, M9I1S0_text, M9I1S1_text, M9I1S2_text,
- M9I2_text, M9I2S0_text, M9I2S1_text, M9I2S2_text,
- M9I3_text, M9I3S0_text, M9I3S1_text, M9I3S2_text,
- M9I4_text, M9I4S0_text, M9I4S1_text, M9I4S2_text,
- M9I5_text, M9I5S0_text, M9I5S1_text, M9I5S2_text,
- M9I6_text, M9I6S0_text, M9I6S1_text, M9I6S2_text,
- M9I7_text, M9I7S0_text, M9I7S1_text,
- M9I8_text, M9I8S0_text, M9I8S1_text, M9I8S2_text,
- M9I8S3_text,
- M9I9_text, M9I9S0_text, M9I9S1_text,
- M10I0_text, M10I0S0_text, M10I0S1_text, M10I0S2_text,
- M10I0S3_text,
- M10I1_text, M10I1S0_text, M10I1S1_text, M10I1S2_text,
- M10I1S3_text,
- M10I2_text, M10I2S0_text, M10I2S1_text, M10I2S2_text,
- M10I2S3_text,
- M10I3_text, M10I3S0_text, M10I3S1_text, M10I3S2_text,
- M10I3S3_text,
- M10I4_text, M10I5_text,
- M11I0_text, M11I1_text, M11I2_text, M11I3_text,
- M11I3S0_text, M11I3S1_text, M11I3S2_text, M11I3S3_text,
- M12I0_text, M12I1_text, M12I2_text, M12I3_text,
- M13I0_text, M13I1_text, M13I2_text, M13I3_text,
- M14I0_text, M14I0S0_text, M14I0S1_text,
- M14I1_text, M14I1S0_text, M14I1S1_text, M14I1S2_text,
- M14I2_text, M14I2S0_text, M14I2S1_text, M14I2S2_text,
- M14I3_text, M14I3S0_text, M14I3S1_text, M14I3S2_text,
- M14I4_text, M14I4S0_text, M14I4S1_text, M14I4S2_text,
- M14I5_text, M14I5S0_text, M14I5S1_text, M14I5S2_text,
- M14I6_text, M14I6S0_text, M14I6S1_text, M14I6S2_text,
- M14I7_text, M14I7S0_text, M14I7S1_text,
- M14I8_text, M14I8S0_text, M14I8S1_text, M14I8S2_text,
- M14I8S3_text,
- M14I9_text, M14I9S0_text, M14I9S1_text,
- M14I10_text,
- M15I0_text, M15I1_text, M15I2_text, M15I3_text,
- M16I0_text, M16I1_text, M16I2_text,
- M16I2S0_text, M16I2S1_text, M16I2S2_text, M16I2S3_text,
- mesg0, mesg1, mesg2, mesg3, mesg4, mesg5, mesg6,
- mesg7, mesg8, mesg9, mesg10;
- /* Structures for new Screen, new Window */
-
- struct TextAttr TextFont = {
- "topaz.font", /* Font Name */
- TOPAZ_EIGHTY, /* Font Height */
- FS_NORMAL, /* Style */
- FPF_ROMFONT, /* Preferences */
- };
-
- struct NewScreen ns = {
- 0, 0, /* LeftEdge and TopEdge */
- 0, 0, /* Width and Height */
- 0, /* Depth */
- red, lt_blue, /* DetailPen and BlockPen */
- NULL, /* Special display modes */
- CUSTOMSCREEN, /* Screen Type */
- &TextFont, /* Use my font */
- NULL, /* Title */
- NULL, /* No gadgets yet */
- NULL, /* Ptr to CustomBitmap */
- };
-
- struct NewWindow nwhodow = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS , /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow nreviewpropw = {
- 0, 0, /* Left, Top */
- 320, 200, /* Width, Height */
- dk_blue, red, /* detail, block pens */
- GADGETUP | CLOSEWINDOW | RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | WINDOWCLOSE, /* flags */
- &nextpagegag, /* & first gadget */
- NULL, /* CheckMark */
- "PROPERTY HOUSES MORTGAGED? OWNER", /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
- struct NewWindow nofferbw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS , /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow noffersw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS , /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow noffertw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS , /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow nauctionw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS , /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow ntenpercentw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- GADGETUP | RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS , /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow noverdrawnw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- MENUPICK | CLOSEWINDOW | RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS |
- WINDOWCLOSE, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow nmoneybagw = {
- 0, 0, /* Left, Top */
- 194, 35, /* Width, Height */
- brite_green, red, /* detail, block pens */
- CLOSEWINDOW | RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | WINDOWDRAG |
- WINDOWCLOSE, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- (UBYTE *)"YOUR CASH", /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow nlistpropw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- MENUPICK | RAWKEY, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow ntransactw = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- GADGETUP | MOUSEBUTTONS | /* IDCMP Flags */
- RAWKEY | MENUPICK, /* IDCMP Flags */
- ACTIVATE | SMART_REFRESH | BORDERLESS, /* flags */
- &continuegag, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow ninfow = {
- 0, 0, /* Left, Top */
- 320, 200, /* Width, Height */
- 0, 4, /* detail, block pens */
- GADGETDOWN | RAWKEY, /* IDCMP */
- ACTIVATE | SMART_REFRESH, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow npropinfow = {
- 63, 29, /* Left, Top */
- 194, 143, /* Width, Height */
- white, black, /* detail, block pens */
- GADGETUP | MENUPICK | RAWKEY, /* IDCMP */
- ACTIVATE | BORDERLESS, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow nchancew = {
- 0, 0, /* Left, Top */
- 320, 200, /* Width, Height */
- 0, 4, /* detail, block pens */
- GADGETDOWN | RAWKEY, /* IDCMP */
- ACTIVATE | SMART_REFRESH, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow ngow = {
- 0, 0, /* Left, Top */
- 320, 200, /* Width, Height */
- 0, 4, /* detail, block pens */
- GADGETDOWN | RAWKEY, /* IDCMP */
- ACTIVATE | SMART_REFRESH, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow nchestw = {
- 0, 0, /* Left, Top */
- 320, 200, /* Width, Height */
- 0, 4, /* detail, block pens */
- GADGETDOWN | RAWKEY, /* IDCMP */
- ACTIVATE | SMART_REFRESH, /* flags */
- NULL, /* & first gadget */
- NULL, /* CheckMark */
- NULL, /* Title */
- NULL, /* Screen */
- NULL, /* Custom BitMap */
- 0, 0, /* Minimums */
- 0, 0, /* Maximums */
- CUSTOMSCREEN, /* screentype */
- };
-
- struct NewWindow options = {
-
- 0, 0, 320, 200, purple, yellow,
- RAWKEY,
- NULL,
- NULL,
- NULL, NULL,
- NULL, NULL, 0, 0, 0, 0, CUSTOMSCREEN,
- };
-
- struct NewWindow wait_LS = {
-
- 20, 80, 280, 40, purple, black,
- RAWKEY,
- ACTIVATE | SMART_REFRESH,
- NULL,
- NULL,
- NULL,
- NULL, NULL, 0, 0, 0, 0, CUSTOMSCREEN,
- };
-
- struct NewWindow nw = {
- 0, 0, /* LeftEdge and TopEdge */
- 0, 0, /* Width and Height */
- 1, 10, /* DetailPen and BlockPen */
- GADGETUP | GADGETDOWN | MOUSEBUTTONS | /* IDCMP Flags */
- RAWKEY | MENUPICK, /* IDCMP Flags */
- ACTIVATE | BORDERLESS | SMART_REFRESH, /* Flags */
- NULL, NULL, /* Gadget & Image pointers*/
- NULL, /* Title string */
- NULL, /* Put Screen ptr here */
- NULL, /* SuperBitMap pointer */
- 0, 0, /* MinWidth and MinHeight */
- 0, 0, /* MaxWidth and MaxHeight */
- CUSTOMSCREEN, /* Type of window */
- };
-
- USHORT allBgColor[32];
-
- /* Message strings for IFFP codes. */
- char MsgOkay[] = {"(IFF_OKAY) No FORM ILBM in the file." };
- char MsgEndMark[] = {"(END_MARK) How did you get this message?" };
- char MsgDone[] = {"(IFF_DONE) All done."};
- char MsgDos[] = {"(DOS_ERROR) The DOS returned an error." };
- char MsgNot[] = {"(NOT_IFF) Not an IFF file." };
- char MsgNoFile[] = {"(NO_FILE) No such file found." };
- char MsgClientError[] =
- {"(CLIENT_ERROR) ShowILBM bug or insufficient RAM."};
- char MsgForm[] = {"(BAD_FORM) A malformed FORM ILBM." };
- char MsgShort[] = {"(SHORT_CHUNK) A malformed FORM ILBM." };
- char MsgBad[] = {"(BAD_IFF) A mangled IFF file." };
-
- /* THESE MUST APPEAR IN RIGHT ORDER!! */
- char *IFFPMessages[-LAST_ERROR+1] = {
- /*IFF_OKAY*/ MsgOkay,
- /*END_MARK*/ MsgEndMark,
- /*IFF_DONE*/ MsgDone,
- /*DOS_ERROR*/ MsgDos,
- /*NOT_IFF*/ MsgNot,
- /*NO_FILE*/ MsgNoFile,
- /*CLIENT_ERROR*/ MsgClientError,
- /*BAD_FORM*/ MsgForm,
- /*SHORT_CHUNK*/ MsgShort,
- /*BAD_IFF*/ MsgBad
- };
-
- typedef struct {
- ClientFrame clientFrame;
- UBYTE foundBMHD;
- UBYTE nColorRegs;
- BitMapHeader bmHdr;
- Color4 colorMap[maxColorReg];
- /* If you want to read any other property chunks, e.g. GRAB or CAMG,
- * add fields to this record to store them. */
- } ILBMFrame;
-
- extern ILBMFrame ilbmFrame;
- UBYTE save_name[35]={"ram:monopoly.save"};
- UBYTE picture_file[]={"monopoly.board"};
- int rcolorpot, gcolorpot, bcolorpot;
- SHORT oldlistproppage;
-