annotate LOD.h @ 1366:8f339c3bbdaf

Player::CreateItemInInventory small bugfix from previous change
author Grumpy7
date Mon, 15 Jul 2013 02:37:03 +0200
parents 0aeac0b9ca30
children 7cc3b01a92ac
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include <stdio.h>
Ritor1
parents:
diff changeset
3 #include <memory.h>
434
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 33
diff changeset
4 #include <assert.h>
0
Ritor1
parents:
diff changeset
5
Ritor1
parents:
diff changeset
6 #include "Texture.h"
Ritor1
parents:
diff changeset
7
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1006
diff changeset
8 class Sprite;
0
Ritor1
parents:
diff changeset
9
Ritor1
parents:
diff changeset
10 /* 354 */
Ritor1
parents:
diff changeset
11 enum TEXTURE_TYPE
Ritor1
parents:
diff changeset
12 {
Ritor1
parents:
diff changeset
13 TEXTURE_DEFAULT = 0,
Ritor1
parents:
diff changeset
14 TEXTURE_24BIT_PALETTE = 0x1,
Ritor1
parents:
diff changeset
15 TEXTURE_16BIT_PALETTE = 0x2,
Ritor1
parents:
diff changeset
16 };
Ritor1
parents:
diff changeset
17
Ritor1
parents:
diff changeset
18 namespace LOD
Ritor1
parents:
diff changeset
19 {
Ritor1
parents:
diff changeset
20 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
21 struct FileHeader
Ritor1
parents:
diff changeset
22 {
982
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
23 //----- (004617B6) --------------------------------------------------------
0
Ritor1
parents:
diff changeset
24 inline FileHeader()
Ritor1
parents:
diff changeset
25 {
Ritor1
parents:
diff changeset
26 memset(pSignature, 0, 4);
Ritor1
parents:
diff changeset
27 memset(LodVersion, 0, 80);
Ritor1
parents:
diff changeset
28 memset(LodDescription, 0, 80);
Ritor1
parents:
diff changeset
29 memset(array_0000B0, 0, 28);
Ritor1
parents:
diff changeset
30 memset(array_0000CC, 0, 52);
982
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
31
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
32 pSignature[0] = 0;
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
33 LodVersion[0] = 0;
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
34 LodDescription[0] = 0;
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
35 LODSize = 0;
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
36 dword_0000A8 = 0;
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
37 uNumIndices = 0;
0
Ritor1
parents:
diff changeset
38 }
Ritor1
parents:
diff changeset
39
Ritor1
parents:
diff changeset
40 char pSignature[4];
Ritor1
parents:
diff changeset
41 char LodVersion[80];
Ritor1
parents:
diff changeset
42 //char field_C[32];
Ritor1
parents:
diff changeset
43 //char field_2C[40];
Ritor1
parents:
diff changeset
44 char LodDescription[80];
Ritor1
parents:
diff changeset
45 int LODSize;
Ritor1
parents:
diff changeset
46 int dword_0000A8;
Ritor1
parents:
diff changeset
47 unsigned int uNumIndices;
Ritor1
parents:
diff changeset
48 char array_0000B0[28];
Ritor1
parents:
diff changeset
49 char array_0000CC[52];
Ritor1
parents:
diff changeset
50 };
Ritor1
parents:
diff changeset
51 #pragma pack(pop)
Ritor1
parents:
diff changeset
52
Ritor1
parents:
diff changeset
53
Ritor1
parents:
diff changeset
54 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
55 struct Directory
Ritor1
parents:
diff changeset
56 {
Ritor1
parents:
diff changeset
57 Directory();
Ritor1
parents:
diff changeset
58
982
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
59 char pFilename[15];
08fd1436ef35 enums & lod
Nomad
parents: 945
diff changeset
60 char field_F;
0
Ritor1
parents:
diff changeset
61 unsigned int uOfsetFromSubindicesStart;
Ritor1
parents:
diff changeset
62 unsigned int uDataSize;
Ritor1
parents:
diff changeset
63 int dword_000018;
Ritor1
parents:
diff changeset
64 unsigned __int16 uNumSubIndices;
Ritor1
parents:
diff changeset
65 __int16 word_00001E;
Ritor1
parents:
diff changeset
66 };
Ritor1
parents:
diff changeset
67 #pragma pack(pop)
Ritor1
parents:
diff changeset
68
Ritor1
parents:
diff changeset
69
Ritor1
parents:
diff changeset
70 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
71 struct File
Ritor1
parents:
diff changeset
72 {
Ritor1
parents:
diff changeset
73 File();
Ritor1
parents:
diff changeset
74 virtual ~File();
Ritor1
parents:
diff changeset
75 void *LoadRaw(const char *pContainer, int a3);
Ritor1
parents:
diff changeset
76 FILE *FindContainer(const char *pContainerName, bool bLinearSearch);
Ritor1
parents:
diff changeset
77 bool DoesContainerExist(const char *pContainer);
Ritor1
parents:
diff changeset
78 int CalcIndexFast(int startIndex, int maxIndex, const char *pContainerName);
Ritor1
parents:
diff changeset
79 bool LoadHeader(const char *pFilename, bool bWriting);
Ritor1
parents:
diff changeset
80 int LoadSubIndices(const char *pContainer);
Ritor1
parents:
diff changeset
81 void AllocSubIndicesAndIO(unsigned int uNumSubIndices, unsigned int uBufferSize);
Ritor1
parents:
diff changeset
82 void FreeSubIndexAndIO();
Ritor1
parents:
diff changeset
83 bool AppendDirectory(LOD::Directory *pDir, const void *pData);
Ritor1
parents:
diff changeset
84 void ResetSubIndices();
Ritor1
parents:
diff changeset
85 void Close();
Ritor1
parents:
diff changeset
86
Ritor1
parents:
diff changeset
87 FILE *pFile;
Ritor1
parents:
diff changeset
88 char pLODName[256];
Ritor1
parents:
diff changeset
89 unsigned int isFileOpened;
Ritor1
parents:
diff changeset
90 unsigned __int8 *pIOBuffer;
Ritor1
parents:
diff changeset
91 unsigned int uIOBufferSize;
Ritor1
parents:
diff changeset
92 struct FileHeader header;
Ritor1
parents:
diff changeset
93 struct Directory *pRoot;
Ritor1
parents:
diff changeset
94 char pContainerName[16];
Ritor1
parents:
diff changeset
95 unsigned int uCurrentIndexDir;
Ritor1
parents:
diff changeset
96 unsigned int uLODDataSize;
837
bebc19f3d2af Save/load work with some problems
Gloval
parents: 810
diff changeset
97 unsigned int uNumSubDirs;
0
Ritor1
parents:
diff changeset
98 struct Directory *pSubIndices;
Ritor1
parents:
diff changeset
99 unsigned int uOffsetToSubIndex;
Ritor1
parents:
diff changeset
100 FILE *pOutputFileHandle;
Ritor1
parents:
diff changeset
101 };
Ritor1
parents:
diff changeset
102 #pragma pack(pop)
Ritor1
parents:
diff changeset
103 };
Ritor1
parents:
diff changeset
104
Ritor1
parents:
diff changeset
105
Ritor1
parents:
diff changeset
106
Ritor1
parents:
diff changeset
107
Ritor1
parents:
diff changeset
108
Ritor1
parents:
diff changeset
109
Ritor1
parents:
diff changeset
110 /* 6 */
Ritor1
parents:
diff changeset
111 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
112 struct LODWriteableFile: public LOD::File
Ritor1
parents:
diff changeset
113 {
Ritor1
parents:
diff changeset
114 bool LoadFile(const char *pFilename, bool bWriting);
Ritor1
parents:
diff changeset
115 unsigned int Write(const LOD::Directory *pDir, const void *pDirData, int a4);
Ritor1
parents:
diff changeset
116 void CloseWriteFile();
Ritor1
parents:
diff changeset
117 int CreateTempFile();
837
bebc19f3d2af Save/load work with some problems
Gloval
parents: 810
diff changeset
118 int FixDirectoryOffsets();
0
Ritor1
parents:
diff changeset
119 bool _4621A7();
837
bebc19f3d2af Save/load work with some problems
Gloval
parents: 810
diff changeset
120 int CreateNewLod(LOD::FileHeader *pHeader, LOD::Directory *pDir, const char *Source);
0
Ritor1
parents:
diff changeset
121
Ritor1
parents:
diff changeset
122 /*FILE *pFile;
Ritor1
parents:
diff changeset
123 char pLODName[256];
Ritor1
parents:
diff changeset
124 unsigned int isFileOpened;
Ritor1
parents:
diff changeset
125 unsigned __int8 *pIOBuffer;
Ritor1
parents:
diff changeset
126 unsigned int uIOBufferSize;
Ritor1
parents:
diff changeset
127 struct LOD::FileHeader header;
Ritor1
parents:
diff changeset
128 struct LOD::Directory *pRoot;
Ritor1
parents:
diff changeset
129 unsigned __int8 pContainerName[16];
Ritor1
parents:
diff changeset
130 unsigned int uCurrentIndexDir;
Ritor1
parents:
diff changeset
131 unsigned int uLODDataSize;
Ritor1
parents:
diff changeset
132 unsigned int uNumSubIndices;
Ritor1
parents:
diff changeset
133 struct LOD::Directory *pSubIndices;
Ritor1
parents:
diff changeset
134 unsigned int uOffsetToSubIndex;
Ritor1
parents:
diff changeset
135 FILE *pOutputFileHandle;*/
Ritor1
parents:
diff changeset
136 };
Ritor1
parents:
diff changeset
137 #pragma pack(pop)
Ritor1
parents:
diff changeset
138
Ritor1
parents:
diff changeset
139
Ritor1
parents:
diff changeset
140
Ritor1
parents:
diff changeset
141
Ritor1
parents:
diff changeset
142 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
143 struct LODFile_IconsBitmaps: public LOD::File
Ritor1
parents:
diff changeset
144 {
Ritor1
parents:
diff changeset
145 LODFile_IconsBitmaps();
Ritor1
parents:
diff changeset
146 virtual ~LODFile_IconsBitmaps();
1006
e865f349aa41 ui cleanup
Gloval
parents: 982
diff changeset
147 void SyncLoadedFilesCount();
0
Ritor1
parents:
diff changeset
148 unsigned int FindTextureByName(const char *pName);
Ritor1
parents:
diff changeset
149 bool LoadBitmaps(const char *pFilename);
Ritor1
parents:
diff changeset
150 bool LoadIconsOrEvents(const char *pLODFilename);
Ritor1
parents:
diff changeset
151 void ReleaseAll();
Ritor1
parents:
diff changeset
152 unsigned int LoadTexture(const char *pContainer, enum TEXTURE_TYPE uTextureType = TEXTURE_DEFAULT);
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1103
diff changeset
153 struct Texture *LoadTexturePtr(const char *pContainer, enum TEXTURE_TYPE uTextureType = TEXTURE_DEFAULT);
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1103
diff changeset
154 int LoadTextureFromLOD(struct Texture *pOutTex, const char *pContainer, enum TEXTURE_TYPE eTextureType);
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1103
diff changeset
155 int ReloadTexture(struct Texture *pDst, const char *pContainer, int mode);
0
Ritor1
parents:
diff changeset
156 void ReleaseHardwareTextures();
Ritor1
parents:
diff changeset
157 void ReleaseLostHardwareTextures();
Ritor1
parents:
diff changeset
158 void _410423_move_textures_to_device();
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1103
diff changeset
159 int _410522(struct Texture *pDst, const char *pContainer, unsigned int uTextureType);
0
Ritor1
parents:
diff changeset
160 void SetupPalettes(unsigned int uTargetRBits, unsigned int uTargetGBits, unsigned int uTargetBBits);
Ritor1
parents:
diff changeset
161 void ReleaseAll2();
Ritor1
parents:
diff changeset
162 void _4114F2();
Ritor1
parents:
diff changeset
163 void _4355F7();
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 733
diff changeset
164 void _inlined_sub0();
cf2fbac6edc9 Misc cleaning
Nomad
parents: 733
diff changeset
165 void _inlined_sub1();
cf2fbac6edc9 Misc cleaning
Nomad
parents: 733
diff changeset
166 void _inlined_sub2();
0
Ritor1
parents:
diff changeset
167
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1103
diff changeset
168 inline struct Texture *GetTexture(int idx)
434
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 33
diff changeset
169 {
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 33
diff changeset
170 assert(idx < 1000);
945
0d96349d8c87 Restoring inlined methods
Nomad
parents: 837
diff changeset
171 if (idx == -1) return nullptr; // we need to return dummy texture here
434
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 33
diff changeset
172 return pTextures + idx;
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 33
diff changeset
173 }
137c59c3dbc4 Temple of Moon and Dragon Lair can now be entered.
Nomad
parents: 33
diff changeset
174
0
Ritor1
parents:
diff changeset
175
Ritor1
parents:
diff changeset
176 /*FILE *pFile;
Ritor1
parents:
diff changeset
177 unsigned __int8 pLODName[256];
Ritor1
parents:
diff changeset
178 unsigned int isFileOpened;
Ritor1
parents:
diff changeset
179 unsigned __int8 *pIOBuffer;
Ritor1
parents:
diff changeset
180 unsigned int uIOBufferSize;
Ritor1
parents:
diff changeset
181 struct LOD::FileHeader header;
Ritor1
parents:
diff changeset
182 struct LOD::Directory *pRoot;
Ritor1
parents:
diff changeset
183 unsigned __int8 pContainerName[16];
Ritor1
parents:
diff changeset
184 unsigned int uCurrentIndexDir;
Ritor1
parents:
diff changeset
185 unsigned int uLODDataSize;
Ritor1
parents:
diff changeset
186 unsigned int uNumSubIndices;
Ritor1
parents:
diff changeset
187 struct LOD::Directory *pSubIndices;
Ritor1
parents:
diff changeset
188 unsigned int uOffsetToSubIndex;
Ritor1
parents:
diff changeset
189 FILE *pOutputFileHandle;*/
Ritor1
parents:
diff changeset
190 struct Texture pTextures[1000];
Ritor1
parents:
diff changeset
191 unsigned int uNumLoadedFiles;
Ritor1
parents:
diff changeset
192 int dword_11B80;
Ritor1
parents:
diff changeset
193 int dword_11B84;
Ritor1
parents:
diff changeset
194 int dword_11B88;
Ritor1
parents:
diff changeset
195 int uTextureRedBits;
Ritor1
parents:
diff changeset
196 int uTextureGreenBits;
Ritor1
parents:
diff changeset
197 int uTextureBlueBits;
Ritor1
parents:
diff changeset
198 int uNumPrevLoadedFiles;
Ritor1
parents:
diff changeset
199 int uTexturePacksCount;
33
a9e9c6989d04 20.01.13
Ritor1
parents: 0
diff changeset
200 int pFacesLock;
0
Ritor1
parents:
diff changeset
201 int dword_011BA4;
Ritor1
parents:
diff changeset
202 int dword_011BA8;
Ritor1
parents:
diff changeset
203 struct IDirectDrawSurface **pHardwareSurfaces;
Ritor1
parents:
diff changeset
204 struct IDirect3DTexture2 **pHardwareTextures;
Ritor1
parents:
diff changeset
205 char *ptr_011BB4;
Ritor1
parents:
diff changeset
206 };
Ritor1
parents:
diff changeset
207 #pragma pack(pop)
Ritor1
parents:
diff changeset
208
Ritor1
parents:
diff changeset
209
Ritor1
parents:
diff changeset
210
Ritor1
parents:
diff changeset
211
Ritor1
parents:
diff changeset
212
Ritor1
parents:
diff changeset
213
Ritor1
parents:
diff changeset
214 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
215 struct LODSprite
Ritor1
parents:
diff changeset
216 {
Ritor1
parents:
diff changeset
217 //----- (0046244C) --------------------------------------------------------
Ritor1
parents:
diff changeset
218 inline LODSprite()
Ritor1
parents:
diff changeset
219 {
Ritor1
parents:
diff changeset
220 uHeight = 0;
Ritor1
parents:
diff changeset
221 uPaletteId = 0;
Ritor1
parents:
diff changeset
222 word_1A = 0;
Ritor1
parents:
diff changeset
223 pSpriteLines = nullptr;
Ritor1
parents:
diff changeset
224 pDecompressedBytes = nullptr;
Ritor1
parents:
diff changeset
225 }
Ritor1
parents:
diff changeset
226 ~LODSprite();
Ritor1
parents:
diff changeset
227
Ritor1
parents:
diff changeset
228 void Release();
733
700b58aac975 MonsterPopup preview doll fixed
Nomad
parents: 670
diff changeset
229 int DrawSprite_sw(struct RenderBillboardTransform_local0 *a2, char a3);
0
Ritor1
parents:
diff changeset
230 int _4AD2D1(struct RenderBillboardTransform_local0 *a2, int a3);
Ritor1
parents:
diff changeset
231
670
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
232 char pName[12]; //0
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
233 int uSpriteSize; //C
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
234 __int16 uWidth; //10
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
235 __int16 uHeight; //12
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
236 __int16 uPaletteId; //14
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
237 __int16 word_16; //16
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
238 __int16 uTexturePitch; //18
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
239 __int16 word_1A; //1a
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
240 int uDecompressedSize; //1c
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
241 struct LODSprite_stru0 *pSpriteLines; //20
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
242 void *pDecompressedBytes; //24
0
Ritor1
parents:
diff changeset
243 };
Ritor1
parents:
diff changeset
244 #pragma pack(pop)
Ritor1
parents:
diff changeset
245
Ritor1
parents:
diff changeset
246 /* 15 */
Ritor1
parents:
diff changeset
247 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
248 struct LODFile_Sprites: public LOD::File
Ritor1
parents:
diff changeset
249 {
Ritor1
parents:
diff changeset
250 LODFile_Sprites();
Ritor1
parents:
diff changeset
251 virtual ~LODFile_Sprites();
Ritor1
parents:
diff changeset
252
Ritor1
parents:
diff changeset
253 void DeleteSomeSprites();
Ritor1
parents:
diff changeset
254 void DeleteSpritesRange(int uStartIndex, int uStopIndex);
Ritor1
parents:
diff changeset
255 int _461397();
Ritor1
parents:
diff changeset
256 void DeleteSomeOtherSprites();
Ritor1
parents:
diff changeset
257 int LoadSpriteFromFile(LODSprite *pSpriteHeader, const char *pContainer);
Ritor1
parents:
diff changeset
258 bool LoadSprites(const char *pFilename);
Ritor1
parents:
diff changeset
259 int LoadSprite(const char *pContainerName, unsigned int uPaletteID);
Ritor1
parents:
diff changeset
260 void ReleaseLostHardwareSprites();
Ritor1
parents:
diff changeset
261 void ReleaseAll();
Ritor1
parents:
diff changeset
262 void MoveSpritesToVideoMemory();
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 733
diff changeset
263 void _inlined_sub0();
cf2fbac6edc9 Misc cleaning
Nomad
parents: 733
diff changeset
264 void _inlined_sub1();
0
Ritor1
parents:
diff changeset
265
Ritor1
parents:
diff changeset
266
Ritor1
parents:
diff changeset
267 /*FILE *pFile;
Ritor1
parents:
diff changeset
268 unsigned __int8 pLODName[256];
Ritor1
parents:
diff changeset
269 unsigned int isFileOpened;
Ritor1
parents:
diff changeset
270 unsigned __int8 *pIOBuffer;
Ritor1
parents:
diff changeset
271 unsigned int uIOBufferSize;
Ritor1
parents:
diff changeset
272 struct LOD::FileHeader header;
Ritor1
parents:
diff changeset
273 struct LOD::Directory *pRoot;
Ritor1
parents:
diff changeset
274 unsigned __int8 pContainerName[16];
Ritor1
parents:
diff changeset
275 unsigned int uCurrentIndexDir;
Ritor1
parents:
diff changeset
276 unsigned int uLODDataSize;
Ritor1
parents:
diff changeset
277 unsigned int uNumSubIndices;
Ritor1
parents:
diff changeset
278 struct LOD::Directory *pSubIndices;
Ritor1
parents:
diff changeset
279 unsigned int uOffsetToSubIndex;
Ritor1
parents:
diff changeset
280 FILE *pOutputFileHandle;*/
Ritor1
parents:
diff changeset
281 struct LODSprite pSpriteHeaders[1500];
670
9824e2eeee30 fixed decorations animation
Gloval
parents: 434
diff changeset
282 signed int uNumLoadedSprites;
0
Ritor1
parents:
diff changeset
283 int field_ECA0;
Ritor1
parents:
diff changeset
284 int field_ECA4;
Ritor1
parents:
diff changeset
285 int field_ECA8;
Ritor1
parents:
diff changeset
286 int field_ECAC;
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1006
diff changeset
287 Sprite *pHardwareSprites;
0
Ritor1
parents:
diff changeset
288 int field_ECB4;
Ritor1
parents:
diff changeset
289 };
Ritor1
parents:
diff changeset
290 #pragma pack(pop)
Ritor1
parents:
diff changeset
291
Ritor1
parents:
diff changeset
292 /* 17 */
Ritor1
parents:
diff changeset
293 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
294 struct LODSprite_stru0
Ritor1
parents:
diff changeset
295 {
Ritor1
parents:
diff changeset
296 int dword_0;
Ritor1
parents:
diff changeset
297 void *ptr_4;
Ritor1
parents:
diff changeset
298 };
Ritor1
parents:
diff changeset
299 #pragma pack(pop)
Ritor1
parents:
diff changeset
300
Ritor1
parents:
diff changeset
301
Ritor1
parents:
diff changeset
302
Ritor1
parents:
diff changeset
303
Ritor1
parents:
diff changeset
304 extern LODFile_IconsBitmaps *pEvents_LOD;
Ritor1
parents:
diff changeset
305 extern LODFile_IconsBitmaps *pIcons_LOD;
Ritor1
parents:
diff changeset
306 extern LODFile_Sprites *pSprites_LOD;
Ritor1
parents:
diff changeset
307 extern LODFile_IconsBitmaps *pBitmaps_LOD;
Ritor1
parents:
diff changeset
308
Ritor1
parents:
diff changeset
309 extern LODWriteableFile *pNew_LOD;
Ritor1
parents:
diff changeset
310 extern LODWriteableFile *pGames_LOD;
Ritor1
parents:
diff changeset
311
Ritor1
parents:
diff changeset
312
Ritor1
parents:
diff changeset
313
Ritor1
parents:
diff changeset
314
Ritor1
parents:
diff changeset
315 extern int _6A0CA4_lod_binary_search; // weak
Ritor1
parents:
diff changeset
316 extern int _6A0CA8_lod_unused; // weak