Changeset 179 for branches/highdpi/LocalPlayer/UnitStat.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/UnitStat.pas
r178 r179 97 97 begin 98 98 AgePrepared := MainTextureAge; 99 bitblt(Back.Canvas.Handle, 0, 0, wCommon, hOwnModel,99 Dpibitblt(Back.Canvas.Handle, 0, 0, wCommon, hOwnModel, 100 100 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 101 101 (hMainTexture - hOwnModel) div 2, SRCCOPY); 102 bitblt(Back.Canvas.Handle, wCommon, 0, wCommon, hEnemyModel,102 Dpibitblt(Back.Canvas.Handle, wCommon, 0, wCommon, hEnemyModel, 103 103 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 104 104 (hMainTexture - hEnemyModel) div 2, SRCCOPY); 105 bitblt(Back.Canvas.Handle, 2 * wCommon, 0, wCommon, hEnemyUnit,105 Dpibitblt(Back.Canvas.Handle, 2 * wCommon, 0, wCommon, hEnemyUnit, 106 106 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 107 107 (hMainTexture - hEnemyUnit) div 2, SRCCOPY); 108 bitblt(Back.Canvas.Handle, 3 * wCommon, 0, wCommon, hEnemyCityDefense,108 Dpibitblt(Back.Canvas.Handle, 3 * wCommon, 0, wCommon, hEnemyCityDefense, 109 109 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 110 110 (hMainTexture - hEnemyCityDefense) div 2, SRCCOPY); 111 bitblt(Back.Canvas.Handle, 4 * wCommon, 0, wCommon, hEnemyCity,111 Dpibitblt(Back.Canvas.Handle, 4 * wCommon, 0, wCommon, hEnemyCity, 112 112 MainTexture.Image.Canvas.Handle, (wMainTexture - wCommon) div 2, 113 113 (hMainTexture - hEnemyCity) div 2, SRCCOPY); … … 387 387 dkOwnModel: 388 388 begin 389 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hOwnModel,389 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hOwnModel, 390 390 Back.Canvas.Handle, 0, 0, SRCCOPY); 391 391 yView := 13; … … 394 394 dkEnemyModel: 395 395 begin 396 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyModel,396 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyModel, 397 397 Back.Canvas.Handle, wCommon, 0, SRCCOPY); 398 398 yView := 13; … … 401 401 dkEnemyUnit, dkOwnUnit: 402 402 begin 403 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyUnit,403 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyUnit, 404 404 Back.Canvas.Handle, 2 * wCommon, 0, SRCCOPY); 405 405 yView := 13; … … 408 408 dkEnemyCityDefense: 409 409 begin 410 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCityDefense,410 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCityDefense, 411 411 Back.Canvas.Handle, 3 * wCommon, 0, SRCCOPY); 412 412 yView := 171; … … 415 415 dkEnemyCity: 416 416 begin 417 bitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCity,417 Dpibitblt(offscreen.Canvas.Handle, 0, 0, wCommon, hEnemyCity, 418 418 Back.Canvas.Handle, 4 * wCommon, 0, SRCCOPY); 419 419 end; … … 445 445 yImp + ySizeSmall, MainTexture.clBevelLight, 446 446 MainTexture.clBevelShade); 447 bitblt(offscreen.Canvas.Handle, x, yImp, xSizeSmall, ySizeSmall,447 Dpibitblt(offscreen.Canvas.Handle, x, yImp, xSizeSmall, ySizeSmall, 448 448 SmallImp.Canvas.Handle, j mod 7 * xSizeSmall, 449 449 (j + SystemIconLines * 7) div 7 * ySizeSmall, SRCCOPY); … … 564 564 * (yyt * 3 + 1)); 565 565 end; 566 bitblt(offscreen.Canvas.Handle, xView, yView + 16, 64, 32,566 Dpibitblt(offscreen.Canvas.Handle, xView, yView + 16, 64, 32, 567 567 Buffer.Canvas.Handle, 1, 0, SRCCOPY); 568 568
Note:
See TracChangeset
for help on using the changeset viewer.