Skip to content

Commit

Permalink
feat(rdr1): add links
Browse files Browse the repository at this point in the history
  • Loading branch information
mqhaji authored and clshortfuse committed Dec 25, 2024
1 parent a2b69d1 commit eb8c5fc
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/games/rdr1/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,36 @@ renodx::utils::settings::Settings settings = {
.is_enabled = []() { return shader_injection.toneMapType != 0; },
.parse = [](float value) { return value * 0.01f; },
},
new renodx::utils::settings::Setting{
.value_type = renodx::utils::settings::SettingValueType::BUTTON,
.label = "Discord",
.section = "Links",
.group = "button-line-1",
.tint = 0x5865F2,
.on_change = []() {
ShellExecute(0, "open", (std::string("https://discord.gg/") + "5WZXDpmbpP").c_str(), 0, 0, SW_SHOW);
},
},
new renodx::utils::settings::Setting{
.value_type = renodx::utils::settings::SettingValueType::BUTTON,
.label = "More Mods",
.section = "Links",
.group = "button-line-1",
.tint = 0x2B3137,
.on_change = []() {
ShellExecute(0, "open", (std::string("https://github.com/") + "clshortfuse/renodx/wiki/Mods").c_str(), 0, 0, SW_SHOW);
},
},
new renodx::utils::settings::Setting{
.value_type = renodx::utils::settings::SettingValueType::BUTTON,
.label = "Github",
.section = "Links",
.group = "button-line-1",
.tint = 0x2B3137,
.on_change = []() {
ShellExecute(0, "open", (std::string("https://github.com/") + "clshortfuse/renodx").c_str(), 0, 0, SW_SHOW);
},
},
new renodx::utils::settings::Setting{
.value_type = renodx::utils::settings::SettingValueType::TEXT,
.label = "This build was compiled on " + build_date + " at " + build_time + ".",
Expand Down

0 comments on commit eb8c5fc

Please sign in to comment.