home *** CD-ROM | disk | FTP | other *** search
- /* f10.c contains these functions for monopoly:
- reviewprop(), viewdeeds(),
- printlistproppage(), cklistpropmsg(), showlistpropinstructions(),
- makelistpropmenu(), */
-
- #include "mono:defines"
- #include "mono:xvariables"
-
- VOID showlistpropinstructions()
- {
- struct IntuiText msg0, msg1, msg2, msg3, msg4;
- SetMenuStrip(listpropwindow, &Menu8);
- msg0.FrontPen=dk_maroon;
- msg1.FrontPen=dk_maroon;
- msg2.FrontPen=dk_maroon;
- msg3.FrontPen=dk_maroon;
- msg4.FrontPen=dk_maroon;
- msg0.BackPen=black;
- msg1.BackPen=black;
- msg2.BackPen=black;
- msg3.BackPen=black;
- msg4.BackPen=black;
- msg0.DrawMode=JAM1;
- msg1.DrawMode=JAM1;
- msg2.DrawMode=JAM1;
- msg3.DrawMode=JAM1;
- msg4.DrawMode=JAM1;
- msg0.LeftEdge=33;
- msg1.LeftEdge=33;
- msg2.LeftEdge=33;
- msg3.LeftEdge=33;
- msg4.LeftEdge=33;
- msg0.TopEdge=40;
- msg1.TopEdge=50;
- msg2.TopEdge=60;
- msg3.TopEdge=70;
- msg4.TopEdge=80;
- msg0.ITextFont=NULL;
- msg1.ITextFont=NULL;
- msg2.ITextFont=NULL;
- msg3.ITextFont=NULL;
- msg4.ITextFont=NULL;
- msg0.NextText=&msg1;
- msg1.NextText=&msg2;
- msg2.NextText=&msg3;
- msg3.NextText=&msg4;
- msg4.NextText=NULL;
- msg0.IText=(UBYTE *)" PLEASE USE THE";
- msg1.IText=(UBYTE *)"MENUS TO CHOOSE";
- msg2.IText=(UBYTE *)"THE PROPERTY FOR";
- msg3.IText=(UBYTE *)" WHICH YOU WANT";
- msg4.IText=(UBYTE *)" INFORMATION.";
- PrintIText(rportlistprop, &msg0, 0, 0);
- }
-
- VOID printlistproppage()
- {
- USHORT loc;
- struct IntuiText msg0, msg1, msg2, msg3, msg4, msg5, msg6,
- msg7, msg8, msg9, msg10, msg11, msg12;
-
-
- oldlistproppage=listproppage;
- if (listproppage == 0) loc=1;
- if (listproppage == 1) loc=3;
- if (listproppage == 2) loc=6;
- if (listproppage == 3) loc=8;
- if (listproppage == 4) loc=9;
- if (listproppage == 5) loc=11;
- if (listproppage == 6) loc=13;
- if (listproppage == 7) loc=14;
- if (listproppage == 8) loc=16;
- if (listproppage == 9) loc=18;
- if (listproppage == 10) loc=19;
- if (listproppage == 11) loc=21;
- if (listproppage == 12) loc=23;
- if (listproppage == 13) loc=24;
- if (listproppage == 14) loc=26;
- if (listproppage == 15) loc=27;
- if (listproppage == 16) loc=29;
- if (listproppage == 17) loc=31;
- if (listproppage == 18) loc=32;
- if (listproppage == 19) loc=34;
- if (listproppage == 20) loc=37;
- if (listproppage == 21) loc=39;
- if (listproppage == 22) loc=5;
- if (listproppage == 23) loc=15;
- if (listproppage == 24) loc=25;
- if (listproppage == 25) loc=35;
- if (listproppage == 26) loc=12;
- if (listproppage == 27) loc=28;
- msg0.BackPen=black;
- msg1.BackPen=black;
- msg2.BackPen=black;
- msg3.BackPen=black;
- msg4.BackPen=black;
- msg5.BackPen=black;
- msg6.BackPen=black;
- msg7.BackPen=black;
- msg8.BackPen=black;
- msg9.BackPen=black;
- msg10.BackPen=black;
- msg11.BackPen=black;
- msg12.BackPen=black;
- msg0.DrawMode=JAM1;
- msg1.DrawMode=JAM1;
- msg2.DrawMode=JAM1;
- msg3.DrawMode=JAM1;
- msg4.DrawMode=JAM1;
- msg5.DrawMode=JAM1;
- msg6.DrawMode=JAM1;
- msg7.DrawMode=JAM1;
- msg8.DrawMode=JAM1;
- msg9.DrawMode=JAM1;
- msg10.DrawMode=JAM1;
- msg11.DrawMode=JAM1;
- msg12.DrawMode=JAM1;
- msg0.LeftEdge=5;
- msg1.LeftEdge=5;
- msg2.LeftEdge=5;
- msg3.LeftEdge=5;
- msg4.LeftEdge=5;
- msg5.LeftEdge=5;
- msg6.LeftEdge=5;
- msg7.LeftEdge=5;
- msg8.LeftEdge=5;
- msg9.LeftEdge=5;
- msg10.LeftEdge=5;
- msg11.LeftEdge=5;
- msg12.LeftEdge=5;
- msg0.TopEdge=5;
- msg1.TopEdge=15;
- msg2.TopEdge=25;
- msg3.TopEdge=38;
- msg4.TopEdge=48;
- msg5.TopEdge=61;
- msg6.TopEdge=71;
- msg7.TopEdge=81;
- msg8.TopEdge=91;
- msg9.TopEdge=101;
- msg10.TopEdge=111;
- msg11.TopEdge=121;
- msg12.TopEdge=133;
- msg0.ITextFont=NULL;
- msg1.ITextFont=NULL;
- msg2.ITextFont=NULL;
- msg3.ITextFont=NULL;
- msg4.ITextFont=NULL;
- msg5.ITextFont=NULL;
- msg6.ITextFont=NULL;
- msg7.ITextFont=NULL;
- msg8.ITextFont=NULL;
- msg9.ITextFont=NULL;
- msg10.ITextFont=NULL;
- msg11.ITextFont=NULL;
- msg12.ITextFont=NULL;
- msg0.NextText=&msg1;
- msg1.NextText=&msg2;
- msg2.NextText=&msg3;
- msg3.NextText=&msg4;
- msg4.NextText=&msg5;
- msg5.NextText=&msg6;
- msg6.NextText=&msg7;
- msg7.NextText=&msg8;
- msg8.NextText=&msg9;
- msg9.NextText=&msg10;
- msg10.NextText=&msg11;
- msg11.NextText=NULL;
- msg12.NextText=NULL;
-
- if (owner[loc] == 0)
- {
- msg2.IText=&name0[0];
- msg2.FrontPen=25;
- }
- if (owner[loc] == 1)
- {
- msg2.IText=&name1[0];
- msg2.FrontPen=26;
- }
- if (owner[loc] == 2)
- {
- msg2.IText=&name2[0];
- msg2.FrontPen=27;
- }
- if (owner[loc] == 3)
- {
- msg2.IText=&name3[0];
- msg2.FrontPen=28;
- }
-
- msg12.IText=(UBYTE *)"Property is MORTGAGED!";
- msg12.FrontPen=white;
- msg11.FrontPen=yellow;
-
- if (numhouses[loc] == 0)
- {
- msg5.FrontPen=red;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- msg9.FrontPen=green;
- msg10.FrontPen=green;
- }
- if (owner[loc] == 9)
- {
- msg2.IText=(UBYTE *)"the BANK.";
- msg2.FrontPen=white;
- msg5.FrontPen=green;
- }
- if (numhouses[loc] == 1)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=red;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- msg9.FrontPen=green;
- msg10.FrontPen=green;
- }
- if (numhouses[loc] == 2)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=red;
- msg8.FrontPen=green;
- msg9.FrontPen=green;
- msg10.FrontPen=green;
- }
- if (numhouses[loc] == 3)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=red;
- msg9.FrontPen=green;
- msg10.FrontPen=green;
- }
- if (numhouses[loc] == 4)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- msg9.FrontPen=red;
- msg10.FrontPen=green;
- }
- if (numhouses[loc] == 5)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- msg9.FrontPen=green;
- msg10.FrontPen=red;
- }
- if ( (listproppage == 22) || (listproppage == 23) || (listproppage == 24)
- || (listproppage == 25) )
- {
- if (numrr[owner[loc]] == 0)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
- if (numrr[owner[loc]] == 1)
- {
- msg5.FrontPen=red;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
- if (numrr[owner[loc]] == 2)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=red;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
- if (numrr[owner[loc]] == 3)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=red;
- msg8.FrontPen=green;
- }
- if (numrr[owner[loc]] == 4)
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=red;
- }
- }
- if (listproppage == 0)
- {
- msg0.FrontPen=purple;
- msg1.FrontPen=purple;
- msg3.FrontPen=purple;
- msg4.FrontPen=purple;
- msg0.IText=(UBYTE *)"MEDITERRANEAN AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $60.";
- msg4.IText=(UBYTE *)"Mortgage value: $30.";
- msg5.IText=(UBYTE *)"Rent - $2.";
- msg6.IText=(UBYTE *)"Rent - 1 house $10.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $30.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $90.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $160.";
- msg10.IText=(UBYTE *)"Rent - hotel $250.";
- msg11.IText=(UBYTE *)"Each house costs $50.";
- goto expage;
- }
- if (listproppage == 1)
- {
- msg0.FrontPen=purple;
- msg1.FrontPen=purple;
- msg3.FrontPen=purple;
- msg4.FrontPen=purple;
- msg0.IText=(UBYTE *)" BALTIC AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $60.";
- msg4.IText=(UBYTE *)"Mortgage value: $30.";
- msg5.IText=(UBYTE *)"Rent - $4.";
- msg6.IText=(UBYTE *)"Rent - 1 house $20.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $60.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $180.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $320.";
- msg10.IText=(UBYTE *)"Rent - hotel $450.";
- msg11.IText=(UBYTE *)"Each house costs $50.";
- goto expage;
- }
- if (listproppage == 2)
- {
- msg0.FrontPen=lt_blue;
- msg1.FrontPen=lt_blue;
- msg3.FrontPen=lt_blue;
- msg4.FrontPen=lt_blue;
- msg0.IText=(UBYTE *)" ORIENTAL AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $100.";
- msg4.IText=(UBYTE *)"Mortgage value: $50.";
- msg5.IText=(UBYTE *)"Rent - $6.";
- msg6.IText=(UBYTE *)"Rent - 1 house $30.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $90.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $270.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $400.";
- msg10.IText=(UBYTE *)"Rent - hotel $550.";
- msg11.IText=(UBYTE *)"Each house costs $50.";
- goto expage;
- }
- if (listproppage == 3)
- {
- msg0.FrontPen=lt_blue;
- msg1.FrontPen=lt_blue;
- msg3.FrontPen=lt_blue;
- msg4.FrontPen=lt_blue;
- msg0.IText=(UBYTE *)" VERMONT AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $100.";
- msg4.IText=(UBYTE *)"Mortgage value: $50.";
- msg5.IText=(UBYTE *)"Rent - $6.";
- msg6.IText=(UBYTE *)"Rent - 1 house $30.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $90.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $270.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $400.";
- msg10.IText=(UBYTE *)"Rent - hotel $550.";
- msg11.IText=(UBYTE *)"Each house costs $50.";
- goto expage;
- }
- if (listproppage == 4)
- {
- msg0.FrontPen=lt_blue;
- msg1.FrontPen=lt_blue;
- msg3.FrontPen=lt_blue;
- msg4.FrontPen=lt_blue;
- msg0.IText=(UBYTE *)" CONNECTICUT AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $120.";
- msg4.IText=(UBYTE *)"Mortgage value: $60.";
- msg5.IText=(UBYTE *)"Rent - $8.";
- msg6.IText=(UBYTE *)"Rent - 1 house $40.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $100.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $300.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $450.";
- msg10.IText=(UBYTE *)"Rent - hotel $600.";
- msg11.IText=(UBYTE *)"Each house costs $50.";
- goto expage;
- }
- if (listproppage == 5)
- {
- msg0.FrontPen=maroon;
- msg1.FrontPen=maroon;
- msg3.FrontPen=maroon;
- msg4.FrontPen=maroon;
- msg0.IText=(UBYTE *)" ST. CHARLES PLACE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $140.";
- msg4.IText=(UBYTE *)"Mortgage value: $70.";
- msg5.IText=(UBYTE *)"Rent - $10.";
- msg6.IText=(UBYTE *)"Rent - 1 house $50.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $150.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $450.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $625.";
- msg10.IText=(UBYTE *)"Rent - hotel $750.";
- msg11.IText=(UBYTE *)"Each house costs $100.";
- goto expage;
- }
- if (listproppage == 6)
- {
- msg0.FrontPen=maroon;
- msg1.FrontPen=maroon;
- msg3.FrontPen=maroon;
- msg4.FrontPen=maroon;
- msg0.IText=(UBYTE *)" STATES AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $140.";
- msg4.IText=(UBYTE *)"Mortgage value: $70.";
- msg5.IText=(UBYTE *)"Rent - $10.";
- msg6.IText=(UBYTE *)"Rent - 1 house $50.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $150.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $450.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $625.";
- msg10.IText=(UBYTE *)"Rent - hotel $750.";
- msg11.IText=(UBYTE *)"Each house costs $100.";
- }
- if (listproppage == 7)
- {
- msg0.FrontPen=maroon;
- msg1.FrontPen=maroon;
- msg3.FrontPen=maroon;
- msg4.FrontPen=maroon;
- msg0.IText=(UBYTE *)" VIRGINIA AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $160.";
- msg4.IText=(UBYTE *)"Mortgage value: $80.";
- msg5.IText=(UBYTE *)"Rent - $12.";
- msg6.IText=(UBYTE *)"Rent - 1 house $60.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $180.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $500.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $700.";
- msg10.IText=(UBYTE *)"Rent - hotel $900.";
- msg11.IText=(UBYTE *)"Each house costs $100.";
- goto expage;
- }
- if (listproppage == 8)
- {
- msg0.FrontPen=orange;
- msg1.FrontPen=orange;
- msg3.FrontPen=orange;
- msg4.FrontPen=orange;
- msg0.IText=(UBYTE *)" ST. JAMES PLACE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $180.";
- msg4.IText=(UBYTE *)"Mortgage value: $90.";
- msg5.IText=(UBYTE *)"Rent - $14.";
- msg6.IText=(UBYTE *)"Rent - 1 house $70.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $200.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $550.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $750.";
- msg10.IText=(UBYTE *)"Rent - hotel $950.";
- msg11.IText=(UBYTE *)"Each house costs $100.";
- goto expage;
- }
- if (listproppage == 9)
- {
- msg0.FrontPen=orange;
- msg1.FrontPen=orange;
- msg3.FrontPen=orange;
- msg4.FrontPen=orange;
- msg0.IText=(UBYTE *)" TENNESSEE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $180.";
- msg4.IText=(UBYTE *)"Mortgage value: $90.";
- msg5.IText=(UBYTE *)"Rent - $14.";
- msg6.IText=(UBYTE *)"Rent - 1 house $70.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $200.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $550.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $750.";
- msg10.IText=(UBYTE *)"Rent - hotel $950.";
- msg11.IText=(UBYTE *)"Each house costs $100.";
- }
- if (listproppage == 10)
- {
- msg0.FrontPen=orange;
- msg1.FrontPen=orange;
- msg3.FrontPen=orange;
- msg4.FrontPen=orange;
- msg0.IText=(UBYTE *)" NEW YORK AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $200.";
- msg4.IText=(UBYTE *)"Mortgage value: $100.";
- msg5.IText=(UBYTE *)"Rent - $16.";
- msg6.IText=(UBYTE *)"Rent - 1 house $80.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $220.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $600.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $800.";
- msg10.IText=(UBYTE *)"Rent - hotel $1000.";
- msg11.IText=(UBYTE *)"Each house costs $100.";
- goto expage;
- }
- if (listproppage == 11)
- {
- msg0.FrontPen=red;
- msg1.FrontPen=red;
- msg3.FrontPen=red;
- msg4.FrontPen=red;
- msg0.IText=(UBYTE *)" KENTUCKY AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $220.";
- msg4.IText=(UBYTE *)"Mortgage value: $110.";
- msg5.IText=(UBYTE *)"Rent - $18.";
- msg6.IText=(UBYTE *)"Rent - 1 house $90.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $250.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $700.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $875.";
- msg10.IText=(UBYTE *)"Rent - hotel $1050.";
- msg11.IText=(UBYTE *)"Each house costs $150.";
- }
- if (listproppage == 12)
- {
- msg0.FrontPen=red;
- msg1.FrontPen=red;
- msg3.FrontPen=red;
- msg4.FrontPen=red;
- msg0.IText=(UBYTE *)" INDIANA AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $220.";
- msg4.IText=(UBYTE *)"Mortgage value: $110.";
- msg5.IText=(UBYTE *)"Rent - $18.";
- msg6.IText=(UBYTE *)"Rent - 1 house $90.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $250.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $700.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $875.";
- msg10.IText=(UBYTE *)"Rent - hotel $1050.";
- msg11.IText=(UBYTE *)"Each house costs $150.";
- goto expage;
- }
- if (listproppage == 13)
- {
- msg0.FrontPen=red;
- msg1.FrontPen=red;
- msg3.FrontPen=red;
- msg4.FrontPen=red;
- msg0.IText=(UBYTE *)" ILLINOIS AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $240.";
- msg4.IText=(UBYTE *)"Mortgage value: $120.";
- msg5.IText=(UBYTE *)"Rent - $20.";
- msg6.IText=(UBYTE *)"Rent - 1 house $100.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $300.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $750.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $925.";
- msg10.IText=(UBYTE *)"Rent - hotel $1100.";
- msg11.IText=(UBYTE *)"Each house costs $150.";
- }
- if (listproppage == 14)
- {
- msg0.FrontPen=yellow;
- msg1.FrontPen=yellow;
- msg3.FrontPen=yellow;
- msg4.FrontPen=yellow;
- msg0.IText=(UBYTE *)" ATLANTIC AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $260.";
- msg4.IText=(UBYTE *)"Mortgage value: $130.";
- msg5.IText=(UBYTE *)"Rent - $22.";
- msg6.IText=(UBYTE *)"Rent - 1 house $110.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $330.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $800.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $975.";
- msg10.IText=(UBYTE *)"Rent - hotel $1150.";
- msg11.IText=(UBYTE *)"Each house costs $150.";
- goto expage;
- }
- if (listproppage == 15)
- {
- msg0.FrontPen=yellow;
- msg1.FrontPen=yellow;
- msg3.FrontPen=yellow;
- msg4.FrontPen=yellow;
- msg0.IText=(UBYTE *)" VENTNOR AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $260.";
- msg4.IText=(UBYTE *)"Mortgage value: $130.";
- msg5.IText=(UBYTE *)"Rent - $22.";
- msg6.IText=(UBYTE *)"Rent - 1 house $110.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $330.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $800.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $975.";
- msg10.IText=(UBYTE *)"Rent - hotel $1150.";
- msg11.IText=(UBYTE *)"Each house costs $150.";
- }
- if (listproppage == 16)
- {
- msg0.FrontPen=yellow;
- msg1.FrontPen=yellow;
- msg3.FrontPen=yellow;
- msg4.FrontPen=yellow;
- msg0.IText=(UBYTE *)" MARVIN GARDINS";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $280.";
- msg4.IText=(UBYTE *)"Mortgage value: $140.";
- msg5.IText=(UBYTE *)"Rent - $24.";
- msg6.IText=(UBYTE *)"Rent - 1 house $120.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $360.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $850.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $1025.";
- msg10.IText=(UBYTE *)"Rent - hotel $1200.";
- msg11.IText=(UBYTE *)"Each house costs $150.";
- goto expage;
- }
- if (listproppage == 17)
- {
- msg0.FrontPen=green;
- msg1.FrontPen=green;
- msg3.FrontPen=green;
- msg4.FrontPen=green;
- msg0.IText=(UBYTE *)" PACIFIC AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $300.";
- msg4.IText=(UBYTE *)"Mortgage value: $150.";
- msg5.IText=(UBYTE *)"Rent - $26.";
- msg6.IText=(UBYTE *)"Rent - 1 house $130.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $390.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $900.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $1100.";
- msg10.IText=(UBYTE *)"Rent - hotel $1275.";
- msg11.IText=(UBYTE *)"Each house costs $200.";
- goto expage;
- }
- if (listproppage == 18)
- {
- msg0.FrontPen=green;
- msg1.FrontPen=green;
- msg3.FrontPen=green;
- msg4.FrontPen=green;
- msg0.IText=(UBYTE *)"NORTH CAROLINA AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $300.";
- msg4.IText=(UBYTE *)"Mortgage value: $150.";
- msg5.IText=(UBYTE *)"Rent - $26.";
- msg6.IText=(UBYTE *)"Rent - 1 house $130.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $390.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $900.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $1100.";
- msg10.IText=(UBYTE *)"Rent - hotel $1275.";
- msg11.IText=(UBYTE *)"Each house costs $200.";
- goto expage;
- }
- if (listproppage == 19)
- {
- msg0.FrontPen=green;
- msg1.FrontPen=green;
- msg3.FrontPen=green;
- msg4.FrontPen=green;
- msg0.IText=(UBYTE *)" PENNSYLVANIA AVENUE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $320.";
- msg4.IText=(UBYTE *)"Mortgage value: $160.";
- msg5.IText=(UBYTE *)"Rent - $28.";
- msg6.IText=(UBYTE *)"Rent - 1 house $150.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $450.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $1000.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $1200.";
- msg10.IText=(UBYTE *)"Rent - hotel $1400.";
- msg11.IText=(UBYTE *)"Each house costs $200.";
- goto expage;
- }
- if (listproppage == 20)
- {
- msg0.FrontPen=dk_blue;
- msg1.FrontPen=dk_blue;
- msg3.FrontPen=dk_blue;
- msg4.FrontPen=dk_blue;
- msg0.IText=(UBYTE *)" PARK PLACE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $350.";
- msg4.IText=(UBYTE *)"Mortgage value: $175.";
- msg5.IText=(UBYTE *)"Rent - $35.";
- msg6.IText=(UBYTE *)"Rent - 1 house $175.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $500.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $1100.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $1300.";
- msg10.IText=(UBYTE *)"Rent - hotel $1500.";
- msg11.IText=(UBYTE *)"Each house costs $200.";
- goto expage;
- }
- if (listproppage == 21)
- {
- msg0.FrontPen=dk_blue;
- msg1.FrontPen=dk_blue;
- msg3.FrontPen=dk_blue;
- msg4.FrontPen=dk_blue;
- msg0.IText=(UBYTE *)" BOARDWALK";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $400.";
- msg4.IText=(UBYTE *)"Mortgage value: $200.";
- msg5.IText=(UBYTE *)"Rent - $50.";
- msg6.IText=(UBYTE *)"Rent - 1 house $200.";
- msg7.IText=(UBYTE *)"Rent - 2 houses $600.";
- msg8.IText=(UBYTE *)"Rent - 3 houses $1400.";
- msg9.IText=(UBYTE *)"Rent - 4 houses $1700.";
- msg10.IText=(UBYTE *)"Rent - hotel $2000.";
- msg11.IText=(UBYTE *)"Each house costs $200.";
- goto expage;
- }
- if (listproppage == 22)
- {
- msg0.FrontPen=dk_gray;
- msg1.FrontPen=dk_gray;
- msg3.FrontPen=dk_gray;
- msg4.FrontPen=dk_gray;
- msg0.IText=(UBYTE *)" READING RAILROAD";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $200.";
- msg4.IText=(UBYTE *)"Mortgage value: $100.";
- msg5.IText=(UBYTE *)"Rent - $25.";
- msg6.IText=(UBYTE *)"Rent - 2 RR's $50.";
- msg7.IText=(UBYTE *)"Rent - 3 RR's $100.";
- msg8.IText=(UBYTE *)"Rent - 4 RR's $200.";
- msg8.NextText=NULL;
- msg9.NextText=NULL;
- goto expage;
- }
- if (listproppage == 23)
- {
- msg0.FrontPen=dk_gray;
- msg1.FrontPen=dk_gray;
- msg3.FrontPen=dk_gray;
- msg4.FrontPen=dk_gray;
- msg0.IText=(UBYTE *)"PENNSYLVANIA RAILROAD";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $200.";
- msg4.IText=(UBYTE *)"Mortgage value: $100.";
- msg5.IText=(UBYTE *)"Rent - $25.";
- msg6.IText=(UBYTE *)"Rent - 2 RR's $50.";
- msg7.IText=(UBYTE *)"Rent - 3 RR's $100.";
- msg8.IText=(UBYTE *)"Rent - 4 RR's $200.";
- msg8.NextText=NULL;
- msg9.NextText=NULL;
- goto expage;
- }
- if (listproppage == 24)
- {
- msg0.FrontPen=dk_gray;
- msg1.FrontPen=dk_gray;
- msg3.FrontPen=dk_gray;
- msg4.FrontPen=dk_gray;
- msg0.IText=(UBYTE *)" B. & O. RAILROAD";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $200.";
- msg4.IText=(UBYTE *)"Mortgage value: $100.";
- msg5.IText=(UBYTE *)"Rent - $25.";
- msg6.IText=(UBYTE *)"Rent - 2 RR's $50.";
- msg7.IText=(UBYTE *)"Rent - 3 RR's $100.";
- msg8.IText=(UBYTE *)"Rent - 4 RR's $200.";
- msg8.NextText=NULL;
- msg9.NextText=NULL;
- goto expage;
- }
- if (listproppage == 25)
- {
- msg0.FrontPen=dk_gray;
- msg1.FrontPen=dk_gray;
- msg3.FrontPen=dk_gray;
- msg4.FrontPen=dk_gray;
- msg0.IText=(UBYTE *)" SHORT LINE";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $200.";
- msg4.IText=(UBYTE *)"Mortgage value: $100.";
- msg5.IText=(UBYTE *)"Rent - $25.";
- msg6.IText=(UBYTE *)"Rent - 2 RR's $50.";
- msg7.IText=(UBYTE *)"Rent - 3 RR's $100.";
- msg8.IText=(UBYTE *)"Rent - 4 RR's $200.";
- msg8.NextText=NULL;
- msg9.NextText=NULL;
- goto expage;
- }
- if (listproppage == 26)
- {
- msg0.FrontPen=dk_maroon;
- msg1.FrontPen=dk_maroon;
- msg3.FrontPen=dk_maroon;
- msg4.FrontPen=dk_maroon;
- msg0.IText=(UBYTE *)" ELECTRIC COMPANY";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $150.";
- msg4.IText=(UBYTE *)"Mortgage value: $75.";
- msg5.IText=(UBYTE *)"If one utility owned";
- msg6.IText=(UBYTE *)"pay 4 times dice roll.";
- msg7.IText=(UBYTE *)"If both utilities owned";
- msg8.IText=(UBYTE *)"pay 10 times dice roll.";
- if (owner[12] == owner[28])
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=red;
- msg8.FrontPen=red;
- }
- else
- {
- msg5.FrontPen=red;
- msg6.FrontPen=red;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
- if ( (owner[12] == 9) && (owner[28] == 9) )
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
-
- msg8.NextText=NULL;
- msg9.NextText=NULL;
- goto expage;
- }
- if (listproppage == 27)
- {
- msg0.FrontPen=dk_maroon;
- msg1.FrontPen=dk_maroon;
- msg3.FrontPen=dk_maroon;
- msg4.FrontPen=dk_maroon;
- msg0.IText=(UBYTE *)" WATER WORKS";
- msg1.IText=(UBYTE *)" is owned by:";
- msg3.IText=(UBYTE *)"Original cost: $150.";
- msg4.IText=(UBYTE *)"Mortgage value: $75.";
- msg4.IText=(UBYTE *)"Mortgage value: $75.";
- msg5.IText=(UBYTE *)"If one utility owned";
- msg6.IText=(UBYTE *)"pay 4 times dice roll.";
- msg7.IText=(UBYTE *)"If both utilities owned";
- msg8.IText=(UBYTE *)"pay 10 times dice roll.";
- if (owner[12] == owner[28])
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=red;
- msg8.FrontPen=red;
- }
- else
- {
- msg5.FrontPen=red;
- msg6.FrontPen=red;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
- if ( (owner[12] == 9) && (owner[28] == 9) )
- {
- msg5.FrontPen=green;
- msg6.FrontPen=green;
- msg7.FrontPen=green;
- msg8.FrontPen=green;
- }
- msg8.NextText=NULL;
- msg9.NextText=NULL;
- }
- expage:
- SetAPen(rportlistprop, black);
- RectFill(rportlistprop, 0, 0, 193,142);
- PrintIText(rportlistprop, &msg0, 0, 0);
- if (ismorg[loc]) PrintIText(rportlistprop, &msg12, 0, 0);
- }
-
-
- VOID cklistpropmsg()
- {
- ULONG lclass;
- USHORT lcode;
- lclass=0;
- lcode=0;
-
-
- while (listpropmsg=(struct IntuiMessage *)GetMsg(listpropwindow->UserPort))
- {
- lclass = listpropmsg->Class;
- lcode = listpropmsg->Code;
- ReplyMsg(listpropmsg);
- if ( (lclass == RAWKEY) && (lcode == HELP) ) instruction();
- if ( (lclass == MENUPICK) && (lcode != MENUNULL) )
- {
- if (MENUNUM(lcode) == 0)
- {
- if (ITEMNUM(lcode) == 0) listproppage++;
- if (ITEMNUM(lcode) == 1) listproppage--;
- if ( (ITEMNUM(lcode) == 1) || (ITEMNUM(lcode) == 0) )
- {
- if (listproppage > 27) listproppage=0;
- if (listproppage < 0) listproppage=27;
- }
- if (ITEMNUM(lcode) == 2) donelistprop=TRUE;
- if (ITEMNUM(lcode) == 3) moneybags(SUBNUM(lcode));
- }
- if (MENUNUM(lcode) == 1)
- {
- if (ITEMNUM(lcode) == 0)
- {
- if (SUBNUM(lcode) == 0) listproppage=0;
- if (SUBNUM(lcode) == 1) listproppage=1;
- }
- if (ITEMNUM(lcode) == 1)
- {
- if (SUBNUM(lcode) == 0) listproppage=2;
- if (SUBNUM(lcode) == 1) listproppage=3;
- if (SUBNUM(lcode) == 2) listproppage=4;
- }
- if (ITEMNUM(lcode) == 2)
- {
- if (SUBNUM(lcode) == 0) listproppage=5;
- if (SUBNUM(lcode) == 1) listproppage=6;
- if (SUBNUM(lcode) == 2) listproppage=7;
- }
- if (ITEMNUM(lcode) == 3)
- {
- if (SUBNUM(lcode) == 0) listproppage=8;
- if (SUBNUM(lcode) == 1) listproppage=9;
- if (SUBNUM(lcode) == 2) listproppage=10;
- }
- if (ITEMNUM(lcode) == 4)
- {
- if (SUBNUM(lcode) == 0) listproppage=11;
- if (SUBNUM(lcode) == 1) listproppage=12;
- if (SUBNUM(lcode) == 2) listproppage=13;
- }
- if (ITEMNUM(lcode) == 5)
- {
- if (SUBNUM(lcode) == 0) listproppage=14;
- if (SUBNUM(lcode) == 1) listproppage=15;
- if (SUBNUM(lcode) == 2) listproppage=16;
- }
- if (ITEMNUM(lcode) == 6)
- {
- if (SUBNUM(lcode) == 0) listproppage=17;
- if (SUBNUM(lcode) == 1) listproppage=18;
- if (SUBNUM(lcode) == 2) listproppage=19;
- }
- if (ITEMNUM(lcode) == 7)
- {
- if (SUBNUM(lcode) == 0) listproppage=20;
- if (SUBNUM(lcode) == 1) listproppage=21;
- }
- if (ITEMNUM(lcode) == 8)
- {
- if (SUBNUM(lcode) == 0) listproppage=22;
- if (SUBNUM(lcode) == 1) listproppage=23;
- if (SUBNUM(lcode) == 2) listproppage=24;
- if (SUBNUM(lcode) == 3) listproppage=25;
- }
- if (ITEMNUM(lcode) == 9)
- {
- if (SUBNUM(lcode) == 0) listproppage=26;
- if (SUBNUM(lcode) == 1) listproppage=27;
- }
- }
- }
- }
- }
-
- VOID viewdeeds()
- {
- USHORT hold_line;
-
- nlistpropw.Screen=screen1;
- if ((listpropwindow=(struct Window *)OpenWindow(&nlistpropw))==NULL) cleanup();
- rportlistprop=listpropwindow->RPort;
-
- line0_text=84;
- for (j=0, hold_line=line0_text; j<SHOW_LINES; j++)
- instructIT[j].IText=instructline[hold_line++];
-
- showlistpropinstructions();
-
- listproppage=-1;
- oldlistproppage=-1;
- donelistprop=FALSE;
- while (!donelistprop)
- {
-
- if (1<<listpropwindow->UserPort->mp_SigBit) cklistpropmsg();
- if (oldlistproppage != listproppage) printlistproppage();
- }
- ClearMenuStrip(listpropwindow);
- CloseWindow(listpropwindow);
- }
-
-
-