Implement Discord rich presence (#3711)

This commit is contained in:
Adam Heinermann 2021-12-15 08:14:17 -08:00 committed by GitHub
commit 1484b4d8cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 383 additions and 43 deletions

View file

@ -33,6 +33,7 @@
#include <SimpleIni.h>
#include "diablo.h"
#include "discord/discord.h"
#include "engine/demomode.h"
#include "options.h"
#include "qol/monhealthbar.h"
@ -278,6 +279,7 @@ void OptionLanguageCodeChanged()
void OptionGameModeChanged()
{
gbIsHellfire = *sgOptions.StartUp.gameMode == StartUpGameMode::Hellfire;
discord_manager::UpdateMenu(true);
}
void OptionSharewareChanged()