From 5b7bf82edb672d5d5dbd8b1de64532aeec695661 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 2 Mar 2018 19:47:19 -0500 Subject: Handled games with no images For games where no images could be downloaded from Steam, which happens if a game has been removed from the store, the bot will now use a default background. This image is copyright Nintendo. --- database.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'database.h') diff --git a/database.h b/database.h index 9dcb118..50f5b55 100644 --- a/database.h +++ b/database.h @@ -46,6 +46,8 @@ public: achievement getRandomAchievement() const; + bool doesGameHaveImages(int gameId) const; + std::string getRandomImageForGame(int gameId) const; did getRandomDidForAchievement(int achievementId) const; -- cgit 1.4.1