Exemplo n.º 1
0
 public void Save(BinaryWriterBE writer)
 {
     writer.Write((short)LightingFunction);
     writer.Write(Period);
     writer.Write(DeltaPeriod);
     writer.WriteFixed(Intensity);
     writer.WriteFixed(DeltaIntensity);
 }
Exemplo n.º 2
0
 public void Save(BinaryWriterBE writer)
 {
     writer.Write((ushort)Flags);
     writer.Write(SoundIndex);
     writer.Write(volume);
     writer.Write(deltaVolume);
     writer.Write(Period);
     writer.Write(DeltaPeriod);
     writer.Write(direction);
     writer.Write(deltaDirection);
     writer.WriteFixed(Pitch);
     writer.WriteFixed(DeltaPitch);
     writer.Write(phase);
     writer.Write(new byte[2 * 3]);
 }
Exemplo n.º 3
0
 public void Save(BinaryWriterBE writer)
 {
     writer.Write((short)Type);
     writer.Write((ushort)Flags);
     writer.Write(LightIndex);
     writer.Write(direction);
     writer.Write(CurrentMagnitude);
     writer.Write(Low);
     writer.Write(High);
     writer.Write(new byte[6]); // X, Y, Height
     writer.WriteFixed(MinimumLightIntensity);
     writer.Write(new byte[4]); // texture, transfer mode
     writer.Write(new byte[4]); // unused
 }