Discord Rich Presence!

This commit is contained in:
CocoSimone
2022-12-06 21:41:40 +01:00
parent 1d5aa43f9c
commit 3b3015e846
245 changed files with 50035 additions and 11 deletions

View File

@@ -1,6 +1,12 @@
#include <App.hpp>
#include <nfd.hpp>
App::App() : window(core) {
DiscordEventHandlers handlers{};
Discord_Initialize("1049669178124148806", &handlers, 1, nullptr);
util::UpdateRPC(util::Idling);
}
void App::Run() {
const u8* state = SDL_GetKeyboardState(nullptr);
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
@@ -50,4 +56,4 @@ void App::Run() {
}
}
}
}
}