/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1192 by persson, Thu May 17 10:12:08 2007 UTC revision 1195 by persson, Thu May 17 17:24:26 2007 UTC
# Line 2396  namespace { Line 2396  namespace {
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          }          }

Legend:
Removed from v.1192  
changed lines
  Added in v.1195

  ViewVC Help
Powered by ViewVC