From 9ea17341e3e38860439afb887594f6eddf04cd82 Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 27 Apr 2016 12:53:18 +0100 Subject: [PATCH] Animate trophies on Challenge and Galactic Map sections. --- src/challenges/challengeHome.c | 2 ++ src/challenges/challengeHome.h | 1 + src/galaxy/galacticMap.c | 2 ++ src/galaxy/galacticMap.h | 1 + 4 files changed, 6 insertions(+) diff --git a/src/challenges/challengeHome.c b/src/challenges/challengeHome.c index d0620b7..e690e34 100644 --- a/src/challenges/challengeHome.c +++ b/src/challenges/challengeHome.c @@ -166,6 +166,8 @@ static void logic(void) doTrophyAlerts(); doWidgets(); + + doTrophies(); } static void doChallenges(void) diff --git a/src/challenges/challengeHome.h b/src/challenges/challengeHome.h index 573e975..fae323b 100644 --- a/src/challenges/challengeHome.h +++ b/src/challenges/challengeHome.h @@ -67,6 +67,7 @@ extern void awardStatsTrophies(void); extern void awardChallengeTrophies(void); extern void initTrophiesDisplay(void); extern void drawTrophies(void); +extern void doTrophies(void); extern App app; extern Battle battle; diff --git a/src/galaxy/galacticMap.c b/src/galaxy/galacticMap.c index bb39578..183135f 100644 --- a/src/galaxy/galacticMap.c +++ b/src/galaxy/galacticMap.c @@ -180,6 +180,8 @@ static void logic(void) doWidgets(); doTrophyAlerts(); + + doTrophies(); } static void doStarSystems(void) diff --git a/src/galaxy/galacticMap.h b/src/galaxy/galacticMap.h index a192781..45f9b6a 100644 --- a/src/galaxy/galacticMap.h +++ b/src/galaxy/galacticMap.h @@ -67,6 +67,7 @@ extern void awardCampaignTrophies(void); extern void awardStatsTrophies(void); extern void initTrophiesDisplay(void); extern void drawTrophies(void); +extern void doTrophies(void); extern App app; extern Colors colors;