Data.getBigBlocksDt2 C# (CSharp) Method

getBigBlocksDt2() public method

public getBigBlocksDt2 ( int bigTileIndex ) : BigBlock[]
bigTileIndex int
return BigBlock[]
    public BigBlock[] getBigBlocksDt2(int bigTileIndex)
    {
        int[] addrPointers = getBigBlocksPtrsForLevel(bigTileIndex);
        int blocksCount = getBigBlocksCountForLevel(bigTileIndex);
        byte[] bigBlockIndexes = new byte[getBigBlocksCount()*4];
        byte[] tempIndexes = Utils.readDataFromUnalignedArrays(Globals.romdata, addrPointers[0], addrPointers[1], addrPointers[2], addrPointers[3], blocksCount);
        Array.Copy(tempIndexes, bigBlockIndexes, blocksCount*4);
        return Utils.unlinearizeBigBlocks(bigBlockIndexes, 2, 2);
    }
Data