Update readme

This commit is contained in:
rei-kes 2024-05-26 21:56:25 -04:00
parent 2fb8a52e32
commit f846ae69a1
4 changed files with 17 additions and 6 deletions

View File

@ -941,10 +941,10 @@ void CMenu::MenuMisc()
if (Section("Steam RPC"))
{
FToggle("Steam RPC", Vars::Misc::Steam::EnableRPC);
FToggle("Override in menu", Vars::Misc::Steam::OverrideMenu, FToggle_Middle);
FDropdown("Match group", Vars::Misc::Steam::MatchGroup, { "Special Event", "MvM Mann Up", "Competitive", "Casual", "MvM Boot Camp" }, {}, FDropdown_Left);
FSDropdown("Map text", Vars::Misc::Steam::MapText, { "Fedoraware", "Figoraware", "Meowhook.club", "Rathook.cc", "Nitro.tf" }, FSDropdown_Custom | FDropdown_Right);
FSDropdown("Map text", Vars::Misc::Steam::MapText, {}, FSDropdown_Custom | FDropdown_Right);
FSlider("Group size", Vars::Misc::Steam::GroupSize, 0, 6);
FToggle("Override in menu", Vars::Misc::Steam::OverrideMenu);
} EndSection();
EndTable();

View File

@ -641,7 +641,7 @@ bool CMisc::SteamRPC()
default: I::SteamFriends->SetRichPresence("matchgrouploc", "SpecialEvent"); break;
}
}
I::SteamFriends->SetRichPresence("currentmap", Vars::Misc::Steam::MapText.Value.empty() ? "Fedoraware" : Vars::Misc::Steam::MapText.Value.c_str());
I::SteamFriends->SetRichPresence("currentmap", Vars::Misc::Steam::MapText.Value.c_str());
I::SteamFriends->SetRichPresence("steam_player_group_size", std::to_string(Vars::Misc::Steam::GroupSize.Value).c_str());
return true;

View File

@ -643,9 +643,9 @@ namespace Vars
SUBNAMESPACE_BEGIN(Steam)
CVar(EnableRPC, false)
CVar(OverrideMenu, false)
CVar(MatchGroup, 0) // 0 - Special Event; 1 - MvM Mann Up; 2 - Competitive; 3 - Casual; 4 - MvM Boot Camp;
CVar(OverrideMenu, false) // Override matchgroup when in main menu
CVar(MapText, std::string("Fedoraware"))
CVar(MapText, std::string("Amalgam"))
CVar(GroupSize, 1337)
SUBNAMESPACE_END(Steam)
NAMESPACE_END(Misc)

View File

@ -1 +1,12 @@
# Amalgam
<p align="center">
<a href="https://nightly.link/rei-kes/Amalgam/workflows/msbuild/master/Amalgam.zip">
<img src=".github/assets/download.png" alt="Download Button" width="auto" height="auto" align="center">
</a>
</p>
# Amalgam
[![GitHub Repo stars](https://img.shields.io/github/stars/rei-kes/Amalgam)](/../../stargazers)
[![Discord](https://img.shields.io/discord/1227898008373297223?logo=Discord&label=discord)](https://discord.gg/RbP9DfkUhe)
[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/rei-kes/Amalgam/msbuild.yml?branch=master)](/../../actions)
[![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/rei-kes/Amalgam)](/../../commits/)