Changeset 530 for trunk/LocalPlayer/Select.pas
- Timestamp:
- Feb 24, 2024, 8:04:26 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Select.pas
r522 r530 206 206 if pix and cpType = 0 then 207 207 if (pix and cpIndex = imPalace) and (MyRO.Government <> gAnarchy) then 208 BitBlt Canvas(Offscreen.Canvas, X + 16, Y + (16 - 1), xSizeSmall,209 ySizeSmall, SmallImp .Canvas, (MyRO.Government - 1) *208 BitBltBitmap(Offscreen, X + 16, Y + (16 - 1), xSizeSmall, 209 ySizeSmall, SmallImp, (MyRO.Government - 1) * 210 210 xSizeSmall, ySizeSmall) 211 211 else 212 BitBlt Canvas(Offscreen.Canvas, X + 16, Y + (16 - 1), xSizeSmall,213 ySizeSmall, SmallImp .Canvas, pix and cpIndex mod 7 *212 BitBltBitmap(Offscreen, X + 16, Y + (16 - 1), xSizeSmall, 213 ySizeSmall, SmallImp, pix and cpIndex mod 7 * 214 214 xSizeSmall, (pix and cpIndex + SystemIconLines * 7) div 7 * 215 215 ySizeSmall) 216 216 else 217 BitBlt Canvas(Offscreen.Canvas, X + 16, Y + (16 - 1), xSizeSmall,218 ySizeSmall, SmallImp .Canvas, (3 + pix and cpIndex) *217 BitBltBitmap(Offscreen, X + 16, Y + (16 - 1), xSizeSmall, 218 ySizeSmall, SmallImp, (3 + pix and cpIndex) * 219 219 xSizeSmall, 0); 220 220 end; … … 578 578 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 579 579 if AdvIcon[lix] < 84 then 580 BitBlt Canvas(Offscreen.Canvas, (8 + 16), y0, xSizeSmall,581 ySizeSmall, SmallImp .Canvas,580 BitBltBitmap(Offscreen, (8 + 16), y0, xSizeSmall, 581 ySizeSmall, SmallImp, 582 582 (AdvIcon[lix] + SystemIconLines * 7) mod 7 * xSizeSmall, 583 583 (AdvIcon[lix] + SystemIconLines * 7) div 7 * … … 588 588 295 + (AdvIcon[lix] - 84) div 8 * 21); 589 589 J := AdvValue[lix] div 1000; 590 BitBlt Canvas(Offscreen.Canvas, (8 + 16 - 4), y0 + 2, 14, 14,591 HGrSystem.Mask .Canvas, 127 + J * 15,590 BitBltBitmap(Offscreen, (8 + 16 - 4), y0 + 2, 14, 14, 591 HGrSystem.Mask, 127 + J * 15, 592 592 85, SRCAND); 593 593 Sprite(Offscreen, HGrSystem, (8 + 16 - 5), y0 + 1, 14, 14, … … 683 683 8 + 16 + xSizeSmall, y0 - 15 + (16 - 1 + ySizeSmall), 684 684 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 685 BitBltCanvas(Offscreen.Canvas, 8 + 16, y0 - 15 + (16 - 1), 686 xSizeSmall, ySizeSmall, SmallImp.Canvas, 687 (lix - 1) * xSizeSmall, ySizeSmall); 685 BitBltBitmap(Offscreen, 8 + 16, y0 - 15 + (16 - 1), 686 xSizeSmall, ySizeSmall, SmallImp, (lix - 1) * xSizeSmall, ySizeSmall); 688 687 end; 689 688 end;
Note:
See TracChangeset
for help on using the changeset viewer.