diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-03-02 19:47:19 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-03-02 19:47:19 -0500 |
commit | 5b7bf82edb672d5d5dbd8b1de64532aeec695661 (patch) | |
tree | 7de8d174a75f06f0f11ed5f3de4e17e8e7912c2c /database.h | |
parent | 13aab8498a0a2d4494a088f1235a0e80c078bdcf (diff) | |
download | lunatic-5b7bf82edb672d5d5dbd8b1de64532aeec695661.tar.gz lunatic-5b7bf82edb672d5d5dbd8b1de64532aeec695661.tar.bz2 lunatic-5b7bf82edb672d5d5dbd8b1de64532aeec695661.zip |
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.
Diffstat (limited to 'database.h')
-rw-r--r-- | database.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/database.h b/database.h index 9dcb118..50f5b55 100644 --- a/database.h +++ b/database.h | |||
@@ -46,6 +46,8 @@ public: | |||
46 | 46 | ||
47 | achievement getRandomAchievement() const; | 47 | achievement getRandomAchievement() const; |
48 | 48 | ||
49 | bool doesGameHaveImages(int gameId) const; | ||
50 | |||
49 | std::string getRandomImageForGame(int gameId) const; | 51 | std::string getRandomImageForGame(int gameId) const; |
50 | 52 | ||
51 | did getRandomDidForAchievement(int achievementId) const; | 53 | did getRandomDidForAchievement(int achievementId) const; |