Ignore:
Timestamp:
Mar 18, 2021, 10:58:28 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Gamma was incorrectly applied to images with transparency colors.
  • Modified: Change Templates to GraphicSet so it can also have description of its items.
  • Modified: Use TextExtent instead of both TextWidth and TextHeight.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/IsoEngine.pas

    r314 r315  
    628628      if Flags and unFortified <> 0 then
    629629      begin
    630         { DataCanvas:=GrExt[HGrTerrain].Data.Canvas;
    631           MaskCanvas:=GrExt[HGrTerrain].Mask.Canvas;
     630        { DataCanvas:=HGrTerrain.Data.Canvas;
     631          MaskCanvas:=HGrTerrain.Mask.Canvas;
    632632          TSprite(x,y+16,12*9+7); }
    633633        Sprite(HGrStdUnits, x, y, xxu * 2, yyu * 2, 1 + 6 * (xxu * 2 + 1), 1);
Note: See TracChangeset for help on using the changeset viewer.