Mercurial > mm7
comparison LOD.h @ 982:08fd1436ef35
enums & lod
author | Nomad |
---|---|
date | Sat, 11 May 2013 13:19:55 +0200 |
parents | 0d96349d8c87 |
children | e865f349aa41 |
comparison
equal
deleted
inserted
replaced
981:a6ef7125f6e4 | 982:08fd1436ef35 |
---|---|
17 namespace LOD | 17 namespace LOD |
18 { | 18 { |
19 #pragma pack(push, 1) | 19 #pragma pack(push, 1) |
20 struct FileHeader | 20 struct FileHeader |
21 { | 21 { |
22 //----- (004617B6) -------------------------------------------------------- | |
22 inline FileHeader() | 23 inline FileHeader() |
23 { | 24 { |
24 memset(pSignature, 0, 4); | 25 memset(pSignature, 0, 4); |
25 memset(LodVersion, 0, 80); | 26 memset(LodVersion, 0, 80); |
26 memset(LodDescription, 0, 80); | 27 memset(LodDescription, 0, 80); |
27 memset(array_0000B0, 0, 28); | 28 memset(array_0000B0, 0, 28); |
28 memset(array_0000CC, 0, 52); | 29 memset(array_0000CC, 0, 52); |
30 | |
31 pSignature[0] = 0; | |
32 LodVersion[0] = 0; | |
33 LodDescription[0] = 0; | |
34 LODSize = 0; | |
35 dword_0000A8 = 0; | |
36 uNumIndices = 0; | |
29 } | 37 } |
30 | |
31 void Reset(); | |
32 | 38 |
33 char pSignature[4]; | 39 char pSignature[4]; |
34 char LodVersion[80]; | 40 char LodVersion[80]; |
35 //char field_C[32]; | 41 //char field_C[32]; |
36 //char field_2C[40]; | 42 //char field_2C[40]; |
46 | 52 |
47 #pragma pack(push, 1) | 53 #pragma pack(push, 1) |
48 struct Directory | 54 struct Directory |
49 { | 55 { |
50 Directory(); | 56 Directory(); |
51 Directory *Reset(); | 57 |
52 | 58 char pFilename[15]; |
53 | 59 char field_F; |
54 char pFilename[16]; | |
55 unsigned int uOfsetFromSubindicesStart; | 60 unsigned int uOfsetFromSubindicesStart; |
56 unsigned int uDataSize; | 61 unsigned int uDataSize; |
57 int dword_000018; | 62 int dword_000018; |
58 unsigned __int16 uNumSubIndices; | 63 unsigned __int16 uNumSubIndices; |
59 __int16 word_00001E; | 64 __int16 word_00001E; |