mirror of
https://github.com/rei-kes/Amalgam.git
synced 2024-12-22 20:37:24 +08:00
Update readme
This commit is contained in:
parent
2fb8a52e32
commit
f846ae69a1
@ -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();
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
11
README.md
11
README.md
@ -1 +1,12 @@
|
||||
<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/)
|
Loading…
Reference in New Issue
Block a user