mirror of
https://github.com/Phantop/LADXHD.git
synced 2024-11-01 04:14:22 +00:00
33 lines
910 B
C#
33 lines
910 B
C#
|
|
|||
|
namespace ProjectZ.InGame.Things
|
|||
|
{
|
|||
|
class GameSettings
|
|||
|
{
|
|||
|
public static int UiScale = 0;
|
|||
|
public static int GameScale = 11; // autoscale
|
|||
|
|
|||
|
public static bool EnableShadows = true;
|
|||
|
public static bool LockFps = true;
|
|||
|
public static bool Autosave = true;
|
|||
|
public static bool SmoothCamera = true;
|
|||
|
|
|||
|
public static bool BorderlessWindowed = false;
|
|||
|
public static bool IsFullscreen = false;
|
|||
|
|
|||
|
private static int _musicVolume = 100;
|
|||
|
private static int _effectVolume = 100;
|
|||
|
|
|||
|
public static int MusicVolume
|
|||
|
{
|
|||
|
get => _musicVolume;
|
|||
|
set { _musicVolume = value; Game1.GbsPlayer.SetVolume(value / 100.0f); }
|
|||
|
}
|
|||
|
|
|||
|
public static int EffectVolume
|
|||
|
{
|
|||
|
get => _effectVolume;
|
|||
|
set { _effectVolume = value; }
|
|||
|
}
|
|||
|
}
|
|||
|
}
|