Exemplo n.º 1
0
 /// <summary>
 /// Loads all the 256 subchunks of the ADT synchronous. The chunks are completly loaded and are ready to render.
 /// The chunk offsets need to be loaded as well as the TexStream (<see cref="InitChunkOffsets"/>)
 /// </summary>
 private void LoadChunks()
 {
     for (int i = 0; i < 256; ++i)
     {
         ADTChunk cnk = new ADTChunk(this, mpqFile, TexStream, mChunkOffsets[i]);
         cnk.DoLoad();
         mChunks.Add(cnk);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Loads all the 256 subchunks of the ADT synchronous. The chunks are completly loaded and are ready to render.
 /// The chunk offsets need to be loaded as well as the TexStream (<see cref="InitChunkOffsets"/>)
 /// </summary>
 private void LoadChunks()
 {
     for (int i = 0; i < 256; ++i)
     {
         ADTChunk cnk = new ADTChunk(this, mpqFile, TexStream, mChunkOffsets[i]);
         cnk.DoLoad();
         mChunks.Add(cnk);
     }
 }