Changeset 291 for trunk/UCore.pas
- Timestamp:
- Mar 26, 2019, 1:16:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r287 r291 557 557 Color := clFuchsia; 558 558 end; 559 with UnitKinds.AddNew('Unit') do begin559 with TUnitKind(UnitKinds.AddItem('Unit')) do begin 560 560 Moves := 1; 561 561 Power := 99; … … 591 591 Color := clFuchsia; 592 592 end; 593 with UnitKinds.AddNew('Unit') do begin593 with TUnitKind(UnitKinds.AddItem('Unit')) do begin 594 594 Moves := 1; 595 595 Power := 99; … … 604 604 Color := clFuchsia; 605 605 end; 606 with UnitKinds.AddNew('Scout') do begin607 Moves := 1; 608 Power := 1; 609 end; 610 with UnitKinds.AddNew('Settler') do begin606 with TUnitKind(UnitKinds.AddItem('Scout')) do begin 607 Moves := 1; 608 Power := 1; 609 end; 610 with TUnitKind(UnitKinds.AddItem('Settler')) do begin 611 611 Moves := 1; 612 612 Power := 1; … … 618 618 UnitsMoveImmediately := True; 619 619 MaxPlayerCount := 3; 620 with UnitKinds.AddNew('Scout') do begin621 Moves := 1; 622 Power := 1; 623 end; 624 with UnitKinds.AddNew('Settler') do begin620 with TUnitKind(UnitKinds.AddItem('Scout')) do begin 621 Moves := 1; 622 Power := 1; 623 end; 624 with TUnitKind(UnitKinds.AddItem('Settler')) do begin 625 625 Moves := 1; 626 626 Power := 1; … … 632 632 UnitsMoveImmediately := True; 633 633 MaxPlayerCount := 3; 634 with UnitKinds.AddNew('Scout') do begin635 Moves := 1; 636 Power := 1; 637 end; 638 with UnitKinds.AddNew('Settler') do begin634 with TUnitKind(UnitKinds.AddItem('Scout')) do begin 635 Moves := 1; 636 Power := 1; 637 end; 638 with TUnitKind(UnitKinds.AddItem('Settler')) do begin 639 639 Moves := 1; 640 640 Power := 1; … … 646 646 UnitsMoveImmediately := True; 647 647 MaxPlayerCount := 3; 648 with UnitKinds.AddNew('Scout') do begin649 Moves := 1; 650 Power := 1; 651 end; 652 with UnitKinds.AddNew('Settler') do begin648 with TUnitKind(UnitKinds.AddItem('Scout')) do begin 649 Moves := 1; 650 Power := 1; 651 end; 652 with TUnitKind(UnitKinds.AddItem('Settler')) do begin 653 653 Moves := 1; 654 654 Power := 1; … … 660 660 UnitsMoveImmediately := True; 661 661 MaxPlayerCount := 3; 662 with UnitKinds.AddNew('Scout') do begin663 Moves := 1; 664 Power := 1; 665 end; 666 with UnitKinds.AddNew('Settler') do begin662 with TUnitKind(UnitKinds.AddItem('Scout')) do begin 663 Moves := 1; 664 Power := 1; 665 end; 666 with TUnitKind(UnitKinds.AddItem('Settler')) do begin 667 667 Moves := 1; 668 668 Power := 1; … … 674 674 UnitsMoveImmediately := True; 675 675 MaxPlayerCount := 3; 676 with UnitKinds.AddNew('Scout') do begin677 Moves := 1; 678 Power := 1; 679 end; 680 with UnitKinds.AddNew('Settler') do begin676 with TUnitKind(UnitKinds.AddItem('Scout')) do begin 677 Moves := 1; 678 Power := 1; 679 end; 680 with TUnitKind(UnitKinds.AddItem('Settler')) do begin 681 681 Moves := 1; 682 682 Power := 1; … … 706 706 Color := clOrange; 707 707 end; 708 with UnitKinds.AddNew('Light Infantry') do begin709 Moves := 1; 710 end; 711 with UnitKinds.AddNew('Heavy Troopers') do begin712 Moves := 1; 713 end; 714 with UnitKinds.AddNew('Trike') do begin715 Moves := 1; 716 end; 717 with UnitKinds.AddNew('Quad') do begin708 with TUnitKind(UnitKinds.AddItem('Light Infantry')) do begin 709 Moves := 1; 710 end; 711 with TUnitKind(UnitKinds.AddItem('Heavy Troopers')) do begin 712 Moves := 1; 713 end; 714 with TUnitKind(UnitKinds.AddItem('Trike')) do begin 715 Moves := 1; 716 end; 717 with TUnitKind(UnitKinds.AddItem('Quad')) do begin 718 718 Moves := 1; 719 719 end; … … 724 724 UnitsMoveImmediately := True; 725 725 MaxPlayerCount := 8; 726 with UnitKinds.AddNew('Demon 132') do begin726 with TUnitKind(UnitKinds.AddItem('Demon 132')) do begin 727 727 Moves := 4; 728 728 Power := 10; 729 729 end; 730 with UnitKinds.AddNew('Troll 142') do begin730 with TUnitKind(UnitKinds.AddItem('Troll 142')) do begin 731 731 Moves := 3; 732 732 Power := 10; 733 733 end; 734 with UnitKinds.AddNew('Ranger 132') do begin734 with TUnitKind(UnitKinds.AddItem('Ranger 132')) do begin 735 735 Moves := 10; 736 736 Power := 10; 737 737 end; 738 with UnitKinds.AddNew('Buggy') do begin738 with TUnitKind(UnitKinds.AddItem('Buggy')) do begin 739 739 Moves := 10; 740 740 Power := 10; … … 755 755 Color := clGreen; 756 756 end; 757 with UnitKinds.AddNew('Rifle Team') do begin758 Moves := 1; 759 end; 760 with UnitKinds.AddNew('Machine Gun') do begin761 Moves := 1; 762 end; 763 with UnitKinds.AddNew('Heavy Infantry') do begin764 Moves := 1; 765 end; 766 with UnitKinds.AddNew('Granadiers') do begin757 with TUnitKind(UnitKinds.AddItem('Rifle Team')) do begin 758 Moves := 1; 759 end; 760 with TUnitKind(UnitKinds.AddItem('Machine Gun')) do begin 761 Moves := 1; 762 end; 763 with TUnitKind(UnitKinds.AddItem('Heavy Infantry')) do begin 764 Moves := 1; 765 end; 766 with TUnitKind(UnitKinds.AddItem('Granadiers')) do begin 767 767 Moves := 1; 768 768 end;
Note:
See TracChangeset
for help on using the changeset viewer.