public void Save(BinaryWriterBE writer) { writer.Write((short)LightingFunction); writer.Write(Period); writer.Write(DeltaPeriod); writer.WriteFixed(Intensity); writer.WriteFixed(DeltaIntensity); }
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]); }
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 }