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); }
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; }