Changeset 431 for trunk/LocalPlayer/Select.pas
- Timestamp:
- Apr 28, 2022, 10:40:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Select.pas
r363 r431 74 74 // -2=empty, -1=ambiguous, other=only choice 75 75 procedure OffscreenPaint; override; 76 procedure ShowNewContent(NewMode: integer; ListKind: TListKind);77 procedure ShowNewContent_CityProject(NewMode ,cix: integer);78 procedure ShowNewContent_MilReport(NewMode ,p: integer);76 procedure ShowNewContent(NewMode: TWindowMode; ListKind: TListKind); 77 procedure ShowNewContent_CityProject(NewMode: TWindowMode; cix: integer); 78 procedure ShowNewContent_MilReport(NewMode: TWindowMode; p: integer); 79 79 procedure EcoChange; 80 80 procedure TechChange; … … 928 928 kModels, kChooseModel: 929 929 if lix <> mixAll then 930 UnitStatDlg.ShowNewContent_OwnModel(FWindowMode or 931 wmPersistent, lix); 930 UnitStatDlg.ShowNewContent_OwnModel(wmPersistent, lix); 932 931 kEModels: 933 UnitStatDlg.ShowNewContent_EnemyModel( FWindowMode orwmPersistent,932 UnitStatDlg.ShowNewContent_EnemyModel(wmPersistent, 934 933 code[1, sb.Position + Sel]); 935 934 kAllEModels, kChooseEModel: 936 935 if lix <> mixAll then 937 UnitStatDlg.ShowNewContent_EnemyModel(FWindowMode or 938 wmPersistent, lix); 936 UnitStatDlg.ShowNewContent_EnemyModel(wmPersistent, lix); 939 937 kAdvance, kFarAdvance, kScience, kChooseTech, kChooseETech, kStealTech: 940 938 if lix = adMilitary then 941 HelpDlg.ShowNewContent( FWindowMode orwmPersistent, hkText,939 HelpDlg.ShowNewContent(wmPersistent, hkText, 942 940 HelpDlg.TextIndex('MILRES')) 943 941 else if lix < adMilitary then 944 HelpDlg.ShowNewContent( FWindowMode orwmPersistent, hkAdv, lix);942 HelpDlg.ShowNewContent(wmPersistent, hkAdv, lix); 945 943 kProject: 946 944 if lix = cpImp + imTrGoods then 947 HelpDlg.ShowNewContent( FWindowMode orwmPersistent, hkText,945 HelpDlg.ShowNewContent(wmPersistent, hkText, 948 946 HelpDlg.TextIndex('TRADINGGOODS')) 949 947 else if lix and (cpImp + cpType) = 0 then 950 UnitStatDlg.ShowNewContent_OwnModel( FWindowMode orwmPersistent,948 UnitStatDlg.ShowNewContent_OwnModel(wmPersistent, 951 949 lix and cpIndex) 952 950 else if (lix and cpType = 0) and (lix <> cpImp + imTrGoods) then 953 HelpDlg.ShowNewContent( FWindowMode orwmPersistent, hkImp,951 HelpDlg.ShowNewContent(wmPersistent, hkImp, 954 952 lix and cpIndex); 955 953 kGov: 956 HelpDlg.ShowNewContent( FWindowMode orwmPersistent, hkMisc,954 HelpDlg.ShowNewContent(wmPersistent, hkMisc, 957 955 miscGovList); 958 956 kShipPart, kEShipPart: … … 1655 1653 end; 1656 1654 1657 procedure TListDlg.ShowNewContent(NewMode: integer; ListKind: TListKind);1655 procedure TListDlg.ShowNewContent(NewMode: TWindowMode; ListKind: TListKind); 1658 1656 var 1659 1657 i: integer; … … 1740 1738 end; // ShowNewContent 1741 1739 1742 procedure TListDlg.ShowNewContent_CityProject(NewMode ,cix: integer);1740 procedure TListDlg.ShowNewContent_CityProject(NewMode: TWindowMode; cix: integer); 1743 1741 begin 1744 1742 cixProject := cix; … … 1746 1744 end; 1747 1745 1748 procedure TListDlg.ShowNewContent_MilReport(NewMode ,p: integer);1746 procedure TListDlg.ShowNewContent_MilReport(NewMode: TWindowMode; p: integer); 1749 1747 begin 1750 1748 pView := p;
Note:
See TracChangeset
for help on using the changeset viewer.