1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Remove unneeded headerfiles, .vscode folder, and move comment

This commit is contained in:
Buggem's Fedora PC 2024-12-13 08:09:41 +11:00
parent 76d57382ac
commit 76d43683be
2 changed files with 3 additions and 8 deletions

View file

@ -1 +0,0 @@
{}

View file

@ -4,13 +4,11 @@
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h>
#include <SDL.h> #include <SDL.h>
#ifdef _WIN32 #ifdef _WIN32
#include <Windows.h> #include <Windows.h>
#else #else
#include <unistd.h> #include <unistd.h>
#include <string.h>
#endif #endif
#include "Vlogging.h" #include "Vlogging.h"
@ -106,10 +104,8 @@ int32_t DISCORD_init(void)
} }
strncpy(activity.state, "On the Main Menu", 128); SDL_strlcpy(activity.assets.large_image, "vvvvvv", sizeof(activity.assets.large_image));
//strncpy(activity.details, "I'm Sorry", 128); SDL_strlcpy(activity.assets.large_text, "Outside Dimension VVVVVV", sizeof(activity.assets.large_text));
strncpy(activity.assets.large_image, "vvvvvv", 128);
strncpy(activity.assets.large_text, "Dimension VVVVVV", 128);
app.activityMan = app.core->get_activity_manager(app.core); app.activityMan = app.core->get_activity_manager(app.core);
app.activityMan->update_activity(app.activityMan, &activity, NULL, NULL); app.activityMan->update_activity(app.activityMan, &activity, NULL, NULL);
@ -154,7 +150,7 @@ void DISCORD_update(const char *level, const char *name)
} }
void DISCORD_unlockAchievement(const char *name) void DISCORD_unlockAchievement(const char *name)
{ {
// No "achivements" in Discord // No "achievements" in Discord
} }