Ignore:
Timestamp:
Apr 12, 2024, 8:58:58 PM (7 months ago)
Author:
chronos
Message:
  • Fixed: Eliminated unwanted second map resize and redraw during displaying of the main game window.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/IsoEngine.pas

    r530 r533  
    380380    for Y := -2 to 6 do
    381381      BitBltBitmap(LandPatch, (X + 2) * (xxt * 2), (Y + 2) * yyt, xxt,
    382         yyt, HGrTerrain.Data, xSrc + xxt, ySrc + yyt,
    383         SRCPAINT);
     382        yyt, HGrTerrain.Data, xSrc + xxt, ySrc + yyt, SRCPAINT);
    384383    for Y := -2 to 6 do
    385384      BitBltBitmap(LandPatch, (X + 2) * (xxt * 2) + xxt, (Y + 2) * yyt,
    386         xxt, yyt, HGrTerrain.Data, xSrc, ySrc + yyt,
    387         SRCPAINT);
     385        xxt, yyt, HGrTerrain.Data, xSrc, ySrc + yyt, SRCPAINT);
    388386    for Y := -2 to 6 do
    389387      BitBltBitmap(LandPatch, (X + 2) * (xxt * 2), (Y + 2) * yyt, xxt,
     
    413411    for X := 0 to 7 do
    414412      BitBltBitmap(LandMore, (X + 2) * (xxt * 2) - xxt, (Y + 2) * yyt,
    415         xxt * 2, yyt, HGrTerrain.Data, xSrc, ySrc + yyt,
    416         SRCPAINT);
     413        xxt * 2, yyt, HGrTerrain.Data, xSrc, ySrc + yyt, SRCPAINT);
    417414    for X := -2 to 6 do
    418415      BitBltBitmap(LandMore, (X + 2) * (xxt * 2), (Y + 2) * yyt,
     
    432429      begin
    433430        BitBltBitmap(OceanPatch, X * (xxt * 2), Y * yyt, xxt, yyt,
    434           HGrTerrain.Data, xSrc + xxt, ySrc + yyt,
    435           SRCPAINT);
     431          HGrTerrain.Data, xSrc + xxt, ySrc + yyt, SRCPAINT);
    436432        BitBltBitmap(OceanPatch, X * (xxt * 2) + xxt, Y * yyt, xxt, yyt,
    437433          HGrTerrain.Data, xSrc, ySrc + yyt, SRCPAINT);
     
    456452      begin
    457453        BitBltBitmap(OceanMore, X * (xxt * 2), Y * yyt, xxt, yyt,
    458           HGrTerrain.Data, xSrc + xxt, ySrc + yyt,
    459           SRCPAINT);
     454          HGrTerrain.Data, xSrc + xxt, ySrc + yyt, SRCPAINT);
    460455        BitBltBitmap(OceanMore, X * (xxt * 2) + xxt, Y * yyt, xxt, yyt,
    461456          HGrTerrain.Data, xSrc, ySrc + yyt, SRCPAINT);
Note: See TracChangeset for help on using the changeset viewer.