Exemple #1
0
 protected void WriteHsav(PNGWriter pw)
 {
     pw.WriteTDCG();
     pw.WriteHSAV();
     foreach (TSOData tso in fig.TSOList)
     {
         pw.WriteFTSO(tso.opt1, tso.ftso);
     }
 }
Exemple #2
0
        protected void WriteFTSO(PNGWriter pw, string tso_file)
        {
            Console.WriteLine("TSO Load File: " + tso_file);

            string code = Path.GetFileNameWithoutExtension(tso_file);
            uint   opt1 = opt_value(code);

            using (Stream tso_stream = File.OpenRead(tso_file))
            {
                pw.WriteFTSO(opt1, tso_stream);
            }
        }
Exemple #3
0
 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);
         }
     }
 }