mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-25 01:19:13 +01:00
The old starter (src/uSettings.pas) showed a mousescale as one of four levels - low below 1.3, high above 1.9, very high above 2.7, standard between - and wrote 1.0, 1.5, 2.3 or 3.2 for them, with 0.5 after it, the signs being the inversions. The slider had three whole steps instead, so a 3.2 was the top only by rounding and anything above 3 was cut to 3 on the move to the standard mode.
32 lines
1.4 KiB
C#
32 lines
1.4 KiB
C#
namespace StarterNG.Domain.Settings;
|
|
|
|
/// <summary>
|
|
/// What the sliders offer, in either mode: the old starter's ranges (MaSzyna-EU07/Starter,
|
|
/// src/uMain.dfm), the tops of which <see cref="GraphicsRules"/> holds to. A value the file
|
|
/// has below these is shown as it is, so opening and saving the settings never moves it.
|
|
/// </summary>
|
|
public static class SliderRanges
|
|
{
|
|
/// <summary>maxtexturesize: its list began at 512.</summary>
|
|
public const int MinTextureSize = 512;
|
|
|
|
/// <summary>The map size of shadowtune: its list began at 1024.</summary>
|
|
public const int MinShadowMap = 1024;
|
|
|
|
/// <summary>dynamiclights: 1 to 7.</summary>
|
|
public const int MinDynamicLights = 1;
|
|
|
|
/// <summary>gfx.reflections.framerate, in updates a second.</summary>
|
|
public static readonly double[] ReflectionUpdates = { 1, 3, 10, 25, 60 };
|
|
|
|
/// <summary>gfx.drawrange.factor.max: normal, high and very high.</summary>
|
|
public static readonly double[] DrawRangeFactors = { 1, 2, 3 };
|
|
|
|
/// <summary>gfx.shadows.cab.range, in metres: off, then 10 to 100.</summary>
|
|
public static readonly double[] CabShadowRanges = { 0, 10, 20, 30, 50, 100 };
|
|
|
|
/// <summary>fpslimit: none, or up to 240, where the fastest usual monitors run.</summary>
|
|
public static readonly double[] FrameRateLimits =
|
|
{ 0, 20, 25, 30, 40, 45, 50, 60, 72, 75, 90, 100, 120, 144, 165, 180, 200, 240 };
|
|
}
|