Mercurial > might-and-magic-trilogy
comparison LOD.h @ 3:540178ef9b18
Main menu functionality
author | Nomad |
---|---|
date | Wed, 10 Oct 2012 19:10:15 +0200 |
parents | 2ca04ccb612a |
children | 142de719a3ea d543bd89a31e |
comparison
equal
deleted
inserted
replaced
2:2ca04ccb612a | 3:540178ef9b18 |
---|---|
39 { | 39 { |
40 Directory(); | 40 Directory(); |
41 Directory *Reset(); | 41 Directory *Reset(); |
42 | 42 |
43 | 43 |
44 unsigned __int8 pFilename[16]; | 44 char pFilename[16]; |
45 unsigned int uOfsetFromSubindicesStart; | 45 unsigned int uOfsetFromSubindicesStart; |
46 unsigned int uDataSize; | 46 unsigned int uDataSize; |
47 int dword_000018; | 47 int dword_000018; |
48 unsigned __int16 uNumSubIndices; | 48 unsigned __int16 uNumSubIndices; |
49 __int16 word_00001E; | 49 __int16 word_00001E; |
101 int CreateTempFile(); | 101 int CreateTempFile(); |
102 int Save(); | 102 int Save(); |
103 bool _4621A7(); | 103 bool _4621A7(); |
104 int _461492(LOD::FileHeader *pHeader, LOD::Directory *pDir, const char *Source); | 104 int _461492(LOD::FileHeader *pHeader, LOD::Directory *pDir, const char *Source); |
105 | 105 |
106 FILE *pFile; | 106 /*FILE *pFile; |
107 char pLODName[256]; | 107 char pLODName[256]; |
108 unsigned int isFileOpened; | 108 unsigned int isFileOpened; |
109 unsigned __int8 *pIOBuffer; | 109 unsigned __int8 *pIOBuffer; |
110 unsigned int uIOBufferSize; | 110 unsigned int uIOBufferSize; |
111 struct LOD::FileHeader header; | 111 struct LOD::FileHeader header; |
114 unsigned int uCurrentIndexDir; | 114 unsigned int uCurrentIndexDir; |
115 unsigned int uLODDataSize; | 115 unsigned int uLODDataSize; |
116 unsigned int uNumSubIndices; | 116 unsigned int uNumSubIndices; |
117 struct LOD::Directory *pSubIndices; | 117 struct LOD::Directory *pSubIndices; |
118 unsigned int uOffsetToSubIndex; | 118 unsigned int uOffsetToSubIndex; |
119 FILE *pOutputFileHandle; | 119 FILE *pOutputFileHandle;*/ |
120 }; | 120 }; |
121 #pragma pack(pop) | 121 #pragma pack(pop) |
122 | 122 |
123 | 123 |
124 | 124 |
145 void ReleaseAll2(); | 145 void ReleaseAll2(); |
146 void _4114F2(); | 146 void _4114F2(); |
147 void _4355F7(); | 147 void _4355F7(); |
148 | 148 |
149 | 149 |
150 FILE *pFile; | 150 /*FILE *pFile; |
151 unsigned __int8 pLODName[256]; | 151 unsigned __int8 pLODName[256]; |
152 unsigned int isFileOpened; | 152 unsigned int isFileOpened; |
153 unsigned __int8 *pIOBuffer; | 153 unsigned __int8 *pIOBuffer; |
154 unsigned int uIOBufferSize; | 154 unsigned int uIOBufferSize; |
155 struct LOD::FileHeader header; | 155 struct LOD::FileHeader header; |
158 unsigned int uCurrentIndexDir; | 158 unsigned int uCurrentIndexDir; |
159 unsigned int uLODDataSize; | 159 unsigned int uLODDataSize; |
160 unsigned int uNumSubIndices; | 160 unsigned int uNumSubIndices; |
161 struct LOD::Directory *pSubIndices; | 161 struct LOD::Directory *pSubIndices; |
162 unsigned int uOffsetToSubIndex; | 162 unsigned int uOffsetToSubIndex; |
163 FILE *pOutputFileHandle; | 163 FILE *pOutputFileHandle;*/ |
164 struct Texture pTextures[1000]; | 164 struct Texture pTextures[1000]; |
165 unsigned int uNumLoadedFiles; | 165 unsigned int uNumLoadedFiles; |
166 int dword_11B80; | 166 int dword_11B80; |
167 int dword_11B84; | 167 int dword_11B84; |
168 int dword_11B88; | 168 int dword_11B88; |
234 void ReleaseLostHardwareSprites(); | 234 void ReleaseLostHardwareSprites(); |
235 void ReleaseAll(); | 235 void ReleaseAll(); |
236 void MoveSpritesToVideoMemory(); | 236 void MoveSpritesToVideoMemory(); |
237 | 237 |
238 | 238 |
239 FILE *pFile; | 239 /*FILE *pFile; |
240 unsigned __int8 pLODName[256]; | 240 unsigned __int8 pLODName[256]; |
241 unsigned int isFileOpened; | 241 unsigned int isFileOpened; |
242 unsigned __int8 *pIOBuffer; | 242 unsigned __int8 *pIOBuffer; |
243 unsigned int uIOBufferSize; | 243 unsigned int uIOBufferSize; |
244 struct LOD::FileHeader header; | 244 struct LOD::FileHeader header; |
247 unsigned int uCurrentIndexDir; | 247 unsigned int uCurrentIndexDir; |
248 unsigned int uLODDataSize; | 248 unsigned int uLODDataSize; |
249 unsigned int uNumSubIndices; | 249 unsigned int uNumSubIndices; |
250 struct LOD::Directory *pSubIndices; | 250 struct LOD::Directory *pSubIndices; |
251 unsigned int uOffsetToSubIndex; | 251 unsigned int uOffsetToSubIndex; |
252 FILE *pOutputFileHandle; | 252 FILE *pOutputFileHandle;*/ |
253 struct LODSprite pSpriteHeaders[1500]; | 253 struct LODSprite pSpriteHeaders[1500]; |
254 unsigned int uNumLoadedSprites; | 254 unsigned int uNumLoadedSprites; |
255 int field_ECA0; | 255 int field_ECA0; |
256 int field_ECA4; | 256 int field_ECA4; |
257 int field_ECA8; | 257 int field_ECA8; |