Changeset 328 for trunk/LocalPlayer/Help.pas
- Timestamp:
- Mar 25, 2021, 3:02:29 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Help.pas
r318 r328 1484 1484 hkMisc + hkCrossLink, miscGovList); 1485 1485 NextSection('BUILDALLOW'); 1486 for i := 0 to 27do1486 for i := 0 to nWonder - 1 do 1487 1487 if Imp[i].Preq = no then 1488 1488 AddImprovement(i); 1489 for i := 28to nImp - 1 do1489 for i := nWonder to nImp - 1 do 1490 1490 if (Imp[i].Preq = no) and (Imp[i].Kind <> ikCommon) then 1491 1491 AddImprovement(i); 1492 for i := 28to nImp - 1 do1492 for i := nWonder to nImp - 1 do 1493 1493 if (Imp[i].Preq = no) and (Imp[i].Kind = ikCommon) then 1494 1494 AddImprovement(i); … … 1527 1527 end; 1528 1528 NextSection('EXPIRATION'); 1529 for i := 0 to 27do1529 for i := 0 to nWonder - 1 do 1530 1530 if (Imp[i].Preq <> preNA) and (Imp[i].Expiration = no) then 1531 1531 AddImprovement(i); … … 1545 1545 List := THyperText.Create; 1546 1546 List.OwnsObjects := True; 1547 for i := 28to nImp - 1 do1547 for i := nWonder to nImp - 1 do 1548 1548 if (i <> imTrGoods) and (Imp[i].Preq <> preNA) and 1549 1549 (Imp[i].Kind = ikCommon) then … … 1558 1558 Caption := HelpText.Lookup('HELPTITLE_UNIQUELIST'); 1559 1559 // AddLine(HelpText.Lookup('HELPTITLE_UNIQUELIST'),pkSection); 1560 for i := 28to nImp - 1 do1560 for i := nWonder to nImp - 1 do 1561 1561 if (Imp[i].Preq <> preNA) and 1562 1562 ((Imp[i].Kind = ikNatLocal) or (Imp[i].Kind = ikNatGlobal)) then … … 1566 1566 LineFeed; 1567 1567 AddLine(HelpText.Lookup('HELPTITLE_SHIPPARTLIST'),pkSection); 1568 for i:= 28to nImp-1 do1568 for i:= nWonder to nImp-1 do 1569 1569 if (Imp[i].Preq<>preNA) and (Imp[i].Kind=ikShipPart) then 1570 1570 AddLine(Phrases.Lookup('IMPROVEMENTS',i),pkSmallIcon,i,hkImp,i); } … … 1574 1574 Caption := HelpText.Lookup('HELPTITLE_WONDERLIST'); 1575 1575 // AddLine(HelpText.Lookup('HELPTITLE_WONDERLIST'),pkSection); 1576 for i := 0 to 27do1576 for i := 0 to nWonder - 1 do 1577 1577 if Imp[i].Preq <> preNA then 1578 1578 AddLine(Phrases.Lookup('IMPROVEMENTS', i), pkSmallIcon, i, … … 1600 1600 AddFeature(mcAcademy); 1601 1601 end; 1602 if (no < 28) and not Phrases2FallenBackToEnglish then1602 if (no < nWonder) and not Phrases2FallenBackToEnglish then 1603 1603 begin 1604 1604 LineFeed; … … 1646 1646 [Phrases.Lookup('TERRAIN', 3 * 12 + i)]), pkTer, 3 * 12 + i); 1647 1647 end; 1648 if (no < 28) and (Imp[no].Expiration >= 0) then1648 if (no < nWonder) and (Imp[no].Expiration >= 0) then 1649 1649 begin 1650 1650 NextSection('EXPIRATION'); … … 1656 1656 end; 1657 1657 NextSection('SEEALSO'); 1658 if (no < 28) and (Imp[no].Expiration >= 0) then1658 if (no < nWonder) and (Imp[no].Expiration >= 0) then 1659 1659 AddImprovement(woEiffel); 1660 1660 for i := 0 to nImpReplacement - 1 do
Note:
See TracChangeset
for help on using the changeset viewer.