11 #define MSPACK_CHM_H 1
17 #define chmhead_Signature (0x0000)
18 #define chmhead_Version (0x0004)
19 #define chmhead_HeaderLen (0x0008)
20 #define chmhead_Unknown1 (0x000C)
21 #define chmhead_Timestamp (0x0010)
22 #define chmhead_LanguageID (0x0014)
23 #define chmhead_GUID1 (0x0018)
24 #define chmhead_GUID2 (0x0028)
25 #define chmhead_SIZEOF (0x0038)
27 #define chmhst_OffsetHS0 (0x0000)
28 #define chmhst_LengthHS0 (0x0008)
29 #define chmhst_OffsetHS1 (0x0010)
30 #define chmhst_LengthHS1 (0x0018)
31 #define chmhst_SIZEOF (0x0020)
32 #define chmhst3_OffsetCS0 (0x0020)
33 #define chmhst3_SIZEOF (0x0028)
35 #define chmhs0_Unknown1 (0x0000)
36 #define chmhs0_Unknown2 (0x0004)
37 #define chmhs0_FileLen (0x0008)
38 #define chmhs0_Unknown3 (0x0010)
39 #define chmhs0_Unknown4 (0x0014)
40 #define chmhs0_SIZEOF (0x0018)
42 #define chmhs1_Signature (0x0000)
43 #define chmhs1_Version (0x0004)
44 #define chmhs1_HeaderLen (0x0008)
45 #define chmhs1_Unknown1 (0x000C)
46 #define chmhs1_ChunkSize (0x0010)
47 #define chmhs1_Density (0x0014)
48 #define chmhs1_Depth (0x0018)
49 #define chmhs1_IndexRoot (0x001C)
50 #define chmhs1_FirstPMGL (0x0020)
51 #define chmhs1_LastPMGL (0x0024)
52 #define chmhs1_Unknown2 (0x0028)
53 #define chmhs1_NumChunks (0x002C)
54 #define chmhs1_LanguageID (0x0030)
55 #define chmhs1_GUID (0x0034)
56 #define chmhs1_Unknown3 (0x0044)
57 #define chmhs1_Unknown4 (0x0048)
58 #define chmhs1_Unknown5 (0x004C)
59 #define chmhs1_Unknown6 (0x0050)
60 #define chmhs1_SIZEOF (0x0054)
62 #define pmgl_Signature (0x0000)
63 #define pmgl_QuickRefSize (0x0004)
64 #define pmgl_Unknown1 (0x0008)
65 #define pmgl_PrevChunk (0x000C)
66 #define pmgl_NextChunk (0x0010)
67 #define pmgl_Entries (0x0014)
68 #define pmgl_headerSIZEOF (0x0014)
70 #define pmgi_Signature (0x0000)
71 #define pmgi_QuickRefSize (0x0004)
72 #define pmgi_Entries (0x0008)
73 #define pmgi_headerSIZEOF (0x000C)
75 #define lzxcd_Length (0x0000)
76 #define lzxcd_Signature (0x0004)
77 #define lzxcd_Version (0x0008)
78 #define lzxcd_ResetInterval (0x000C)
79 #define lzxcd_WindowSize (0x0010)
80 #define lzxcd_CacheSize (0x0014)
81 #define lzxcd_Unknown1 (0x0018)
82 #define lzxcd_SIZEOF (0x001C)
84 #define lzxrt_Unknown1 (0x0000)
85 #define lzxrt_NumEntries (0x0004)
86 #define lzxrt_EntrySize (0x0008)
87 #define lzxrt_TableOffset (0x000C)
88 #define lzxrt_UncompLen (0x0010)
89 #define lzxrt_CompLen (0x0018)
90 #define lzxrt_FrameLen (0x0020)
91 #define lzxrt_Entries (0x0028)
92 #define lzxrt_headerSIZEOF (0x0028)
struct mspack_system * system
struct mschm_compressor base
struct mschmd_decompress_state * d
struct mspack_system * system
struct mschm_decompressor base
struct mspack_file * outfh
struct mschmd_header * chm
struct lzxd_stream * state
struct mspack_file * infh