示例#1
0
        CpsD2Tile[] ParseFrames(Stream s)
        {
            var start = s.Position;

            s.Position += 10;
            s.Position += palSize;

            var tiles = new CpsD2Tile[NumTiles];

            for (var i = 0; i < tiles.Length; i++)
            {
                tiles[i] = new CpsD2Tile(s);
            }

            s.Position = start;
            return(tiles);
        }
示例#2
0
        CpsD2Tile[] ParseFrames(Stream s)
        {
            var start = s.Position;

            s.Position += 10;
            s.Position += palSize;

            var tiles = new CpsD2Tile[NumTiles];
            for (var i = 0; i < tiles.Length; i++)
                tiles[i] = new CpsD2Tile(s);

            s.Position = start;
            return tiles;
        }