Changeset 179 for branches/highdpi/LocalPlayer/Battle.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Battle.pas
r178 r179 107 107 VLightGradient(ca, xm - 8, ym + 8 + LABaseDamage, LADamage - LABaseDamage, 108 108 FanaticColor); 109 BitBlt(ca.Handle, xm - 12, ym - 12, 24, 24,109 DpiBitBlt(ca.Handle, xm - 12, ym - 12, 24, 24, 110 110 GrExt[HGrSystem].Mask.Canvas.Handle, 26, 146, SRCAND); 111 BitBlt(ca.Handle, xm - 12, ym - 12, 24, 24,111 DpiBitBlt(ca.Handle, xm - 12, ym - 12, 24, 24, 112 112 GrExt[HGrSystem].Data.Canvas.Handle, 26, 146, SRCPAINT); 113 113 … … 132 132 if Forecast.EndHealthDef <= 0 then 133 133 begin 134 BitBlt(ca.Handle, xm + 9 + LDDamage - 7, ym - 6, 14, 17,134 DpiBitBlt(ca.Handle, xm + 9 + LDDamage - 7, ym - 6, 14, 17, 135 135 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 136 BitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17,136 DpiBitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17, 137 137 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 138 BitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17,138 DpiBitBlt(ca.Handle, xm + 8 + LDDamage - 7, ym - 7, 14, 17, 139 139 GrExt[HGrSystem].Data.Canvas.Handle, 51, 153, SRCPAINT); 140 140 end; … … 152 152 if Forecast.EndHealthAtt <= 0 then 153 153 begin 154 BitBlt(ca.Handle, xm - 6, ym + 9 + LADamage - 7, 14, 17,154 DpiBitBlt(ca.Handle, xm - 6, ym + 9 + LADamage - 7, 14, 17, 155 155 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 156 BitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17,156 DpiBitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17, 157 157 GrExt[HGrSystem].Mask.Canvas.Handle, 51, 153, SRCAND); 158 BitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17,158 DpiBitBlt(ca.Handle, xm - 7, ym + 8 + LADamage - 7, 14, 17, 159 159 GrExt[HGrSystem].Data.Canvas.Handle, 51, 153, SRCPAINT); 160 160 end; … … 173 173 174 174 NoMap.SetOutput(Buffer); 175 BitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm + 8 + 4,175 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm + 8 + 4, 176 176 ym - 8 - 12 - 48, SRCCOPY); 177 177 { if TerrType<fForest then … … 185 185 end; } 186 186 NoMap.PaintUnit(1, 0, UnitInfo, 0); 187 BitBlt(ca.Handle, xm + 8 + 4, ym - 8 - 12 - 48, 66, 48, Buffer.Canvas.Handle,187 DpiBitBlt(ca.Handle, xm + 8 + 4, ym - 8 - 12 - 48, 66, 48, Buffer.Canvas.Handle, 188 188 0, 0, SRCCOPY); 189 189 190 BitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm - 8 - 4 - 66,190 DpiBitBlt(Buffer.Canvas.Handle, 0, 0, 66, 48, ca.Handle, xm - 8 - 4 - 66, 191 191 ym + 8 + 12, SRCCOPY); 192 192 MakeUnitInfo(me, MyUn[uix], UnitInfo); 193 193 UnitInfo.Flags := UnitInfo.Flags and not unFortified; 194 194 NoMap.PaintUnit(1, 0, UnitInfo, 0); 195 BitBlt(ca.Handle, xm - 8 - 4 - 66, ym + 8 + 12, 66, 48, Buffer.Canvas.Handle,195 DpiBitBlt(ca.Handle, xm - 8 - 4 - 66, ym + 8 + 12, 66, 48, Buffer.Canvas.Handle, 196 196 0, 0, SRCCOPY); 197 197 end; { PaintBattleOutcome }
Note:
See TracChangeset
for help on using the changeset viewer.