diff --git a/profiler/src/profiler/TracyAchievements.hpp b/profiler/src/profiler/TracyAchievements.hpp index 3130cf5a..83961c5b 100644 --- a/profiler/src/profiler/TracyAchievements.hpp +++ b/profiler/src/profiler/TracyAchievements.hpp @@ -1,12 +1,46 @@ #ifndef __TRACYACHIEVEMENTS_HPP__ #define __TRACYACHIEVEMENTS_HPP__ +#include #include #include namespace tracy { +namespace data +{ + +struct ctx +{ + ImFont* big; + ImFont* small; + ImFont* fixed; +}; + +struct AchievementItem +{ + const char* id; + const char* name; + void(*description)(const ctx&); + AchievementItem** items; + bool keepOpen; + uint64_t unlockTime; + uint64_t doneTime; + bool hideCompleted; + bool hideNew; +}; + +struct AchievementCategory +{ + const char* id; + const char* name; + AchievementItem** items; + uint64_t unlockTime; +}; + +} + class AchievementsMgr { public: