Changeset 19 for trunk


Ignore:
Timestamp:
Jan 8, 2017, 11:36:18 AM (8 years ago)
Author:
chronos
Message:
  • Modified: Disable assertions for structure size to test 64-bit build.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Directories.pas

    r16 r19  
    99function LocalizedFilePath(path: string): string;
    1010
     11
    1112implementation
    1213
    1314uses
    14   LCLIntf, LCLType, LMessages, SysUtils, FileUtil;
     15  LCLIntf, LCLType, SysUtils, FileUtil;
    1516
    1617var
     
    3233end;
    3334
    34 procedure Init;
     35procedure InitUnit;
    3536begin
    3637  HomeDir := ExtractFilePath(ParamStr(0));
     
    5859          PChar(DataDir + 'Saved\' + src.Name), false);
    5960    until FindNext(src) <> 0;
    60   end;
     61end;
    6162
    6263initialization
    6364
    64 Init;
     65InitUnit;
    6566
    6667end.
  • trunk/Protocol.pas

    r17 r19  
    17171717end;
    17181718
     1719procedure InitUnit;
    17191720begin
    1720   assert(sizeof(TPlayerContext) = 2048);
    1721   assert(sizeof(TModel) - 2 * sizeof(LongInt) - 4 * sizeof(word)
     1721  { TODO
     1722  Assert(sizeof(TPlayerContext) = 2048);
     1723  Assert(sizeof(TModel) - 2 * sizeof(LongInt) - 4 * sizeof(word)
    17221724  = sIntSetDevModel and $F * 4);
     1725  }
     1726end;
     1727
     1728initialization
     1729
     1730InitUnit;
    17231731
    17241732end.
Note: See TracChangeset for help on using the changeset viewer.