Mercurial > mm7
annotate mm7_7.cpp @ 2302:2b65eb263ceb
mm7_7 made redundant, exctracted the 2 useful functions, commented out the rest of the file
author | Grumpy7 |
---|---|
date | Sun, 16 Mar 2014 21:03:36 +0100 |
parents | aff7a7b072b7 |
children | f4af3b203f65 |
rev | line source |
---|---|
2253
aff7a7b072b7
adding _CRT_SECURE_NO_WARNINGS to get rid of a few hundrer annoying warnings + adding count parameter to swprintf
Grumpy7
parents:
2245
diff
changeset
|
1 #define _CRT_SECURE_NO_WARNINGS |
2000 | 2 |
3 /* | |
4 GUIProgressBar *__cdecl crt_construct_576E30() | |
5 { | |
6 RGBTexture::RGBTexture(&pGameLoadingUI_ProgressBar.pLoadingBg); | |
7 RGBTexture::RGBTexture(&pGameLoadingUI_ProgressBar.field_40); | |
8 RGBTexture::RGBTexture(&pGameLoadingUI_ProgressBar.field_68); | |
9 RGBTexture::RGBTexture(&pGameLoadingUI_ProgressBar.field_90); | |
10 RGBTexture::RGBTexture(&pGameLoadingUI_ProgressBar.field_B8); | |
11 Texture::Texture(&pGameLoadingUI_ProgressBar.field_E0); | |
12 Texture::Texture(&pGameLoadingUI_ProgressBar.pBardata); | |
13 Texture::Texture(&pGameLoadingUI_ProgressBar.pLoadingProgress); | |
14 pGameLoadingUI_ProgressBar.uProgressCurrent = 0; | |
15 pGameLoadingUI_ProgressBar.uProgressMax = 0; | |
16 pGameLoadingUI_ProgressBar.field_9 = 0; | |
17 pGameLoadingUI_ProgressBar.field_8 = 0; | |
18 pGameLoadingUI_ProgressBar.uHeight = 0; | |
19 pGameLoadingUI_ProgressBar.uWidth = 0; | |
20 pGameLoadingUI_ProgressBar.uY = 0; | |
21 pGameLoadingUI_ProgressBar.uX = 0; | |
22 pGameLoadingUI_ProgressBar.field_17 = 0; | |
23 pGameLoadingUI_ProgressBar.field_16 = 0; | |
24 pGameLoadingUI_ProgressBar.field_15 = 0; | |
25 pGameLoadingUI_ProgressBar.field_14 = 0; | |
26 pGameLoadingUI_ProgressBar.field_13 = 0; | |
27 pGameLoadingUI_ProgressBar.field_12 = 0; | |
28 pGameLoadingUI_ProgressBar.field_11 = 0; | |
29 pGameLoadingUI_ProgressBar.field_10 = 0; | |
30 return &pGameLoadingUI_ProgressBar; | |
31 } | |
32 */ | |
33 | |
2302
2b65eb263ceb
mm7_7 made redundant, exctracted the 2 useful functions, commented out the rest of the file
Grumpy7
parents:
2253
diff
changeset
|
34 /*void constructors() |
2000 | 35 { |
36 //no call to these anywhere | |
37 uGameUIFontMain_initialize(); | |
38 uGameUIFontShadow_initialize(); | |
2302
2b65eb263ceb
mm7_7 made redundant, exctracted the 2 useful functions, commented out the rest of the file
Grumpy7
parents:
2253
diff
changeset
|
39 }*/ |
2000 | 40 |
41 /* | |
42 | |
43 X = called already in our code | |
44 byte = constructor byte setter | |
45 | |
46 .data:004DF004 dd offset sub_4C9A95 | |
47 IOStream | |
48 | |
49 .data:004DF008 dd offset sub_4C9B06 | |
50 IOStream | |
51 | |
52 .data:004DF00C dd offset sub_401022 | |
2302
2b65eb263ceb
mm7_7 made redundant, exctracted the 2 useful functions, commented out the rest of the file
Grumpy7
parents:
2253
diff
changeset
|
53 achieved by zero initializing dword_4F8580, dword_4F8580[0] = 1; is unused anyway |
2000 | 54 |
55 .data:004DF010 dd offset sub_408B98 | |
56 .data:004DF014 dd offset sub_409BCC | |
57 .data:004DF018 dd offset crt_sub_40D6EB | |
58 byte | |
59 | |
60 .data:004DF01C dd offset crt_construct_40D707_ptr_pArcomageGame | |
61 X | |
62 | |
63 .data:004DF020 dd offset crt_sub_40E4A6 | |
64 .data:004DF024 dd offset crt_deconstruct_40E503 | |
65 .data:004DF028 dd offset crt_sub_40F760 | |
66 .data:004DF02C dd offset crt_sub_40F7EA | |
67 .data:004DF030 dd offset crt_sub_40F9A9 | |
68 .data:004DF034 dd offset crt_sub_410AD9 | |
69 byte | |
70 | |
71 .data:004DF038 dd offset SetMoonPhaseNames | |
72 X | |
73 | |
74 .data:004DF03C dd offset crt_sub_413FD0 | |
75 byte | |
76 | |
77 .data:004DF040 dd offset j_SetMonthNames | |
78 .data:004DF044 dd offset j_SetDayNames | |
79 .data:004DF048 dd offset j_SetSpellSchoolNames | |
80 .data:004DF04C dd offset j_SetAttributeNames | |
81 X InitializeGameText | |
82 | |
83 .data:004DF050 dd offset uGameUIFontMain_initialize | |
84 .data:004DF054 dd offset uGameUIFontShadow_initialize | |
2302
2b65eb263ceb
mm7_7 made redundant, exctracted the 2 useful functions, commented out the rest of the file
Grumpy7
parents:
2253
diff
changeset
|
85 X called in SetUserInterface(Neutral) |
2000 | 86 |
87 .data:004DF058 dd offset crt_construct_507ABC | |
88 .data:004DF05C dd offset crt_construct_507A94 | |
89 .data:004DF060 dd offset crt_construct_507A6C | |
90 .data:004DF064 dd offset crt_construct_507A44 | |
91 .data:004DF068 dd offset crt_construct_507A1C | |
92 .data:004DF06C dd offset crt_construct_506F20 | |
93 .data:004DF070 dd offset crt_construct_414D90_ptr_506E40 | |
94 X (RGBTexture constructor) | |
95 | |
96 .data:004DF074 dd offset crt_sub_423903 | |
97 byte | |
98 | |
99 .data:004DF078 dd offset IndoorCamera__IndoorCamera | |
100 X | |
101 | |
102 .data:004DF07C dd offset crt_sub_423ACD | |
103 byte | |
104 | |
105 .data:004DF080 dd offset j_reset_some_strus_flt_2Cs | |
106 deleted | |
107 | |
108 .data:004DF084 dd offset j_sub_423B4A | |
2302
2b65eb263ceb
mm7_7 made redundant, exctracted the 2 useful functions, commented out the rest of the file
Grumpy7
parents:
2253
diff
changeset
|
109 byte |
2000 | 110 |
111 .data:004DF088 dd offset crt_sub_4262DD | |
112 byte | |
113 | |
114 .data:004DF08C dd offset crt_construct_pEventTimer | |
115 .data:004DF090 dd offset crt_construct_pMiscTimer | |
116 X | |
117 | |
118 .data:004DF094 dd offset crt_sub_42640D | |
119 .data:004DF098 dd offset crt_sub_4268C7 | |
120 .data:004DF09C dd offset crt_sub_42692B | |
121 byte | |
122 | |
123 .data:004DF0A0 dd offset sub_426947 | |
124 X initialized | |
125 | |
126 .data:004DF0A4 dd offset crt_construct_50C0C8 | |
127 X CastSpellInfo | |
128 | |
129 .data:004DF0A8 dd offset crt_sub_42FBB7 | |
130 byte | |
131 | |
132 .data:004DF0AC dd offset crt_construct_50CDB4 | |
133 seems unused CastSpellInfo variable | |
134 | |
135 .data:004DF0B0 dd offset sub_4361D3 | |
136 .data:004DF0B4 dd offset sub_4382A0 | |
137 .data:004DF0B8 dd offset sub_43850A | |
138 .data:004DF0BC dd offset crt_438AEF | |
139 .data:004DF0C0 dd offset crt_438B7F | |
140 .data:004DF0C4 dd offset ctr_deconstruct_43B4E0 | |
141 byte | |
142 | |
143 .data:004DF0C8 dd offset crt_43B4FC | |
144 deleted, constructor for stru_51076C | |
145 | |
146 .data:004DF0CC dd offset crt_deconstruct_43B51C | |
147 .data:004DF0D0 dd offset crt_deconstruct_43B5F0 | |
148 .data:004DF0D4 dd offset crt_deconstruct_43B64C | |
149 byte | |
150 | |
151 .data:004DF0D8 dd offset _crt_construct_stru165 | |
152 X BloodsplatContainer | |
153 | |
154 .data:004DF0DC dd offset crt_deconstruct_43B751 | |
155 .data:004DF0E0 dd offset crt_deconstruct_43B9E3 | |
156 .data:004DF0E4 dd offset crt_deconstruct_43BC8B | |
157 .data:004DF0E8 dd offset crt_deconstruct_43F22A | |
158 byte | |
159 | |
160 .data:004DF0EC dd offset crt_construct_51B778 | |
161 X BspRenderer | |
162 | |
163 .data:004DF0F0 dd offset crt_construct_519AB8 | |
164 X LightsStack_MobileLight | |
165 | |
166 .data:004DF0F4 dd offset crt_construct_5187F0 | |
167 X LightsStack_StationaryLight | |
168 | |
169 | |
170 .data:004DF0F8 dd offset crt_deconstruct_440B28 | |
171 .data:004DF0FC dd offset crt_deconstruct_440F5C | |
172 byte | |
173 | |
174 .data:004DF100 dd offset crt_construct_576E30 | |
175 added but have to RECHECK | |
176 | |
177 .data:004DF104 dd offset crt_deconstruct_4437E5 | |
178 byte | |
179 | |
180 .data:004DF108 dd offset sub_446219 | |
181 X InitializeGameText | |
182 | |
183 .data:004DF10C dd offset crt_construct_5773C4 | |
184 unused RGBTexture | |
185 | |
186 .data:004DF110 dd offset sub_44C346 | |
187 .data:004DF114 dd offset crt_deconstruct_44C42C | |
188 .data:004DF118 dd offset crt_deconstruct_44D49E | |
189 byte | |
190 | |
191 .data:004DF11C dd offset _inline_SpriteFrameTable__SpriteFrameTable_global | |
192 .data:004DF120 dd offset _inline_TextureFrameTable__TextureFrameTable_global | |
193 X | |
194 | |
195 .data:004DF124 dd offset sub_44E49B | |
196 .data:004DF128 dd offset sub_44F1F9 | |
197 .data:004DF12C dd offset sub_44F560 | |
198 .data:004DF130 dd offset sub_450DC2 | |
199 .data:004DF134 dd offset crt_deconstruct_45232B | |
200 byte | |
201 | |
202 .data:004DF138 dd offset crt_construct_stru193_math@5C6E00 | |
203 X | |
204 | |
205 .data:004DF13C dd offset crt_452B74 | |
206 byte | |
207 | |
208 .data:004DF140 dd offset j_SetSomeItemsNames | |
209 added | |
210 | |
211 .data:004DF144 dd offset crt_deconstruct_458364 | |
212 byte | |
213 | |
214 .data:004DF148 dd offset _intline_DecorationList__DecorationList_global | |
215 X | |
216 | |
217 .data:004DF14C dd offset j_crt_construct_6836D0 | |
218 X LevelDecorations | |
219 | |
220 .data:004DF150 dd offset _inline_ObjectList__ObjectList_global | |
221 X | |
222 | |
223 .data:004DF154 dd offset j_crt_construct_665230 | |
224 X SpriteObjects | |
225 | |
226 .data:004DF158 dd offset j_crt_construct_5FF158 | |
227 X Actors | |
228 | |
229 .data:004DF15C dd offset _inline_MonsterList__MonsterList_global | |
230 X | |
231 | |
232 .data:004DF160 dd offset _inline_ChestList__ChestList_global | |
233 X | |
234 | |
235 .data:004DF164 dd offset j_crt_construct_5E5150 | |
236 X Chests | |
237 | |
238 .data:004DF168 dd offset _inline_OverlayList__OverlayList_global | |
239 X | |
240 | |
241 .data:004DF16C dd offset crt_construct_5E4D58 | |
242 X OverlayList | |
243 | |
244 .data:004DF170 dd offset sub_459C05 | |
245 byte | |
246 | |
247 .data:004DF174 dd offset sub_459C21 | |
248 X KeyboardActionMapping | |
249 | |
250 .data:004DF178 dd offset crt_deconstruct_45AFBD | |
251 .data:004DF17C dd offset crt_deconstruct_45B0EE | |
252 .data:004DF180 dd offset sub_45BA89 | |
253 byte | |
254 | |
255 .data:004DF184 dd offset crt_call_global_ctor_45BAA5 | |
2002 | 256 stru_69BD44 = "effpar03" , need RECHECK |
2000 | 257 |
258 .data:004DF188 dd offset crt_deconstruct_45DEF7 | |
259 .data:004DF18C dd offset crt_deconstruct_45DF53 | |
260 .data:004DF190 dd offset crt_deconstruct_45DF6F | |
261 .data:004DF194 dd offset crt_deconstruct_45DF8B | |
262 byte | |
263 | |
264 .data:004DF198 dd offset crt_construct_ptr_6A0A60 | |
265 X LODFile | |
266 | |
267 .data:004DF19C dd offset crt_construct_ptr_6A0820 | |
268 X LODFile | |
269 | |
270 .data:004DF1A0 dd offset j_crt_construct_ptr_6A0118 | |
271 X RGBTexture | |
272 | |
273 .data:004DF1A4 dd offset sub_461415 | |
274 .data:004DF1A8 dd offset crt_deconstruct_4621BE | |
275 .data:004DF1AC dd offset crt_deconstruct_46220E | |
276 byte | |
277 | |
278 .data:004DF1B0 dd offset crt_construct_ptr_702B28 | |
279 X Allocator | |
280 | |
281 .data:004DF1B4 dd offset sub_46224A | |
282 X unused | |
283 | |
284 .data:004DF1B8 dd offset crt_construct_ptr_06F0E80 | |
285 X LODFile_IconsBitmaps | |
286 | |
287 .data:004DF1BC dd offset sub_4623CF | |
288 X LODFile_Sprites | |
289 | |
290 .data:004DF1C0 dd offset crt_call_ctors__pIcons_LOD | |
291 .data:004DF1C4 dd offset crt_call_ctors__pEvents_LOD | |
292 .data:004DF1C8 dd offset _inline_IndoorLocation__IndoorLocation_global | |
293 X | |
294 | |
295 .data:004DF1CC dd offset crt_init_globals_462620 | |
296 X initialized | |
297 | |
298 .data:004DF1D0 dd offset crt_construct_ptr_6BE158 | |
299 unused stru289 | |
300 | |
301 .data:004DF1D4 dd offset j_crt_init_globals_462659 | |
302 X initialized | |
303 | |
304 .data:004DF1D8 dd offset crt_construct_ptr_06BE070 | |
305 X ODMRenderParams | |
306 | |
307 .data:004DF1DC dd offset crt_init_globals_46269B | |
308 unused SW variable | |
309 | |
310 .data:004DF1E0 dd offset crt_construct_ptr_6BE048 | |
311 X TileTable | |
312 | |
313 .data:004DF1E4 dd offset crt_construct_ptr_6A0DF0 | |
314 X OutdoorLocation | |
315 | |
316 .data:004DF1E8 dd offset sub_466CA6 | |
317 .data:004DF1EC dd offset crt_deconstruct_467D29 | |
318 .data:004DF1F0 dd offset sub_467E32 | |
319 .data:004DF1F4 dd offset crt_deconstruct_46AC2C | |
320 byte | |
321 | |
322 .data:004DF1F8 dd offset crt_construct_46AC48_ptr_720990 | |
323 X std__string_720990 = "micon1" , need RECHECK | |
324 | |
325 .data:004DF1FC dd offset crt_deconstruct_46BD83 | |
326 byte | |
327 | |
328 .data:004DF200 dd offset crt_init_globals_46BD9F | |
329 added | |
330 | |
331 .data:004DF204 dd offset nullsub_26 | |
332 X | |
333 | |
334 .data:004DF208 dd offset sub_476102 | |
335 byte | |
336 | |
337 .data:004DF20C dd offset sub_47611E | |
338 X Texture | |
339 | |
340 .data:004DF210 dd offset sub_476128 | |
341 dword_7241C8 = 1 RECHECK | |
342 | |
343 .data:004DF214 dd offset sub_476133 | |
344 X InitializeGameText | |
345 | |
346 .data:004DF218 dd offset sub_477595 | |
347 .data:004DF21C dd offset sub_47836D | |
348 .data:004DF220 dd offset crt_sub_4783D9 | |
349 byte | |
350 | |
351 .data:004DF224 dd offset j__sub_4783FA_construct_global_73D150 | |
352 | |
353 | |
354 .data:004DF228 dd offset sub_47A368 | |
355 .data:004DF22C dd offset sub_47C778 | |
356 .data:004DF230 dd offset sub_47CDBE | |
2002 | 357 byte |
2000 | 358 |
359 .data:004DF234 dd offset sub_47CDDA | |
360 | |
361 | |
362 .data:004DF238 dd offset sub_47F483 | |
2002 | 363 byte |
2000 | 364 |
365 .data:004DF23C dd offset sub_47F49F | |
366 | |
367 | |
368 .data:004DF240 dd offset sub_47F4B9 | |
369 | |
370 | |
371 .data:004DF244 dd offset sub_482A74 | |
372 .data:004DF248 dd offset sub_485F37 | |
373 .data:004DF24C dd offset sub_486A0C | |
374 .data:004DF250 dd offset crt_deconstruct_487DF7 | |
375 .data:004DF254 dd offset sub_488E07 | |
376 .data:004DF258 dd offset sub_489572 | |
377 .data:004DF25C dd offset crt_deconstruct_489B44 | |
378 .data:004DF260 dd offset crt_deconstruct_489BBA | |
2002 | 379 byte |
2000 | 380 |
381 .data:004DF264 dd offset crt_construct_489BD6_ptr_080D198 | |
2002 | 382 X PaletteManager |
2000 | 383 |
384 .data:004DF268 dd offset sub_48AAA9 | |
385 .data:004DF26C dd offset sub_48C20E | |
2002 | 386 byte |
2000 | 387 |
388 .data:004DF270 dd offset sub_48C22A | |
389 .data:004DF274 dd offset loc_48C234 | |
390 .data:004DF278 dd offset loc_48C243 | |
391 .data:004DF27C dd offset loc_48C252 | |
392 .data:004DF280 dd offset loc_48C3C0 | |
393 .data:004DF284 dd offset loc_48C474 | |
2002 | 394 Party constructor |
2000 | 395 |
396 .data:004DF288 dd offset sub_49801C | |
397 .data:004DF28C dd offset sub_498077 | |
398 .data:004DF290 dd offset sub_498A25 | |
399 .data:004DF294 dd offset sub_49AFE5 | |
400 .data:004DF298 dd offset crt_deconstruct_49B36B | |
2002 | 401 byte |
2000 | 402 |
403 .data:004DF29C dd offset crt_construct_stru187@AE5BA8 | |
2002 | 404 X DecalBuilder |
2000 | 405 |
406 .data:004DF2A0 dd offset crt_construct_ptr_AE5B94 | |
2002 | 407 std__string_AE5B94 = "hwsplat04", need RECHECK |
2000 | 408 |
409 .data:004DF2A4 dd offset sub_49C594 | |
410 .data:004DF2A8 dd offset sub_49D6C8 | |
411 .data:004DF2AC dd offset sub_49D6E4 | |
412 .data:004DF2B0 dd offset sub_49E71A | |
2002 | 413 byte |
2000 | 414 |
415 .data:004DF2B4 dd offset sub_49E736 | |
2002 | 416 X Render |
2000 | 417 |
418 .data:004DF2B8 dd offset sub_4A198F | |
2002 | 419 byte |
2000 | 420 |
421 .data:004DF2BC dd offset sub_4A19AB | |
2002 | 422 added |
2000 | 423 |
424 .data:004DF2C0 dd offset sub_4A51AF | |
425 .data:004DF2C4 dd offset sub_4A7047 | |
426 .data:004DF2C8 dd offset sub_4A94EB | |
427 .data:004DF2CC dd offset sub_4A963E | |
2002 | 428 byte |
2000 | 429 |
430 .data:004DF2D0 dd offset sub_4A965A | |
2002 | 431 X pSoundList |
2000 | 432 |
433 .data:004DF2D4 dd offset AudioPlayer__AudioPlayer | |
2002 | 434 X |
2000 | 435 |
436 .data:004DF2D8 dd offset sub_4AC1AD | |
437 .data:004DF2DC dd offset sub_4AC662 | |
438 .data:004DF2E0 dd offset sub_4ACC1C | |
439 .data:004DF2E4 dd offset sub_4AD369 | |
440 .data:004DF2E8 dd offset crt_deconstruct_4AD44B | |
2002 | 441 byte |
2000 | 442 |
443 .data:004DF2EC dd offset crt_construct_4AD467_ptr_F79D68 | |
2002 | 444 X OSVersion |
2000 | 445 |
446 .data:004DF2F0 dd offset crt_deconstruct_4AD4DE | |
2002 | 447 byte |
2000 | 448 |
449 .data:004DF2F4 dd offset crt_construct_ptr_F7CE30 | |
2002 | 450 X Texture |
2000 | 451 |
452 .data:004DF2F8 dd offset sub_4B142B | |
453 .data:004DF2FC dd offset crt_sub_4BE344 | |
2002 | 454 byte |
2000 | 455 |
456 .data:004DF300 dd offset j_Random__ctor | |
2002 | 457 X |
2000 | 458 |
459 .data:004DF304 dd offset crt_sub_4BE6B5 | |
460 .data:004DF308 dd offset crt_sub_4BE6D4 | |
2002 | 461 byte |
2000 | 462 |
463 .data:004DF30C dd offset crt_j_VideoPlayer__ctor | |
2002 | 464 RECHECK |
2000 | 465 |
466 .data:004DF310 dd offset sub_4C021E | |
2002 | 467 byte |
2000 | 468 |
469 .data:004DF314 dd offset sub_4C023A | |
2002 | 470 added |
2000 | 471 |
472 .data:004DF318 dd offset sub_4C035A | |
473 .data:004DF31C dd offset sub_4C03A3 | |
2002 | 474 byte |
2000 | 475 |
476 .data:004DF320 dd offset sub_4C03BF | |
477 .data:004DF324 dd offset sub_4C03F1 | |
478 .data:004DF328 dd offset sub_4C0423 | |
479 .data:004DF32C dd offset sub_4C044B | |
480 .data:004DF330 dd offset sub_4C047D | |
2002 | 481 X vis filters |
2000 | 482 |
483 .data:004DF334 dd offset sub_4C2A6E | |
484 .data:004DF338 dd offset sub_4C2A8A | |
485 .data:004DF33C dd offset sub_4C2F7C | |
2002 | 486 byte |
2000 | 487 |
488 */ |