mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match
This commit is contained in:
parent
00fd17e551
commit
348fa8e28a
@ -49,6 +49,9 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
|||||||
LegoU32 numROIs, numLODs;
|
LegoU32 numROIs, numLODs;
|
||||||
LegoMemory storage(p_chunk.GetData());
|
LegoMemory storage(p_chunk.GetData());
|
||||||
LegoU32 textureInfoOffset, i, j, numTextures;
|
LegoU32 textureInfoOffset, i, j, numTextures;
|
||||||
|
LegoU32 roiNameLength, roiInfoOffset, surplusLODs;
|
||||||
|
LegoLODList* lods;
|
||||||
|
LegoNamedPart* namedPart;
|
||||||
LegoChar* roiName = NULL;
|
LegoChar* roiName = NULL;
|
||||||
LegoChar* textureName = NULL;
|
LegoChar* textureName = NULL;
|
||||||
LegoTexture* texture = NULL;
|
LegoTexture* texture = NULL;
|
||||||
@ -137,9 +140,6 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < numROIs; i++) {
|
for (i = 0; i < numROIs; i++) {
|
||||||
LegoU32 roiNameLength, roiInfoOffset, surplusLODs;
|
|
||||||
LegoLODList* lods;
|
|
||||||
LegoNamedPart* namedPart;
|
|
||||||
|
|
||||||
if (storage.Read(&roiNameLength, sizeof(roiNameLength)) != SUCCESS) {
|
if (storage.Read(&roiNameLength, sizeof(roiNameLength)) != SUCCESS) {
|
||||||
goto done;
|
goto done;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user