- Timestamp:
- Jan 8, 2017, 11:36:18 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Directories.pas
r16 r19 9 9 function LocalizedFilePath(path: string): string; 10 10 11 11 12 implementation 12 13 13 14 uses 14 LCLIntf, LCLType, LMessages,SysUtils, FileUtil;15 LCLIntf, LCLType, SysUtils, FileUtil; 15 16 16 17 var … … 32 33 end; 33 34 34 procedure Init ;35 procedure InitUnit; 35 36 begin 36 37 HomeDir := ExtractFilePath(ParamStr(0)); … … 58 59 PChar(DataDir + 'Saved\' + src.Name), false); 59 60 until FindNext(src) <> 0; 60 61 end; 61 62 62 63 initialization 63 64 64 Init ;65 InitUnit; 65 66 66 67 end. -
trunk/Protocol.pas
r17 r19 1717 1717 end; 1718 1718 1719 procedure InitUnit; 1719 1720 begin 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) 1722 1724 = sIntSetDevModel and $F * 4); 1725 } 1726 end; 1727 1728 initialization 1729 1730 InitUnit; 1723 1731 1724 1732 end.
Note:
See TracChangeset
for help on using the changeset viewer.