Changeset 282 for trunk/UCore.pas
- Timestamp:
- Mar 10, 2019, 4:48:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r281 r282 9 9 UGame, UApplicationInfo, UPersistentForm, UScaleDPI, UCoolTranslator, 10 10 URegistry, ULastOpenedList, UTheme, Registry, Menus, UFormClient, UPlayer, 11 UGameServer, UGameClient, fgl, UServerList, UGameSystem, UUnit ;11 UGameServer, UGameClient, fgl, UServerList, UGameSystem, UUnit, Graphics; 12 12 13 13 type … … 118 118 Core: TCore; 119 119 120 const 121 clOrange = $009Aff; 122 clBrown = $a52A2A; 123 120 124 121 125 implementation … … 517 521 PreferedMapType := mtNone; 518 522 MaxPlayerCount := 3; 523 with Nations.AddNew('Nation 1') do begin 524 Color := clBlue; 525 end; 526 with Nations.AddNew('Nation 2') do begin 527 Color := clRed; 528 end; 529 with Nations.AddNew('Nation 3') do begin 530 Color := clGreen; 531 end; 532 with Nations.AddNew('Nation 4') do begin 533 Color := clOrange; 534 end; 535 with Nations.AddNew('Nation 5') do begin 536 Color := clPurple; 537 end; 538 with Nations.AddNew('Nation 6') do begin 539 Color := clMaroon; 540 end; 541 with Nations.AddNew('Nation 7') do begin 542 Color := clAqua; 543 end; 544 with Nations.AddNew('Nation 8') do begin 545 Color := clFuchsia; 546 end; 519 547 with UnitKinds.AddNew('Unit') do begin 520 548 Moves := 1; … … 525 553 with GameSystems.AddNew('HexWars') do begin 526 554 PreferedMapType := mtHexagonVertical; 527 MaxPlayerCount := 3; 555 UnitsMoveImmediately := False; 556 MaxPlayerCount := 8; 557 with Nations.AddNew('Nation 1') do begin 558 Color := clBlue; 559 end; 560 with Nations.AddNew('Nation 2') do begin 561 Color := clRed; 562 end; 563 with Nations.AddNew('Nation 3') do begin 564 Color := clGreen; 565 end; 566 with Nations.AddNew('Nation 4') do begin 567 Color := clOrange; 568 end; 569 with Nations.AddNew('Nation 5') do begin 570 Color := clPurple; 571 end; 572 with Nations.AddNew('Nation 6') do begin 573 Color := clMaroon; 574 end; 575 with Nations.AddNew('Nation 7') do begin 576 Color := clAqua; 577 end; 578 with Nations.AddNew('Nation 8') do begin 579 Color := clFuchsia; 580 end; 528 581 with UnitKinds.AddNew('Unit') do begin 529 582 Moves := 1; … … 534 587 with GameSystems.AddNew('Civilization I') do begin 535 588 PreferedMapType := mtSquare; 589 UnitsMoveImmediately := True; 590 MaxPlayerCount := 3; 591 with Nations.AddNew('Americans') do begin 592 Color := clFuchsia; 593 end; 594 with UnitKinds.AddNew('Scout') do begin 595 Moves := 1; 596 Power := 1; 597 end; 598 with UnitKinds.AddNew('Settler') do begin 599 Moves := 1; 600 Power := 1; 601 end; 602 end; 603 604 with GameSystems.AddNew('Civilization II') do begin 605 PreferedMapType := mtIsometric; 606 UnitsMoveImmediately := True; 536 607 MaxPlayerCount := 3; 537 608 with UnitKinds.AddNew('Scout') do begin … … 545 616 end; 546 617 547 with GameSystems.AddNew('Civilization II ') do begin618 with GameSystems.AddNew('Civilization III') do begin 548 619 PreferedMapType := mtIsometric; 620 UnitsMoveImmediately := True; 549 621 MaxPlayerCount := 3; 550 622 with UnitKinds.AddNew('Scout') do begin … … 558 630 end; 559 631 560 with GameSystems.AddNew('Civilization I II') do begin632 with GameSystems.AddNew('Civilization IV') do begin 561 633 PreferedMapType := mtIsometric; 634 UnitsMoveImmediately := True; 562 635 MaxPlayerCount := 3; 563 636 with UnitKinds.AddNew('Scout') do begin … … 571 644 end; 572 645 573 with GameSystems.AddNew('Civilization IV') do begin 574 PreferedMapType := mtIsometric; 646 with GameSystems.AddNew('Civilization V') do begin 647 PreferedMapType := mtHexagonHorizontal; 648 UnitsMoveImmediately := True; 575 649 MaxPlayerCount := 3; 576 650 with UnitKinds.AddNew('Scout') do begin … … 584 658 end; 585 659 586 with GameSystems.AddNew('Civilization V ') do begin660 with GameSystems.AddNew('Civilization VI') do begin 587 661 PreferedMapType := mtHexagonHorizontal; 662 UnitsMoveImmediately := True; 588 663 MaxPlayerCount := 3; 589 664 with UnitKinds.AddNew('Scout') do begin … … 597 672 end; 598 673 599 with GameSystems.AddNew('Civilization VI') do begin600 PreferedMapType := mtHexagonHorizontal;601 MaxPlayerCount := 3;602 with UnitKinds.AddNew('Scout') do begin603 Moves := 1;604 Power := 1;605 end;606 with UnitKinds.AddNew('Settler') do begin607 Moves := 1;608 Power := 1;609 end;610 end;611 612 674 with GameSystems.AddNew('Dune 2') do begin 613 675 PreferedMapType := mtSquare; 676 UnitsMoveImmediately := True; 614 677 MaxPlayerCount := 3; 678 with Nations.AddNew('Attreides') do begin 679 Color := clBlue; 680 end; 681 with Nations.AddNew('Harkonen') do begin 682 Color := clRed; 683 end; 684 with Nations.AddNew('Ordos') do begin 685 Color := clGreen; 686 end; 687 with Nations.AddNew('Fremens') do begin 688 Color := clBrown; 689 end; 690 with Nations.AddNew('Sardaukers') do begin 691 Color := clPurple; 692 end; 693 with Nations.AddNew('Merceneries') do begin 694 Color := clOrange; 695 end; 615 696 with UnitKinds.AddNew('Light Infantry') do begin 616 697 Moves := 1; … … 629 710 with GameSystems.AddNew('Battle Isle 2') do begin 630 711 PreferedMapType := mtHexagonHorizontal; 712 UnitsMoveImmediately := True; 631 713 MaxPlayerCount := 8; 632 714 with UnitKinds.AddNew('Demon 132') do begin … … 650 732 with GameSystems.AddNew('Panzer General') do begin 651 733 PreferedMapType := mtHexagonHorizontal; 734 UnitsMoveImmediately := True; 652 735 MaxPlayerCount := 2; 736 with Nations.AddNew('Germany') do begin 737 Color := clBlue; 738 end; 739 with Nations.AddNew('Russia') do begin 740 Color := clRed; 741 end; 742 with Nations.AddNew('Alliance') do begin 743 Color := clGreen; 744 end; 653 745 with UnitKinds.AddNew('Rifle Team') do begin 654 746 Moves := 1;
Note:
See TracChangeset
for help on using the changeset viewer.