Compare commits
2 Commits
b77c5fcd70
...
ebb08a6b37
| Author | SHA1 | Date | |
|---|---|---|---|
| ebb08a6b37 | |||
| 7f6065d87f |
@@ -140,7 +140,7 @@
|
|||||||
<ConformanceMode>true</ConformanceMode>
|
<ConformanceMode>true</ConformanceMode>
|
||||||
<AdditionalIncludeDirectories>$(SolutionDir)external\reshade\include;$(SolutionDir)external\reshade\deps\imgui</AdditionalIncludeDirectories>
|
<AdditionalIncludeDirectories>$(SolutionDir)external\reshade\include;$(SolutionDir)external\reshade\deps\imgui</AdditionalIncludeDirectories>
|
||||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
|
|||||||
@@ -125,7 +125,9 @@ static void LoadFixDLL()
|
|||||||
|
|
||||||
// Apply initial values loaded from settings
|
// Apply initial values loaded from settings
|
||||||
if (SetFOV) SetFOV(worldFOVvalue);
|
if (SetFOV) SetFOV(worldFOVvalue);
|
||||||
|
if (SetCameraDistance) SetCameraDistance(cameraDistancevalue);
|
||||||
if (SetFOVFixEnabled) SetFOVFixEnabled(fov_fix_enabled, true);
|
if (SetFOVFixEnabled) SetFOVFixEnabled(fov_fix_enabled, true);
|
||||||
|
if (SetCameraDistanceFixEnabled) SetCameraDistanceFixEnabled(camera_distance_fix_enabled, true);
|
||||||
if (SetAspectRatioFixEnabled) SetAspectRatioFixEnabled(Aspect_fix_enabled, true);
|
if (SetAspectRatioFixEnabled) SetAspectRatioFixEnabled(Aspect_fix_enabled, true);
|
||||||
if (SetDOFFixEnabled) SetDOFFixEnabled(DOF_fix_enabled, true);
|
if (SetDOFFixEnabled) SetDOFFixEnabled(DOF_fix_enabled, true);
|
||||||
if (SetCAFixEnabled) SetCAFixEnabled(CA_fix_enabled, true);
|
if (SetCAFixEnabled) SetCAFixEnabled(CA_fix_enabled, true);
|
||||||
@@ -207,7 +209,7 @@ static void LoadSettings()
|
|||||||
else if (line.find(WORLD_FOV_SETTING) == 0)
|
else if (line.find(WORLD_FOV_SETTING) == 0)
|
||||||
worldFOVvalue = std::stoi(line.substr(strlen(WORLD_FOV_SETTING)));
|
worldFOVvalue = std::stoi(line.substr(strlen(WORLD_FOV_SETTING)));
|
||||||
else if (line.find(CAMERA_DISTANCE_SETTING) == 0)
|
else if (line.find(CAMERA_DISTANCE_SETTING) == 0)
|
||||||
cameraDistancevalue = std::stoi(line.substr(strlen(CAMERA_DISTANCE_SETTING)));
|
cameraDistancevalue = std::stof(line.substr(strlen(CAMERA_DISTANCE_SETTING)));
|
||||||
}
|
}
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user