2396 |
// create new dimension region(s) for this new dimension |
// create new dimension region(s) for this new dimension |
2397 |
for (int i = 1 << iCurrentBits; i < 1 << iNewBits; i++) { |
for (int i = 1 << iCurrentBits; i < 1 << iNewBits; i++) { |
2398 |
//TODO: maybe we should copy existing dimension regions if possible instead of simply creating new ones with default values |
//TODO: maybe we should copy existing dimension regions if possible instead of simply creating new ones with default values |
2399 |
RIFF::List* pNewDimRgnListChunk = pCkRegion->AddSubList(LIST_TYPE_3EWL); |
RIFF::List* _3prg = pCkRegion->GetSubList(LIST_TYPE_3PRG); |
2400 |
|
RIFF::List* pNewDimRgnListChunk = _3prg->AddSubList(LIST_TYPE_3EWL); |
2401 |
pDimensionRegions[i] = new DimensionRegion(pNewDimRgnListChunk); |
pDimensionRegions[i] = new DimensionRegion(pNewDimRgnListChunk); |
2402 |
DimensionRegions++; |
DimensionRegions++; |
2403 |
} |
} |