mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Display Active Challenges On Screen
The active challenges, aka the primed achievements, are displayed on screen as a series of icons in the bottom right corner of the screen via OnScreenUI.
This commit is contained in:
@ -61,6 +61,9 @@ public:
|
||||
|
||||
private:
|
||||
void DrawDebugText();
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
void DrawChallenges();
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
// ImGui resources.
|
||||
std::unique_ptr<NativeVertexFormat> m_imgui_vertex_format;
|
||||
@ -74,6 +77,10 @@ private:
|
||||
u32 m_backbuffer_height = 1;
|
||||
float m_backbuffer_scale = 1.0;
|
||||
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
std::map<std::string, std::unique_ptr<AbstractTexture>, std::less<>> m_challenge_texture_map;
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
bool m_ready = false;
|
||||
};
|
||||
} // namespace VideoCommon
|
||||
|
Reference in New Issue
Block a user