Skip to content

Commit

Permalink
Merge pull request #7 from PierroD/5-add-cg_fovmin
Browse files Browse the repository at this point in the history
feat/5 : add cg_fovMin to the fps unlocker
  • Loading branch information
PierroD authored Nov 4, 2023
2 parents 42da137 + 1a5091c commit 7bc7c66
Show file tree
Hide file tree
Showing 20 changed files with 264 additions and 159 deletions.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/➕-feature---add-and-suggestions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "\U0001F41B Idea / Add a new Feature"
about: Create a report to help us improve Market
title: "[Idea] / [Feature] keywords or short sentence"
labels: feature or request
assignees: PierroD

---

**Describe the feature**
A clear and concise description of suggested feature.


**Expected behavior**
A clear and concise description of what you expected to happen.


**Additional context**
Add any other context about the problem here.
4 changes: 2 additions & 2 deletions LINDRA - Market/LINDRA - Market/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.4.0")]
[assembly: AssemblyFileVersion("2.2.4.0")]
[assembly: AssemblyVersion("2.3.5.0")]
[assembly: AssemblyFileVersion("2.3.5.0")]
4 changes: 2 additions & 2 deletions LINDRA - Market/LINDRA - Market/Utils/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace LINDRA___Market.Utils
public static class AppSettings
{
public static bool isDarkMode { get; set; } = false;
public static string version { get; set; } = "2.2.4";
public static string latestVersion { get; set; } = "2.2.4";
public static string version { get; set; } = "2.3.5";
public static string latestVersion { get; set; } = "2.3.5";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace LINDRA___Market.form
public class FpsSettings
{
public static int bar_fov { get; set; } = 65;

public static int bar_fovMin { get; set; } = 65;
public static int bar_fovScale { get; set; } = 1000;
public static int bar_fps { get; set; } = 90;
public static int specularmap { get; set; } = 1;
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,28 @@ private void UC_Disable_Load(object sender, EventArgs e)
labelGlow.ForeColor = AppColors.textColor;
labelBullet.ForeColor = AppColors.textColor;
labelCamos.ForeColor = AppColors.textColor;
labelLightmap.ForeColor = AppColors.textColor;
labelSpecularmap.ForeColor = AppColors.textColor;
labelMovie.ForeColor = AppColors.textColor;
comboBoxLightMap.FillColor = AppColors.backgroundColor;
comboBoxLightMap.ForeColor = AppColors.textColor;
comboBoxSpecularMap.FillColor = AppColors.backgroundColor;
comboBoxSpecularMap.ForeColor = AppColors.textColor;
switchMovie.CheckedState.FillColor = AppColors.primaryColor;
}

private void comboBoxLightMap_SelectedIndexChanged(object sender, EventArgs e)
{
FpsSettings.lightmap = comboBoxLightMap.SelectedIndex;
}
private void comboBoxSpecularMap_SelectedIndexChanged(object sender, EventArgs e)
{
FpsSettings.specularmap = comboBoxSpecularMap.SelectedIndex;
}

private void switchMovie_CheckedChanged(object sender, EventArgs e)
{
FpsSettings.sw_movie = switchMovie.Checked;
}

private void switchFog_CheckedChanged(object sender, EventArgs e)
Expand All @@ -50,13 +72,17 @@ private void switchCamos_CheckedChanged(object sender, EventArgs e)
{
FpsSettings.sw_camos = switchCamos.Checked;
}

private void update_timer_Tick(object sender, EventArgs e)
{
if (switchFog.Checked != FpsSettings.sw_fog) switchFog.Checked = FpsSettings.sw_fog;
if (switchGlow.Checked != FpsSettings.sw_glow) switchGlow.Checked = FpsSettings.sw_glow;
if (switchCamos.Checked != FpsSettings.sw_camos) switchCamos.Checked = FpsSettings.sw_camos;
if (switchBullet.Checked != FpsSettings.sw_bullet) switchBullet.Checked = FpsSettings.sw_bullet;

if (comboBoxLightMap.SelectedIndex != FpsSettings.lightmap) comboBoxLightMap.SelectedIndex = FpsSettings.lightmap;
if (comboBoxSpecularMap.SelectedIndex != FpsSettings.specularmap) comboBoxSpecularMap.SelectedIndex = FpsSettings.specularmap;
if (switchMovie.Checked != FpsSettings.sw_movie) switchMovie.Checked = FpsSettings.sw_movie;
}

}
}
Loading

0 comments on commit 7bc7c66

Please sign in to comment.