Changeset 313 for trunk/LocalPlayer/MessgEx.pas
- Timestamp:
- Mar 17, 2021, 11:11:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/MessgEx.pas
r290 r313 149 149 begin 150 150 Tribe[IconIndex].InitAge(GetAge(IconIndex)); 151 if Tribe[IconIndex].faceHGr >= 0then152 TopSpace := 64 151 if Assigned(Tribe[IconIndex].faceHGr) then 152 TopSpace := 64; 153 153 end; 154 154 mikFullControl: … … 336 336 with MyRO.EnemyModel[emix], Tribe[Owner].ModelPicture[mix] do 337 337 begin 338 BitBltCanvas(Canvas, x, y, 64, 48, GrExt[HGr].Mask.Canvas,338 BitBltCanvas(Canvas, x, y, 64, 48, HGr.Mask.Canvas, 339 339 pix mod 10 * 65 + 1, pix div 10 * 49 + 1, SRCAND); 340 BitBltCanvas(Canvas, x, y, 64, 48, GrExt[HGr].Data.Canvas,340 BitBltCanvas(Canvas, x, y, 64, 48, HGr.Data.Canvas, 341 341 pix mod 10 * 65 + 1, pix div 10 * 49 + 1, SRCPAINT); 342 342 end; … … 411 411 ySizeBig, 0, 0); 412 412 BitBltCanvas(Canvas, ClientWidth div 2 - 32, 20, 64, 44, 413 GrExt[HGr].Mask.Canvas, pix mod 10 * 65 + 1,413 HGr.Mask.Canvas, pix mod 10 * 65 + 1, 414 414 pix div 10 * 49 + 1, SRCAND); 415 415 BitBltCanvas(Canvas, ClientWidth div 2 - 32, 20, 64, 44, 416 GrExt[HGr].Data.Canvas, pix mod 10 * 65 + 1,416 HGr.Data.Canvas, pix mod 10 * 65 + 1, 417 417 pix div 10 * 49 + 1, SRCPAINT); 418 418 end; … … 421 421 MainTexture.clCover); 422 422 mikTribe: 423 if Tribe[IconIndex].faceHGr >= 0then423 if Assigned(Tribe[IconIndex].faceHGr) then 424 424 begin 425 425 Frame(Canvas, ClientWidth div 2 - 32 - 1, 24 - 1, 426 426 ClientWidth div 2 + 32, 24 + 48, $000000, $000000); 427 427 BitBltCanvas(Canvas, ClientWidth div 2 - 32, 24, 64, 48, 428 GrExt[Tribe[IconIndex].faceHGr].Data.Canvas,428 Tribe[IconIndex].faceHGr.Data.Canvas, 429 429 1 + Tribe[IconIndex].facepix mod 10 * 65, 430 430 1 + Tribe[IconIndex].facepix div 10 * 49)
Note:
See TracChangeset
for help on using the changeset viewer.