Changeset 417 for trunk/LocalPlayer/Nego.pas
- Timestamp:
- Nov 17, 2021, 11:11:01 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Nego.pas
r352 r417 136 136 'VII', 'VIII', 'IX', 'X', 'XI', 'XII', 'XIII', 'XIV', 'XV', 'XVI'); 137 137 138 ButtonPrice: array [0 .. 11] of cardinal = (opChoose, opCivilReport,138 ButtonPrice: array [0 .. 11] of Cardinal = (opChoose, opCivilReport, 139 139 opMilReport, opMap, opAllTech, opAllTech, opAllModel, opMoney, opTreaty, 140 140 opLowTreaty, opShipParts, opShipParts); … … 142 142 procedure TNegoDlg.FormCreate(Sender: TObject); 143 143 var 144 cix: integer;144 cix: Integer; 145 145 begin 146 146 InitButtons; … … 153 153 BackGraphic := HGrSystem2.Data; 154 154 case Tag shr 8 of 155 1: 156 SmartHint := Phrases.Lookup('WANT', ButtonIndex - 6); 157 2: 158 SmartHint := Phrases.Lookup('OFFER', ButtonIndex - 6); 155 1: SmartHint := Phrases.Lookup('WANT', ButtonIndex - 6); 156 2: SmartHint := Phrases.Lookup('OFFER', ButtonIndex - 6); 159 157 end; 160 158 end; 161 159 162 fillchar(History, sizeof(History), 0);160 FillChar(History, SizeOf(History), 0); 163 161 RomanFont := TFont.Create; 164 162 RomanFont.Name := 'Times New Roman';
Note:
See TracChangeset
for help on using the changeset viewer.