Пример #1
0
 public void Write(System.IO.Stream stream, bool DCver = false)
 {
     using (Writer writer = new Writer(stream))
         this.Write(writer, DCver);
 }
Пример #2
0
 internal void WriteObjectsSpriteSheets(Writer writer)
 {
     writer.Write((byte)ObjectSpritesheets.Count);
     foreach (string name in ObjectSpritesheets)
         writer.WriteRSDKString(name);
 }
Пример #3
0
 public void Write(string filename, bool DCver = false)
 {
     using (Writer writer = new Writer(filename))
         this.Write(writer, DCver);
 }
Пример #4
0
 public void Write(System.IO.Stream stream)
 {
     using (Writer writer = new Writer(stream))
         this.Write(writer);
 }
Пример #5
0
 public void Write(string filename)
 {
     using (Writer writer = new Writer(filename))
         this.Write(writer);
 }
Пример #6
0
 internal void WriteOGGConfiguration(Writer writer)
 {
     writer.Write((byte)Music.Count);
     foreach (string mus in Music)
         writer.Write(mus);
 }
Пример #7
0
 internal void WriteWAVConfiguration(Writer writer)
 {
     writer.Write((byte)SoundFX.Count);
     foreach (string wav in SoundFX)
         writer.Write(wav);
 }
Пример #8
0
 internal void Write(Writer writer)
 {
     writer.Write(CurrentLevel);
     writer.Write(EmeraldCount);
     writer.Write(Lives);
 }