Changeset 284 for trunk/UCore.pas
- Timestamp:
- Mar 10, 2019, 6:19:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r282 r284 129 129 uses 130 130 UFormMain, UFormNew, UFormSettings, UFormAbout, UClientAI, UFormKeyShortcuts, 131 UFormHelp, UFormCharts, UFormUnitMoves, UFormPlayersStats, UClientGUI, UMapType; 131 UFormHelp, UFormCharts, UFormUnitMoves, UFormPlayersStats, UClientGUI, UMapType, 132 UNation; 132 133 133 134 const … … 521 522 PreferedMapType := mtNone; 522 523 MaxPlayerCount := 3; 523 with Nations.AddNew('Nation 1') do begin524 with TNation(Nations.AddItem('Nation 1')) do begin 524 525 Color := clBlue; 525 526 end; 526 with Nations.AddNew('Nation 2') do begin527 with TNation(Nations.AddItem('Nation 2')) do begin 527 528 Color := clRed; 528 529 end; 529 with Nations.AddNew('Nation 3') do begin530 with TNation(Nations.AddItem('Nation 3')) do begin 530 531 Color := clGreen; 531 532 end; 532 with Nations.AddNew('Nation 4') do begin533 with TNation(Nations.AddItem('Nation 4')) do begin 533 534 Color := clOrange; 534 535 end; 535 with Nations.AddNew('Nation 5') do begin536 with TNation(Nations.AddItem('Nation 5')) do begin 536 537 Color := clPurple; 537 538 end; 538 with Nations.AddNew('Nation 6') do begin539 with TNation(Nations.AddItem('Nation 6')) do begin 539 540 Color := clMaroon; 540 541 end; 541 with Nations.AddNew('Nation 7') do begin542 with TNation(Nations.AddItem('Nation 7')) do begin 542 543 Color := clAqua; 543 544 end; 544 with Nations.AddNew('Nation 8') do begin545 with TNation(Nations.AddItem('Nation 8')) do begin 545 546 Color := clFuchsia; 546 547 end; … … 555 556 UnitsMoveImmediately := False; 556 557 MaxPlayerCount := 8; 557 with Nations.AddNew('Nation 1') do begin558 with TNation(Nations.AddItem('Nation 1')) do begin 558 559 Color := clBlue; 559 560 end; 560 with Nations.AddNew('Nation 2') do begin561 with TNation(Nations.AddItem('Nation 2')) do begin 561 562 Color := clRed; 562 563 end; 563 with Nations.AddNew('Nation 3') do begin564 with TNation(Nations.AddItem('Nation 3')) do begin 564 565 Color := clGreen; 565 566 end; 566 with Nations.AddNew('Nation 4') do begin567 with TNation(Nations.AddItem('Nation 4')) do begin 567 568 Color := clOrange; 568 569 end; 569 with Nations.AddNew('Nation 5') do begin570 with TNation(Nations.AddItem('Nation 5')) do begin 570 571 Color := clPurple; 571 572 end; 572 with Nations.AddNew('Nation 6') do begin573 with TNation(Nations.AddItem('Nation 6')) do begin 573 574 Color := clMaroon; 574 575 end; 575 with Nations.AddNew('Nation 7') do begin576 with TNation(Nations.AddItem('Nation 7')) do begin 576 577 Color := clAqua; 577 578 end; 578 with Nations.AddNew('Nation 8') do begin579 with TNation(Nations.AddItem('Nation 8')) do begin 579 580 Color := clFuchsia; 580 581 end; … … 589 590 UnitsMoveImmediately := True; 590 591 MaxPlayerCount := 3; 591 with Nations.AddNew('Americans') do begin592 with TNation(Nations.AddItem('Americans')) do begin 592 593 Color := clFuchsia; 593 594 end; … … 676 677 UnitsMoveImmediately := True; 677 678 MaxPlayerCount := 3; 678 with Nations.AddNew('Attreides') do begin679 with TNation(Nations.AddItem('Attreides')) do begin 679 680 Color := clBlue; 680 681 end; 681 with Nations.AddNew('Harkonen') do begin682 with TNation(Nations.AddItem('Harkonen')) do begin 682 683 Color := clRed; 683 684 end; 684 with Nations.AddNew('Ordos') do begin685 with TNation(Nations.AddItem('Ordos')) do begin 685 686 Color := clGreen; 686 687 end; 687 with Nations.AddNew('Fremens') do begin688 with TNation(Nations.AddItem('Fremens')) do begin 688 689 Color := clBrown; 689 690 end; 690 with Nations.AddNew('Sardaukers') do begin691 with TNation(Nations.AddItem('Sardaukers')) do begin 691 692 Color := clPurple; 692 693 end; 693 with Nations.AddNew('Merceneries') do begin694 with TNation(Nations.AddItem('Merceneries')) do begin 694 695 Color := clOrange; 695 696 end; … … 734 735 UnitsMoveImmediately := True; 735 736 MaxPlayerCount := 2; 736 with Nations.AddNew('Germany') do begin737 with TNation(Nations.AddItem('Germany')) do begin 737 738 Color := clBlue; 738 739 end; 739 with Nations.AddNew('Russia') do begin740 with TNation(Nations.AddItem('Russia')) do begin 740 741 Color := clRed; 741 742 end; 742 with Nations.AddNew('Alliance') do begin743 with TNation(Nations.AddItem('Alliance')) do begin 743 744 Color := clGreen; 744 745 end;
Note:
See TracChangeset
for help on using the changeset viewer.