DEADSOFTWARE

Fix build
[d2df-editor.git] / src / shared / WADSTRUCT.pas
1 unit WADSTRUCT;
3 {
4 -----------------------------------
5 WADSTRUCT.PAS ÂÅÐÑÈß ÎÒ 24.09.06
7 Ïîääåðæêà âàäîâ âåðñèè 1
8 -----------------------------------
10 Ñòðóêòóðà DFWAD-ôàéëà âåðñèè 1:
11 ------------------------------------------
12 SIGNATURE | Byte[5] | 'DFWAD'
13 VERSION | Byte | $01
14 HEADER | TWADHeaderRec_1 |
15 RESRECORD1 | TResourceTableRec_1 |
16 ... | ................... |
17 RESRECORDN | TResourceTableRec_1 |
18 DATA | RAW |
19 ------------------------------------------
20 }
22 interface
24 type
25 Char16 = packed array[0..15] of Char;
27 TWADHeaderRec_1 = packed record
28 RecordsCount: Word;
29 end;
31 TResourceTableRec_1 = packed record
32 ResourceName: Char16;
33 Address: LongWord;
34 Length: LongWord;
35 end;
37 const
38 DFWAD_SIGNATURE = 'DFWAD';
39 DFWAD_VERSION = $01;
41 implementation
43 end.