summaryrefslogtreecommitdiff
path: root/Config.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Config.cs')
-rwxr-xr-xConfig.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Config.cs b/Config.cs
index cea23cb..43f2cca 100755
--- a/Config.cs
+++ b/Config.cs
@@ -8,7 +8,7 @@ namespace MHWNewCamera
internal class Config : IConfig
{
public String Name => "MHWNewCamera";
- public String Version => "4.0";
+ public String Version => "4.1";
public struct Settings
{
@@ -16,8 +16,8 @@ namespace MHWNewCamera
public const float DEFAULT_SPEED_MODIFIER = 0.40f;
public const float DEFAULT_SENSITIVITY = 0.0425f;
public const float DEFAULT_ZOOM_SPEED = 0.02f;
- public const double DEFAULT_PITCH_LIMIT = -1.0;
- public const double MAX_PITCH_LIMIT = 89.95;
+ public const float DEFAULT_PITCH_LIMIT = -1.0f;
+ public const float MAX_PITCH_LIMIT = 89.95f;
public const int DEFAULT_DEADZONE = 4750;
public const float DEFAULT_ALT_NEAR_CLIP = 0.3f;
@@ -36,7 +36,7 @@ namespace MHWNewCamera
public float SpeedModifier { get; set; }
public float Sensitivity { get; set; }
public float ZoomSpeed { get; set; }
- public double PitchLimit { get; set; }
+ public float PitchLimit { get; set; }
public int StickDeadzone { get; set; }
public float AlternateNearClip { get; set; }
@@ -63,11 +63,11 @@ namespace MHWNewCamera
public struct Preset
{
- public double FieldOfView { get; set; }
+ public float FieldOfView { get; set; }
public float Forward { get; set; }
public float Right { get; set; }
public float Up { get; set; }
- public double Roll { get; set; }
+ public float Roll { get; set; }
public bool DisableFading { get; set; }
}
@@ -122,7 +122,7 @@ namespace MHWNewCamera
public float TargetX { get; set; }
public float TargetY { get; set; }
public float TargetZ { get; set; }
- public double Roll { get; set; }
+ public float Roll { get; set; }
}
private static Dictionary<string, Button> buttonMap = new Dictionary<string, Button>