protected void WriteScne(PNGWriter pw) { pw.WriteTDCG(); pw.WriteSCNE(FigureCount()); pw.WriteCAMI(cami); foreach (TSOFigure fig in TSOFigureList) { pw.WriteLGTA(fig.lgta); pw.WriteFTMO(fig.tmo); pw.WriteFIGU(fig.figu); foreach (TSOData tso in fig.TSOList) { pw.WriteFTSO(tso.opt1, tso.ftso); } } }
protected void WriteScne(PNGWriter pw) { pw.WriteTDCG(); pw.WriteSCNE(GetFiguresCount()); WriteCAMI(pw); while (NextFIGUExists()) { WriteLGTA(pw); WriteFTMO(pw); WriteFIGU(pw); foreach (string file in Directory.GetFiles(dest_path + @"\" + numTMO, "*.tso")) { WriteFTSO(pw, file); } } }