diff --git a/src/games/rdr1/addon.cpp b/src/games/rdr1/addon.cpp index e59ff0ff..01a6a076 100644 --- a/src/games/rdr1/addon.cpp +++ b/src/games/rdr1/addon.cpp @@ -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 + ".",