home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_oth / monopoly.lzh / monopoly_source.LZH / xvariables < prev   
Encoding:
Text File  |  1992-01-04  |  16.7 KB  |  346 lines

  1. /*  inc/xvariables contains the extern assignments to compile modules */
  2. extern struct VSprite *MakeVSprite();
  3. extern struct Bob     *MakeBob();
  4.  
  5. extern struct GfxBase       *GfxBase;
  6. extern struct IntuitionBase *IntuitionBase;
  7. extern struct IntuiMessage  *message, *infomsg, *propinfomsg, *chancemsg,
  8.                             *chestmsg, *transactmsg, *listpropmsg,
  9.                 *moneybagmsg, *overdrawnmsg, *tenpercentmsg,
  10.                 *auctionmsg, *offerbmsg, *offersmsg, 
  11.                 *offertmsg, *whodomsg, *instructmsg;
  12. extern struct Screen   *screen1;
  13. extern struct Window   *boardwindow, *instructwindow, *infowindow,
  14.                        *propinfowindow, *chancewindow, *chestwindow,
  15.                *gowindow, *transactwindow, *listpropwindow,
  16.                *moneybagwindow, *overdrawnwindow, *tenpercentwindow,
  17.                *auctionwindow, *offerbwindow, *offerswindow, 
  18.                *offertwindow, *whodowindow, *waitwindow;
  19. extern struct RastPort *rportboard, *rportinstruct, *rportinfo, *rportpropinfo,
  20.                        *rportchance, *rportchest, *rportgo, *rporttransact,
  21.                *rportlistprop, *rportmoneybag, *rportoverdrawn,
  22.                *rporttenpercent, *rportauction, *rportofferb, 
  23.                *rportoffers, *rportoffert, *rportwhodo, *rportwait;
  24. extern struct ViewPort *vport1;
  25. extern struct BitMap   tBitMap;
  26. extern int   i, j, error;
  27. extern BYTE  c;
  28. extern ULONG pBytes, bidcost, offerbcost;
  29. extern USHORT mouseX, mouseY, menunum, itemnum, subnum,
  30.        nhp, ncp, ntp, nsp, gagid, nowrolling, dice0, dice1,
  31.        typeplayer0, typeplayer1, typeplayer2, typeplayer3,
  32.        playerat[], freecard[], palokbord[], restorepalbord[],
  33.        owner[], propcost[], numhouses[], rentnone[], rentone[],
  34.        renttwo[], rentthree[], rentfour[], renthotel[], numutil[],
  35.        numrr[], housecost[], cards[2][15], jaildouble[], numdoubles,
  36.        property, buyee, jailvectorlocation22[16][2],
  37.        jailvectorlocation30[35][2], jailvectorlocation33[31][2],
  38.        jailvectorlocation36[22][2], line0_text;
  39. extern SHORT listproppage, context_line; 
  40. extern BOOL done, endnum, endname, verifyname, nameagain, instruct,
  41.             isinjail[], endpal, doublerr, doubleutil, jaildoubled, 
  42.         trieddoubles, trydoublethrice, doublesrolled,
  43.             changetoken0, changetoken1, changetoken2, changetoken3,
  44.             donepropinfo, buyfrombank, notplaying[], ismono[], ismorg[],
  45.         isutil[], isrr[], donechance, donechest, donetransact,
  46.         pickedprop, donelistprop, doneod, bid, odqpflag,
  47.         didntbuyfrombank, building, mortgaging, free_parking;
  48. extern LONG bankroll[], net_worth[], lamount;
  49. extern char rent[], houses0[], houses1[], houses2[], houses3[], houses4[],
  50.             houses5[], costyou[], period[], assess[],
  51.         outputstr[], odamount[], tenpercentbroll[];
  52. extern struct IntuiText Page1a, Page1b, Page1c, Page1d, Page1e, Page1f,
  53.                     Page1g, Page1h, Page1i, Page1j, Page1k, Page1l,
  54.                     Page1m, Page1n,
  55.  
  56.                     Page2a, Page2b, Page2c, Page2d, Page2e, Page2f,
  57.                     Page2g, Page2h, Page2i, Page2j, Page2k, Page2l,
  58.                     Page2m, Page2n, Page2o, Page2p, Page2q,
  59.  
  60.                     Page3a, Page3b, Page3c, Page3d, Page3e, Page3f,
  61.                     Page3g, Page3h, Page3i, Page3j, Page3k, Page3l,
  62.                     Page3m, Page3n, Page3o, Page3p, Page3q, Page3r,
  63.             Page3s,
  64.             
  65.             Page4a, Page4b, Page4c, Page4d, Page4e, Page4f,
  66.                     Page4g, Page4h, Page4i, Page4j, Page4k, Page4l,
  67.                     Page4m, Page4n, Page4o, Page4p, Page4q, Page4r,
  68.             Page4s,
  69.  
  70.                     Page5a, Page5b, Page5c, Page5d, Page5e, Page5f,
  71.                     Page5g, Page5h, Page5i, Page5j, Page5k, Page5l,
  72.                     Page5m, Page5n, Page5o, Page5p, Page5q, Page5r,
  73.             Page5s,
  74.  
  75.                     Page6a, Page6b, Page6c, Page6d, Page6e, Page6f,
  76.                     Page6g, Page6h, Page6i, Page6j, Page6k, Page6l,
  77.                     Page6m, Page6n, Page6o, Page6p, Page6q, Page6r,
  78.             Page6s,
  79.  
  80.                     Page7a, Page7b, Page7c, Page7d, Page7e, Page7f,
  81.                     Page7g, Page7h, Page7i, Page7j, Page7k, Page7l,
  82.                     Page7m, Page7n, Page7o, Page7p, Page7q, Page7r,
  83.             Page7s;
  84.  
  85. extern struct IntuiText intro0text, intro0atext, intro1text, intro2text,
  86.                  intro3text, intro4text,
  87.                  nhptext, ncptext, xnumtext, xname0text,
  88.                  xname1text, xname2text, xname3text,
  89.          xname3atext, xname3btext,
  90.                  xname4text, xname5text, xnamegagtext,
  91.          verifyngagtext, denyngagtext, verifyn0text,
  92.          verifyn1text, outstr, cname,
  93.          name0text, name1text, name2text, name3text,
  94.          donepropinfotext, YEStext, NOtext, PERCENTtext,
  95.          TAXtext, nextpagetext,
  96.          transactnote0, transactnote1, transactnote2,
  97.          transactnote3, transactnote4, transactnote5,
  98.          wait_LStext1, wait_LStext2, dnscrolltext,
  99.                  upscrolltext, instructIT[];
  100. extern struct Gadget nhpgag, ncpgag, xnumgag, name0gag, name1gag, name2gag, 
  101.               name3gag, xnamegag, verifyngag, denyngag, nextpagegag,
  102.           yesgag, nogag, continuegag, percentgag, taxgag, bidgag,
  103.               nobidgag, dnscrollgag, upscrollgag, instructpagegag;
  104. extern struct StringInfo nhpinfo, ncpinfo,
  105.                   n0info, n1info, n2info, n3info;
  106.  
  107. extern UBYTE name0[35];
  108. extern UBYTE name1[35];
  109. extern UBYTE name2[35];
  110. extern UBYTE name3[35];
  111. extern UBYTE nameundobuf[35];
  112. extern UBYTE nbufnhp[2];
  113. extern UBYTE nbufncp[2];
  114. extern UBYTE nbufbid[6];
  115. extern UBYTE nbufofferb[6];
  116. extern UBYTE undobufi[6];
  117. extern UBYTE *instructline[];
  118.         
  119. extern struct Border name0border, name1border, name2border,
  120.        name3border, xnameborder, verifynborder, denynborder, xnborder,
  121.        nhpobord, nhpborder, ncpobord, ncpborder, palokborder,
  122.        restorepalborder, bidborder, nextpageborder,
  123.        line0border, line1border, line2border, line3border,
  124.        line4border, line5border, line6border, line7border,
  125.        line8border, line9border, line10border, line11border,
  126.        line12border, line13border, dnscrollborder, upscrollborder;
  127. extern struct GelsInfo GInfo;
  128. extern struct Bob *Redbob, *Greenbob, *Bluebob, *Yellowbob;
  129. extern SHORT Reddata[35], Greendata[35], Bluedata[35], Yellowdata[35];
  130. extern USHORT *Red_chip, *Green_chip, *Blue_chip, *Yellow_chip,
  131.        startRX, startRY, startGX, startGY, 
  132.        startBX, startBY, startYX, startYY;
  133. extern USHORT go[2][4], med[2][4], cc1[2][4], bal[2][4], itax[2][4], 
  134.        rrr[2][4], or[2][4], c1[2][4], ver[2][4], con[2][4], vis[2][4], 
  135.        stc[2][4], eco[2][4], sts[2][4], va[2][4], rrp[2][4], stj[2][4], 
  136.        cc2[2][4], tn[2][4], ny[2][4], fp[2][4], ky[2][4], c2[2][4], 
  137.        in[2][4], il[2][4], rrb[2][4], at[2][4], ven[2][4], ww[2][4], 
  138.        mar[2][4], gtj[2][4], pac[2][4], nc[2][4], cc3[2][4], pen[2][4],
  139.        rrs[2][4], c3[2][4], pp[2][4], ptax[2][4], bw[2][4], injail[2][4];
  140.  
  141. extern struct Menu    Menu0, Menu1, Menu2, Menu3, Menu4, Menu5,
  142.                       Menu6, Menu7, Menu8, Menu9, Menu10, Menu11,
  143.               Menu12, Menu13, Menu14, Menu15, Menu16;
  144. extern struct MenuItem    Menu0Item0, Menu0Item1, Menu0Item2, Menu0Item3, 
  145.                           Menu0Item4,
  146.                           Menu1Item0, Menu1Item0Sub0, Menu1Item0Sub1, 
  147.               Menu1Item0Sub2, Menu1Item0Sub3, 
  148.               Menu1Item1, Menu1Item1Sub0, Menu1Item1Sub1, 
  149.               Menu1Item1Sub2, Menu1Item1Sub3,
  150.               Menu1Item2, Menu1Item2Sub0, Menu1Item2Sub1, 
  151.               Menu1Item2Sub2, Menu1Item2Sub3, 
  152.               Menu1Item3, Menu1Item3Sub0, Menu1Item3Sub1, 
  153.               Menu1Item3Sub2, Menu1Item3Sub3,
  154.                           Menu1Item4, Menu1Item5,
  155.                           Menu2Item0, Menu2Item1, Menu2Item2, Menu2Item3,
  156.                  Menu2Item3Sub0, Menu2Item3Sub1, Menu2Item3Sub2, 
  157.                  Menu2Item3Sub3,
  158.                           Menu3Item0, Menu3Item1, Menu3Item2, Menu3Item3,
  159.                           Menu4Item0, Menu4Item1, Menu4Item2,
  160.                           Menu5Item0, Menu5Item0Sub0, Menu5Item0Sub1,
  161.                           Menu5Item1, Menu5Item1Sub0, Menu5Item1Sub1,
  162.                                 Menu5Item1Sub2, 
  163.                           Menu5Item2, Menu5Item2Sub0,Menu5Item2Sub1, 
  164.                           Menu5Item2Sub2, 
  165.                           Menu5Item3, Menu5Item3Sub0, Menu5Item3Sub1, 
  166.                           Menu5Item3Sub2,
  167.                   Menu5Item4, Menu5Item4Sub0, Menu5Item4Sub1,
  168.                               Menu5Item4Sub2, 
  169.                           Menu5Item5, Menu5Item5Sub0, Menu5Item5Sub1, 
  170.                           Menu5Item5Sub2, 
  171.                           Menu5Item6, Menu5Item6Sub0, Menu5Item6Sub1, 
  172.                           Menu5Item6Sub2,
  173.                   Menu5Item7, Menu5Item7Sub0, Menu5Item7Sub1,
  174.                   Menu5Item8, Menu5Item8Sub0, Menu5Item8Sub1,
  175.                               Menu5Item8Sub2, Menu5Item8Sub3,
  176.                   Menu5Item9, Menu5Item9Sub0, Menu5Item9Sub1,
  177.               Menu6Item0, Menu6Item0Sub0, Menu6Item0Sub1, 
  178.               Menu6Item0Sub2, Menu6Item0Sub3,
  179.               Menu6Item1, Menu6Item1Sub0, Menu6Item1Sub1, 
  180.               Menu6Item1Sub2, Menu6Item1Sub3,
  181.               Menu6Item2, Menu6Item2Sub0, Menu6Item2Sub1, 
  182.               Menu6Item2Sub2, Menu6Item2Sub3,
  183.               Menu6Item3, Menu6Item3Sub0, Menu6Item3Sub1, 
  184.               Menu6Item3Sub2, Menu6Item3Sub3,
  185.               Menu6Item4, Menu6Item5,
  186.                           Menu7Item0, Menu7Item1, Menu7Item2, Menu7Item3,
  187.                           Menu7Item3Sub0, Menu7Item3Sub1, 
  188.                       Menu7Item3Sub2, Menu7Item3Sub3,
  189.                           Menu8Item0, Menu8Item1, Menu8Item2, Menu8Item3,
  190.                           Menu8Item3Sub0, Menu8Item3Sub1, 
  191.                       Menu8Item3Sub2, Menu8Item3Sub3,
  192.                           Menu9Item0, Menu9Item0Sub0, Menu9Item0Sub1,
  193.                           Menu9Item1, Menu9Item1Sub0, Menu9Item1Sub1,
  194.                                 Menu9Item1Sub2, 
  195.                           Menu9Item2, Menu9Item2Sub0,Menu9Item2Sub1, 
  196.                           Menu9Item2Sub2, 
  197.                           Menu9Item3, Menu9Item3Sub0, Menu9Item3Sub1, 
  198.                           Menu9Item3Sub2,
  199.                   Menu9Item4, Menu9Item4Sub0, Menu9Item4Sub1,
  200.                               Menu9Item4Sub2, 
  201.                           Menu9Item5, Menu9Item5Sub0, Menu9Item5Sub1, 
  202.                           Menu9Item5Sub2, 
  203.                           Menu9Item6, Menu9Item6Sub0, Menu9Item6Sub1, 
  204.                           Menu9Item6Sub2,
  205.                   Menu9Item7, Menu9Item7Sub0, Menu9Item7Sub1,
  206.                   Menu9Item8, Menu9Item8Sub0, Menu9Item8Sub1,
  207.                               Menu9Item8Sub2, Menu9Item8Sub3,
  208.                   Menu9Item9, Menu9Item9Sub0, Menu9Item9Sub1,
  209.               Menu10Item0, Menu10Item0Sub0, Menu10Item0Sub1, 
  210.               Menu10Item0Sub2, Menu10Item0Sub3,
  211.               Menu10Item1,  Menu10Item1Sub0, Menu10Item1Sub1, 
  212.               Menu10Item1Sub2, Menu10Item1Sub3,
  213.               Menu10Item2,  Menu10Item2Sub0, Menu10Item2Sub1, 
  214.               Menu10Item2Sub2, Menu10Item2Sub3,
  215.               Menu10Item3,  Menu10Item3Sub0, Menu10Item3Sub1, 
  216.               Menu10Item3Sub2, Menu10Item3Sub3,
  217.               Menu10Item4, Menu10Item5,
  218.                           Menu11Item0, Menu11Item1, Menu11Item2, Menu11Item3,
  219.                           Menu11Item3Sub0, Menu11Item3Sub1, 
  220.                       Menu11Item3Sub2, Menu11Item3Sub3,
  221.                           Menu12Item0, Menu12Item1, Menu12Item2, Menu12Item3,
  222.                           Menu13Item0, Menu13Item1, Menu13Item2, Menu13Item3,
  223.               Menu14Item0, Menu14Item0Sub0, Menu14Item0Sub1,
  224.                   Menu14Item1, Menu14Item1Sub0, Menu14Item1Sub1,
  225.                           Menu14Item1Sub2, Menu14Item2, Menu14Item2Sub0,
  226.                   Menu14Item2Sub1, Menu14Item2Sub2, Menu14Item3,
  227.                   Menu14Item3Sub0, Menu14Item3Sub1, Menu14Item3Sub2,
  228.                   Menu14Item4, Menu14Item4Sub0, Menu14Item4Sub1,
  229.                   Menu14Item4Sub2, Menu14Item5, Menu14Item5Sub0,
  230.                   Menu14Item5Sub1, Menu14Item5Sub2, Menu14Item6,
  231.                   Menu14Item6Sub0, Menu14Item6Sub1, Menu14Item6Sub2,
  232.                   Menu14Item7, Menu14Item7Sub0, Menu14Item7Sub1,
  233.                   Menu14Item8, Menu14Item8Sub0, Menu14Item8Sub1,
  234.                   Menu14Item8Sub2, Menu14Item8Sub3, Menu14Item9,
  235.                   Menu14Item9Sub0, Menu14Item9Sub1, Menu14Item10,
  236.                   Menu15Item0, Menu15Item1, Menu15Item2,
  237.               Menu15Item3, Menu16Item0, Menu16Item1,
  238.                           Menu16Item2, Menu16Item2Sub0,  Menu16Item2Sub1,  
  239.               Menu16Item2Sub2, Menu16Item2Sub3;
  240. extern struct IntuiText  M0I0_text,  M0I1_text, M0I2_text, M0I3_text, M0I4_text,
  241.                      M1I0_text, M1I0S0_text, M1I0S1_text, M1I0S2_text, 
  242.              M1I0S3_text,
  243.              M1I1_text, M1I1S0_text, M1I1S1_text, M1I1S2_text, 
  244.              M1I1S3_text,
  245.              M1I2_text, M1I2S0_text, M1I2S1_text, M1I2S2_text, 
  246.              M1I2S3_text,
  247.              M1I3_text, M1I3S0_text, M1I3S1_text, M1I3S2_text, 
  248.              M1I3S3_text,
  249.              M1I4_text, M1I5_text,
  250.                      M2I0_text, M2I1_text, M2I2_text, M2I3_text,
  251.              M2I3S0_text, M2I3S1_text, M2I3S2_text, M2I3S3_text,
  252.                      M3I0_text, M3I1_text, M3I2_text, M3I3_text,
  253.                      M4I0_text, M4I1_text, M4I2_text,
  254.              M5I0_text, M5I0S0_text, M5I0S1_text,
  255.              M5I1_text, M5I1S0_text, M5I1S1_text, M5I1S2_text,
  256.              M5I2_text, M5I2S0_text, M5I2S1_text, M5I2S2_text,
  257.              M5I3_text, M5I3S0_text, M5I3S1_text, M5I3S2_text,
  258.              M5I4_text, M5I4S0_text, M5I4S1_text, M5I4S2_text,
  259.              M5I5_text, M5I5S0_text, M5I5S1_text, M5I5S2_text,
  260.              M5I6_text, M5I6S0_text, M5I6S1_text, M5I6S2_text,
  261.              M5I7_text, M5I7S0_text, M5I7S1_text,
  262.              M5I8_text, M5I8S0_text, M5I8S1_text, M5I8S2_text, 
  263.              M5I8S3_text,
  264.              M5I9_text, M5I9S0_text, M5I9S1_text,
  265.              M6I0_text, M6I0S0_text, M6I0S1_text, M6I0S2_text, 
  266.              M6I0S3_text,
  267.              M6I1_text, M6I1S0_text, M6I1S1_text, M6I1S2_text, 
  268.              M6I1S3_text,
  269.              M6I2_text, M6I2S0_text, M6I2S1_text, M6I2S2_text, 
  270.              M6I2S3_text,
  271.              M6I3_text, M6I3S0_text, M6I3S1_text, M6I3S2_text, 
  272.              M6I3S3_text,
  273.              M6I4_text, M6I5_text,
  274.              M7I0_text, M7I1_text, M7I2_text, M7I3_text,
  275.              M7I3S0_text, M7I3S1_text, M7I3S2_text, M7I3S3_text,
  276.                      M8I0_text, M8I1_text, M8I2_text, M8I3_text,
  277.              M8I3S0_text, M8I3S1_text, M8I3S2_text, M8I3S3_text,
  278.              M9I0_text, M9I0S0_text, M9I0S1_text,
  279.              M9I1_text, M9I1S0_text, M9I1S1_text, M9I1S2_text,
  280.              M9I2_text, M9I2S0_text, M9I2S1_text, M9I2S2_text,
  281.              M9I3_text, M9I3S0_text, M9I3S1_text, M9I3S2_text,
  282.              M9I4_text, M9I4S0_text, M9I4S1_text, M9I4S2_text,
  283.              M9I5_text, M9I5S0_text, M9I5S1_text, M9I5S2_text,
  284.              M9I6_text, M9I6S0_text, M9I6S1_text, M9I6S2_text,
  285.              M9I7_text, M9I7S0_text, M9I7S1_text,
  286.              M9I8_text, M9I8S0_text, M9I8S1_text, M9I8S2_text, 
  287.              M9I8S3_text,
  288.              M9I9_text, M9I9S0_text, M9I9S1_text,
  289.              M10I0_text, M10I0S0_text, M10I0S1_text, M10I0S2_text, 
  290.              M10I0S3_text,
  291.              M10I1_text, M10I1S0_text, M10I1S1_text, M10I1S2_text, 
  292.              M10I1S3_text, 
  293.              M10I2_text, M10I2S0_text, M10I2S1_text, M10I2S2_text, 
  294.              M10I2S3_text,
  295.                      M10I3_text, M10I3S0_text, M10I3S1_text, M10I3S2_text, 
  296.              M10I3S3_text,
  297.              M10I4_text, M10I5_text,
  298.              M11I0_text, M11I1_text, M11I2_text, M11I3_text,
  299.              M11I3S0_text, M11I3S1_text, M11I3S2_text, M11I3S3_text,
  300.              M12I0_text, M12I1_text, M12I2_text, M12I3_text,
  301.              M13I0_text, M13I1_text, M13I2_text, M13I3_text,
  302.              M14I0_text, M14I0S0_text, M14I0S1_text,
  303.              M14I1_text, M14I1S0_text, M14I1S1_text, M14I1S2_text,
  304.              M14I2_text, M14I2S0_text, M14I2S1_text, M14I2S2_text,
  305.              M14I3_text, M14I3S0_text, M14I3S1_text, M14I3S2_text,
  306.              M14I4_text, M14I4S0_text, M14I4S1_text, M14I4S2_text,
  307.              M14I5_text, M14I5S0_text, M14I5S1_text, M14I5S2_text,
  308.              M14I6_text, M14I6S0_text, M14I6S1_text, M14I6S2_text,
  309.              M14I7_text, M14I7S0_text, M14I7S1_text,
  310.              M14I8_text, M14I8S0_text, M14I8S1_text, M14I8S2_text, 
  311.              M14I8S3_text,
  312.              M14I9_text, M14I9S0_text, M14I9S1_text,
  313.              M14I10_text,
  314.              M15I0_text, M15I1_text, M15I2_text, M15I3_text,
  315.              M16I0_text, M16I1_text, M16I2_text,
  316.              M16I2S0_text, M16I2S1_text, M16I2S2_text, M16I2S3_text,
  317.                      mesg0, mesg1, mesg2, mesg3, mesg4, mesg5, mesg6,
  318.                      mesg7, mesg8, mesg9, mesg10;
  319. extern struct   TextAttr       TextFont;
  320. extern struct   NewScreen      ns;
  321. extern struct NewWindow ninfow, options, nw, npropinfow, nchancew,
  322.                         nchestw, ngow, ntransactw, nlistpropw,
  323.             nmoneybagw, noverdrawnw, ntenpercentw,
  324.             nauctionw, nofferbw, noffersw, noffertw,
  325.             nreviewpropw, nwhodow, wait_LS, ninstructw;
  326. extern USHORT  allBgColor[32];
  327. extern char MsgOkay[], MsgEndMark[], MsgDone[], MsgDos[], MsgNot[],
  328.        MsgNoFile[], MsgClientError[], MsgForm[], MsgShort[], MsgBad[],
  329.        *IFFPMessages[];
  330.  
  331.  
  332. extern struct Gadget redgag, greengag, bluegag,
  333.               palc25gag, palc26gag, palc27gag, palc28gag,
  334.               palokgag, restorepalgag, cancelpalgag;
  335. extern struct PropInfo rpinfo, gpinfo, bpinfo;
  336. extern struct IntuiText palintrotext, redgagtext, greengagtext, bluegagtext,
  337.                  paloktext, restorepaltext;
  338. extern struct Image redknob, greenknob, blueknob,
  339.                     image25, image26, image27, image28;
  340.  
  341. extern UBYTE save_name[];
  342. extern UBYTE picture_file[];
  343. extern int rcolorpot, gcolorpot, bcolorpot;
  344. extern SHORT oldlistproppage;
  345. extern UBYTE *file_request();
  346.