-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from NarutoUA/reshade
reshade + first person fix
- Loading branch information
Showing
10 changed files
with
170 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#pragma once | ||
|
||
#include <optional> | ||
#include <string> | ||
|
||
inline constexpr auto GTA5_FSR_CFG_FILENAME = "gta5_fsr.ini"; | ||
|
||
// [GLOBAL] | ||
inline constexpr auto GTA5_FSR_CFG_USE_FSR = "UseFidelityFxSuperResolution"; | ||
inline constexpr auto GTA5_FSR_CFG_AUTO_SHARPNESS = "AutoSharpness"; | ||
inline constexpr auto GTA5_FSR_CFG_SHARPNESS = "Sharpness"; | ||
|
||
// [INPUT] | ||
inline constexpr auto GTA5_FSR_CFG_KEY_TOGGLE_FSR = "KeyToggleFSR"; | ||
inline constexpr auto GTA5_FSR_CFG_KEY_UPDATE_SHARPNESS = "KeyUpdateSharpness"; | ||
|
||
// [DEBUG] | ||
inline constexpr auto GTA5_FSR_CFG_KEY_PRINT_DEBUG = "PrintDebug"; | ||
|
||
// [PROXY] | ||
inline constexpr auto GTA5_FSR_CFG_KEY_ENABLE_PROXY = "EnableProxyLibrary"; | ||
inline constexpr auto GTA5_FSR_CFG_KEY_INIT_PROXY = "InitProxyFunctions"; | ||
inline constexpr auto GTA5_FSR_CFG_KEY_PROXY_LIB = "ProxyLibrary"; | ||
|
||
struct gta5_fsr_cfg_t | ||
{ | ||
// [GLOBAL] | ||
bool UseFidelityFxSuperResolution = true; | ||
bool AutoSharpness = true; | ||
float Sharpness = 0.5f; | ||
|
||
// [INPUT] | ||
std::optional<int> KeyToggleFSR; | ||
std::optional<int> KeyUpdateSharpness; | ||
|
||
// [DEBUG] | ||
// bool PrintDebug = true; // should be global var because of common code | ||
|
||
// [PROXY] | ||
bool EnableProxyLibrary = false; | ||
bool InitProxyFunctions = false; | ||
std::string ProxyLibrary; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.