Add basic VolumeControl and saving of volume to config.

This commit is contained in:
Dean Herbert
2016-10-07 03:05:26 +09:00
parent e25e7319e9
commit bdb72d7b82
4 changed files with 119 additions and 1 deletions

View File

@ -20,6 +20,10 @@ namespace osu.Game.Configuration
Set(OsuConfig.Token, string.Empty);
Set(OsuConfig.PlayMode, PlayMode.Osu);
Set(OsuConfig.VolumeGlobal, 0.8, 0, 1);
Set(OsuConfig.VolumeMusic, 1.0, 0, 1);
Set(OsuConfig.VolumeEffect, 1.0, 0, 1);
}
}
@ -31,6 +35,9 @@ namespace osu.Game.Configuration
Username,
Password,
Token,
PlayMode
PlayMode,
VolumeGlobal,
VolumeEffect,
VolumeMusic
}
}