Path: blob/master/RSDKv5/RSDK/User/Dummy/DummyAchievements.hpp
1187 views
#include <vector>1#include <string>23#if RETRO_REV024// This is the "dummy" struct, it serves as the base in the event a suitable API isn't loaded (such as in this decomp)5// This struct should never be removed, other structs such as "SteamAchievements" would be added and "achievements" would be set to that instead6struct DummyAchievements : UserAchievements {7DummyAchievements() {}89#if RETRO_VER_EGS || RETRO_USE_DUMMY_ACHIEVEMENTS10inline bool32 CheckAchievementsEnabled() { return true; }11void SetAchievementNames(String **names, int32 count);12String *GetAchievementString(String *string);13String *GetAchievementName(String *name, uint32 id);14inline bool32 CheckAchievementPopupEnabled() { return true; }15int32 GetNextAchievementID();16void RemoveLastAchievementID();17#endif18void TryUnlockAchievement(AchievementID *id);19};20#endif212223