Changeset 437 for trunk/LocalPlayer
- Timestamp:
- May 11, 2022, 9:06:36 AM (3 years ago)
- Location:
- trunk/LocalPlayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Battle.pas
r352 r437 38 38 BattleDlg: TBattleDlg; 39 39 40 40 41 implementation 41 42 … … 149 150 begin 150 151 if Forecast.EndHealthDef > 0 then 151 RisedTextOut(ca, xm + 10, ym - (TextSize.cy + 1) div 2, LabelText) 152 RisedTextOut(ca, xm + 10, ym - (TextSize.cy + 1) div 2, LabelText); 152 153 end 153 154 else … … 171 172 if Forecast.EndHealthAtt > 0 then 172 173 RisedTextOut(ca, xm - (TextSize.cx + 1) div 2, ym + 8 + LAAvoidedDamage, 173 LabelText) 174 LabelText); 174 175 end 175 176 else … … 240 241 Brush.Style := bsClear; 241 242 PaintBackground(self, 3 + Border, 3 + Border, 242 ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border)) 243 ClientWidth - (6 + 2 * Border), ClientHeight - (6 + 2 * Border)); 243 244 end; 244 245 Frame(Canvas, Border + 1, Border + 1, ClientWidth - (2 + Border), … … 270 271 205 + (MessageLineSpacing - MessageLineSpacing div 2), s1); 271 272 end; 272 ym := 110 273 ym := 110; 273 274 end 274 275 else … … 297 298 begin 298 299 if not IsSuicideQuery then 299 Close 300 Close; 300 301 end; 301 302 … … 309 310 if Key <> VK_ESCAPE then 310 311 MainScreen.FormKeyDown(Sender, Key, Shift); 311 end 312 end; 312 313 end; 313 314 -
trunk/LocalPlayer/Draft.pas
r432 r437 43 43 DraftDlg: TDraftDlg; 44 44 45 45 46 implementation 46 47 47 uses Help, Tribes, Directories; 48 uses 49 Help, Tribes, Directories; 48 50 49 51 {$R *.lfm} … … 175 177 end; 176 178 end; 177 end 179 end; 178 180 end; 179 181 … … 403 405 end; 404 406 MarkUsedOffscreen(ClientWidth, ClientHeight); 405 end; { MainPaint }407 end; 406 408 407 409 procedure TDraftDlg.SetDomain(d: integer); … … 434 436 begin 435 437 code[Lines] := i; 436 inc(Lines) 438 inc(Lines); 437 439 end; 438 440 yFeature := yFeature0 + (MaxLines - Lines) * LinePitch div 2; … … 445 447 x := code[i]; 446 448 code[i] := code[j]; 447 code[j] := x 449 code[j] := x; 448 450 end; 449 451 end; … … 554 556 SmartInvalidate; 555 557 end; 556 end 557 end 558 end 558 end; 559 end; 560 end; 559 561 end; 560 562
Note:
See TracChangeset
for help on using the changeset viewer.