(3dc4135ce) v0.9.5.1

This commit is contained in:
Regalis
2019-11-21 18:22:25 +01:00
parent b39922a074
commit 5c95c53118
287 changed files with 12655 additions and 5048 deletions
@@ -108,7 +108,13 @@ namespace Barotrauma.Media
public uint Width { get; private set; }
public uint Height { get; private set; }
public Video(GraphicsDevice graphicsDevice,SoundManager soundManager,string filename,uint width,uint height)
public float AudioGain
{
get { return sound == null ? 0.0f : sound.BaseGain; }
set { if (sound != null) { sound.BaseGain = value; } }
}
public Video(GraphicsDevice graphicsDevice, SoundManager soundManager, string filename, uint width, uint height)
{
Init();