Ignore:
Timestamp:
Feb 24, 2024, 8:04:26 PM (9 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r525 r530  
    46564656    Exit;
    46574657
    4658   NoMap.BitBltBitmap(Panel, -xMap - MapOffset, -yMap + MapHeight - Overlap, xMidPanel,
     4658  NoMap.BitBltBitmapOutput(Panel, -xMap - MapOffset, -yMap + MapHeight - Overlap, xMidPanel,
    46594659    Overlap, 0, 0, SRCCOPY);
    4660   NoMap.BitBltBitmap(Panel, -xMap - MapOffset + xRightPanel,
     4660  NoMap.BitBltBitmapOutput(Panel, -xMap - MapOffset + xRightPanel,
    46614661    -yMap + MapHeight - Overlap, Panel.Width - xRightPanel, Overlap,
    46624662    xRightPanel, 0, SRCCOPY);
     
    48584858begin
    48594859  with MainMap do begin
    4860     BitBltCanvas(Panel.Canvas, xMini + 2, yMini + 2, G.lx * 2, G.ly,
    4861       MiniMap.Bitmap.Canvas, 0, 0);
     4860    BitBltBitmap(Panel, xMini + 2, yMini + 2, G.lx * 2, G.ly,
     4861      MiniMap.Bitmap, 0, 0);
    48624862    if MarkCityLoc >= 0 then
    48634863      Sprite(Panel, HGrSystem, xMini - 2 + (4 * G.lx + 2 * (MarkCityLoc mod G.lx)
     
    49514951          ClientWidth - xPalace + xSizeBig + 1, yPalace + ySizeBig + 1,
    49524952          $FFFFFF, $B0B0B0);
    4953         BitBltCanvas(Panel.Canvas, ClientWidth - xPalace, yPalace, xSizeBig,
    4954           ySizeBig, HGrSystem2.Data.Canvas, 70, 123);
     4953        BitBltBitmap(Panel, ClientWidth - xPalace, yPalace, xSizeBig,
     4954          ySizeBig, HGrSystem2.Data, 70, 123);
    49554955      end
    49564956      else if MyRO.NatBuilt[imPalace] > 0 then
     
    58335833      PaintLoc(MouseLoc, 2);
    58345834      MiniMapPaint;
    5835       BitBltCanvas(Panel.Canvas, xMini + 2, yMini + 2, G.lx * 2, G.ly,
    5836         MiniMap.Bitmap.Canvas, 0, 0);
     5835      BitBltBitmap(Panel, xMini + 2, yMini + 2, G.lx * 2, G.ly,
     5836        MiniMap.Bitmap, 0, 0);
    58375837      with MainMap do begin
    58385838        if ywmax <= 0 then
     
    66536653    for Step := 0 to Abs(Step1 - Step0) do
    66546654    begin
    6655       BitBltCanvas(Buffer.Canvas, 0, 0, xRange, yRange,
    6656         Offscreen.Canvas, xMin, yMin);
     6655      BitBltBitmap(Buffer, 0, 0, xRange, yRange, Offscreen, xMin, yMin);
    66576656      if Step1 <> Step0 then
    66586657      begin
     
    66966695  if Restore then
    66976696  begin
    6698     BitBltCanvas(Buffer.Canvas, 0, 0, xRange, yRange, Offscreen.Canvas, xMin, yMin);
     6697    BitBltBitmap(Buffer, 0, 0, xRange, yRange, Offscreen, xMin, yMin);
    66996698    PaintBufferToScreen(xMin, yMin, xRange, yRange);
    67006699  end;
     
    78327831          yw := ywmax;
    78337832      end;
    7834       BitBltCanvas(Buffer.Canvas, 0, 0, G.lx * 2, G.ly, MiniMap.Bitmap.Canvas, 0, 0);
     7833      BitBltBitmap(Buffer, 0, 0, G.lx * 2, G.ly, MiniMap.Bitmap, 0, 0);
    78357834      if ywmax <= 0 then
    78367835        Frame(Buffer.Canvas, X - xMini - 2 - MapWidth div (xxt * 2), 0,
     
    78417840          X - xMini - 2 + MapWidth div (xxt * 2) - 1, yw + MapHeight div yyt -
    78427841          2, MainTexture.ColorMark, MainTexture.ColorMark);
    7843       BitBltCanvas(Panel.Canvas, xMini + 2, yMini + 2, G.lx * 2, G.ly,
    7844         Buffer.Canvas, 0, 0);
     7842      BitBltBitmap(Panel, xMini + 2, yMini + 2, G.lx * 2, G.ly,
     7843        Buffer, 0, 0);
    78457844      MainOffscreenPaint;
    78467845      RectInvalidate(xMini + 2, TopBarHeight + MapHeight - Overlap + yMini + 2,
Note: See TracChangeset for help on using the changeset viewer.