Skip to content

Commit

Permalink
v5.5 - First Image to Lego - slight camera change to smoother
Browse files Browse the repository at this point in the history
  • Loading branch information
farmerbriantee committed Jan 31, 2022
1 parent 70d6440 commit 5260074
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions SourceCode/AgIO/Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.0")]
[assembly: AssemblyFileVersion("5.4.0")]
[assembly: AssemblyVersion("5.5.0")]
[assembly: AssemblyFileVersion("5.5.0")]
[assembly: NeutralResourcesLanguage("en-CA")]
2 changes: 1 addition & 1 deletion SourceCode/GPS/Classes/CCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public CCamera()
zoomValue = Properties.Settings.Default.setDisplay_camZoom;
camPosZ = 0.0;
camFollowing = true;
camSmoothFactor = ((double)(Properties.Settings.Default.setDisplay_camSmooth) * 0.003) + 0.2;
camSmoothFactor = ((double)(Properties.Settings.Default.setDisplay_camSmooth) * 0.004) + 0.2;
}

public void SetWorldCam(double _fixPosX, double _fixPosY, double _fixHeading)
Expand Down
38 changes: 19 additions & 19 deletions SourceCode/GPS/Forms/FormGPS.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion SourceCode/GPS/Forms/Settings/FormColor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private void bntOK_Click(object sender, EventArgs e)
mf.vehicleOpacityByte = (byte)(255 * (hsbarOpacity.Value * 0.01));
Properties.Settings.Default.setDisplay_camSmooth = hsbarSmooth.Value;

mf.camera.camSmoothFactor = ((double)(hsbarSmooth.Value) * 0.003) + 0.2;
mf.camera.camSmoothFactor = ((double)(hsbarSmooth.Value) * 0.004) + 0.15;

mf.isVehicleImage = cboxIsImage.Checked;
Properties.Settings.Default.setDisplay_isVehicleImage = cboxIsImage.Checked;
Expand Down
4 changes: 2 additions & 2 deletions SourceCode/GPS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.0")]
[assembly: AssemblyFileVersion("5.4.0")]
[assembly: AssemblyVersion("5.5.0")]
[assembly: AssemblyFileVersion("5.5.0")]
Binary file modified SourceCode/GPS/btnImages/First.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed SourceCode/GPS/btnImages/FirstLego.png
Binary file not shown.

0 comments on commit 5260074

Please sign in to comment.