Mercurial > mm7
diff LOD.cpp @ 762:cf2fbac6edc9
Misc cleaning
author | Nomad |
---|---|
date | Sat, 23 Mar 2013 19:47:01 +0200 |
parents | 225d92620998 |
children | bebc19f3d2af |
line wrap: on
line diff
--- a/LOD.cpp Sat Mar 23 13:40:00 2013 +0200 +++ b/LOD.cpp Sat Mar 23 19:47:01 2013 +0200 @@ -28,6 +28,47 @@ int _6A0CA8_lod_unused; // weak +// inlined +//----- (mm6c::00408860) -------------------------------------------------- +void LODFile_IconsBitmaps::_inlined_sub2() +{ + ++uTexturePacksCount; + if (!uNumPrevLoadedFiles) + uNumPrevLoadedFiles = uNumLoadedFiles; +} + +// inlined +//----- (mm6c::0045BE60) -------------------------------------------------- +void LODFile_IconsBitmaps::_inlined_sub1() +{ + dword_11B84 = uNumLoadedFiles; +} + +// inlined +//----- (mm6c::0045C310) -------------------------------------------------- +void LODFile_Sprites::_inlined_sub1() +{ + field_ECA0 = uNumLoadedSprites; +} + +// inlined +//----- (mm6c::0045C5B0) -------------------------------------------------- +void LODFile_IconsBitmaps::_inlined_sub0() +{ + dword_11B80 = uNumLoadedFiles; + if (dword_11B84 < uNumLoadedFiles) + dword_11B84 = uNumLoadedFiles; +} + + +// inlined +//----- (mm6c::0045C660) -------------------------------------------------- +void LODFile_Sprites::_inlined_sub0() +{ + field_ECA4 = uNumLoadedSprites; + if (field_ECA0 < uNumLoadedSprites) + field_ECA0 = uNumLoadedSprites; +}