Ejemplo n.º 1
0
        IcnD2Tile[] ParseFrames(Stream s)
        {
            var start = s.Position;

            ReadTables(s);

            var tiles = new IcnD2Tile[numTiles];

            s.Position = ssetOffset;
            for (var i = 0; i < tiles.Length; i++)
            {
                tiles[i] = new IcnD2Tile(s, rpal[rtbl[i]]);
            }

            s.Position = start;
            return(tiles);
        }
Ejemplo n.º 2
0
        IcnD2Tile[] ParseFrames(Stream s)
        {
            var start = s.Position;

            ReadTables(s);

            var tiles = new IcnD2Tile[numTiles];
            s.Position = ssetOffset;
            for (var i = 0; i < tiles.Length; i++)
                tiles[i] = new IcnD2Tile(s, rpal[rtbl[i]]);

            s.Position = start;
            return tiles;
        }