Add Discord Rich Presence integration for Windows

This commit is contained in:
Cameron Gutman
2019-06-29 17:40:30 -07:00
parent 82b6b60b31
commit 0a5051f959
15 changed files with 243 additions and 0 deletions

View File

@@ -22,6 +22,12 @@ SystemProperties::SystemProperties()
hasBrowser = false;
#endif
#ifdef HAVE_DISCORD
hasDiscordIntegration = true;
#else
hasDiscordIntegration = false;
#endif
unmappedGamepads = SdlInputHandler::getUnmappedGamepads();
// Populate data that requires talking to SDL. We do it all in one shot