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