From f846ae69a19fe82f53afd27140a4546206eef204 Mon Sep 17 00:00:00 2001 From: rei-kes <127288356+rei-kes@users.noreply.github.com> Date: Sun, 26 May 2024 21:56:25 -0400 Subject: [PATCH] Update readme --- Amalgam/src/Features/ImGui/Menu/Menu.cpp | 4 ++-- Amalgam/src/Features/Misc/Misc.cpp | 2 +- Amalgam/src/SDK/Vars.h | 4 ++-- README.md | 13 ++++++++++++- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/Amalgam/src/Features/ImGui/Menu/Menu.cpp b/Amalgam/src/Features/ImGui/Menu/Menu.cpp index 96d8559..fe15e13 100644 --- a/Amalgam/src/Features/ImGui/Menu/Menu.cpp +++ b/Amalgam/src/Features/ImGui/Menu/Menu.cpp @@ -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(); diff --git a/Amalgam/src/Features/Misc/Misc.cpp b/Amalgam/src/Features/Misc/Misc.cpp index 064722f..98ca586 100644 --- a/Amalgam/src/Features/Misc/Misc.cpp +++ b/Amalgam/src/Features/Misc/Misc.cpp @@ -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; diff --git a/Amalgam/src/SDK/Vars.h b/Amalgam/src/SDK/Vars.h index 2ab7385..81930af 100644 --- a/Amalgam/src/SDK/Vars.h +++ b/Amalgam/src/SDK/Vars.h @@ -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) diff --git a/README.md b/README.md index 00bfa55..d332c78 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ -# Amalgam \ No newline at end of file +
+ + + +
+ +# 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/) \ No newline at end of file