Changeset 117 for trunk


Ignore:
Timestamp:
Feb 3, 2018, 3:20:56 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Wrong drawing of map preview for saved books.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Integrated.lpr

    r111 r117  
    4444{$R cevo.res}
    4545
    46 {$IFDEF DEBUG}
     46{$if declared(UseHeapTrace)}
    4747const
    4848  HeapTraceLog = 'heaptrclog.trc';
     
    5252
    5353begin
    54   {$IFDEF DEBUG}
     54  {$if declared(UseHeapTrace)}
    5555  // Heap trace
    5656  DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
  • trunk/Protocol.pas

    r60 r117  
    17521752procedure InitUnit;
    17531753begin
    1754   { TODO
    1755   Assert(sizeof(TPlayerContext) = 2048);
    1756   Assert(sizeof(TModel) - 2 * sizeof(LongInt) - 4 * sizeof(word)
     1754  Assert(SizeOf(TPlayerContext) = 1936 + 28 * SizeOf(Pointer));
     1755  Assert(SizeOf(TModel) - 2 * SizeOf(LongInt) - 4 * SizeOf(Word)
    17571756  = sIntSetDevModel and $F * 4);
    1758   }
    17591757end;
    17601758
  • trunk/Start.lfm

    r112 r117  
    1010  ClientWidth = 556
    1111  Color = clBtnFace
    12   DesignTimePPI = 125
     12  DesignTimePPI = 144
    1313  Font.Color = clWindowText
    1414  Font.Height = -13
     
    199199    TabOrder = 0
    200200    TabStop = False
    201     TopIndex = -1
    202201    Visible = False
    203202  end
  • trunk/Start.pas

    r112 r117  
    10191019    EnemyColor := GrExt[HGrSystem].Data.Canvas.Pixels[96, 67];
    10201020    Mini.PixelFormat := pf24bit;
    1021     Mini.width := MiniWidth * 2;
    1022     Mini.height := MiniHeight;
     1021    Mini.SetSize(MiniWidth * 2, MiniHeight);
    10231022    if MiniMode = mmPicture then
    10241023    begin
     
    10601059          end;
    10611060        end;
     1061        MiniPixel.NextLine;
     1062        PrevMiniPixel.NextLine;
    10621063      end;
    10631064      Mini.EndUpdate;
Note: See TracChangeset for help on using the changeset viewer.