![]() |
Wise&mystical
1.0
Project about Europe
|
Go to the source code of this file.
Classes | |
struct | ActiveCityAnimationFrame |
Define Active city animation frame struct. More... | |
struct | PopUpAnimationFrame |
Define Pop up animation frame. More... | |
Macros | |
#define | frame1 CLITERAL(Color){ 5, 10, 23, 120 } |
Define active city animation colors. More... | |
#define | frame2 CLITERAL(Color){ 5, 10, 23, 115 } |
#define | frame3 CLITERAL(Color){ 5, 10, 23, 110 } |
#define | frame4 CLITERAL(Color){ 5, 10, 23, 105 } |
#define | frame5 CLITERAL(Color){ 5, 10, 23, 100 } |
#define | frame6 CLITERAL(Color){ 5, 10, 23, 95 } |
#define | frame7 CLITERAL(Color){ 5, 10, 23, 90 } |
#define | frame8 CLITERAL(Color){ 5, 10, 23, 85 } |
#define | frame9 CLITERAL(Color){ 5, 10, 23, 80 } |
#define | frame10 CLITERAL(Color){ 5, 10, 23, 75 } |
Functions | |
void | drawActiveCityAnimation (ActiveCityAnimationFrame *activeCityAnimationParts, City activeCity) |
Draw active city animation on said location on the map. More... | |
void | drawPopUpAnimationBottom (PopUpAnimationFrame *componentPtr, float endY, bool showComponent) |
Draw pop-up animation bottom across different states. More... | |
void | drawPopUpAnimationSide (PopUpAnimationFrame *quizPtr, Texture2D texture, bool showQuiz) |
Draw pop-up animation side across different states. More... | |
void | drawPopUpMenuHover (Rectangle confirmHitbox, Rectangle denyHitbox, Texture2D confirmHover, Texture2D denyHover, PopUpAnimationFrame *popUpAnimationFramePtr) |
Draw popUp buttons hover effect . More... | |
void | manageWarningAnimation (Vector2 mousePoint, City cities[40], City activeCity, PopUpAnimationFrame *warningAnimationFramePtr, PopUpAnimationFrame popUpMenuFrame, Timer *warningTimerPtr, float *warningScreentimePtr, bool *wariningVisiblePtr, bool showPopUpMenu) |
Manage warning animation. More... | |
void | drawQuizOptionsHover (Option options[4], PopUpAnimationFrame quizAnimationFrame, int index) |
Draw quiz options hover effect. More... | |
void | drawOptionIndicators (City activeCity, Option options[4], PopUpAnimationFrame quizAnimationFrame, bool optionSelected, int index) |
Draw option indicators. More... | |
Define active city animation colors.
Definition at line 10 of file animations.h.
Definition at line 19 of file animations.h.
Definition at line 11 of file animations.h.
Definition at line 12 of file animations.h.
Definition at line 13 of file animations.h.
Definition at line 14 of file animations.h.
Definition at line 15 of file animations.h.
Definition at line 16 of file animations.h.
Definition at line 17 of file animations.h.
Definition at line 18 of file animations.h.
void drawActiveCityAnimation | ( | ActiveCityAnimationFrame * | activeCityAnimationParts, |
City | activeCity | ||
) |
Draw active city animation on said location on the map.
Draw active city animation on said location on the map.
Definition at line 12 of file animations.cpp.
void drawOptionIndicators | ( | City | activeCity, |
Option | options[4], | ||
PopUpAnimationFrame | quizAnimationFrame, | ||
bool | optionSelected, | ||
int | index | ||
) |
Draw option indicators.
Draw option indicators.
Definition at line 355 of file animations.cpp.
void drawPopUpAnimationBottom | ( | PopUpAnimationFrame * | componentPtr, |
float | endY, | ||
bool | showComponent | ||
) |
Draw pop-up animation bottom across different states.
Draw pop-up animation bottom across different states.
Definition at line 97 of file animations.cpp.
void drawPopUpAnimationSide | ( | PopUpAnimationFrame * | quizPtr, |
Texture2D | texture, | ||
bool | showQuiz | ||
) |
Draw pop-up animation side across different states.
Draw pop-up animation side across different states.
Definition at line 156 of file animations.cpp.
void drawPopUpMenuHover | ( | Rectangle | confirmHitbox, |
Rectangle | denyHitbox, | ||
Texture2D | confirmHover, | ||
Texture2D | denyHover, | ||
PopUpAnimationFrame * | popUpAnimationFramePtr | ||
) |
Draw popUp buttons hover effect .
Draw popUp buttons hover effect .
Definition at line 214 of file animations.cpp.
void drawQuizOptionsHover | ( | Option | options[4], |
PopUpAnimationFrame | quizAnimationFrame, | ||
int | index | ||
) |
Draw quiz options hover effect.
Definition at line 335 of file animations.cpp.
void manageWarningAnimation | ( | Vector2 | mousePoint, |
City | cities[40], | ||
City | activeCity, | ||
PopUpAnimationFrame * | warningAnimationFramePtr, | ||
PopUpAnimationFrame | popUpMenuFrame, | ||
Timer * | warningTimerPtr, | ||
float * | warningScreentimePtr, | ||
bool * | wariningVisiblePtr, | ||
bool | showPopUpMenu | ||
) |
Manage warning animation.
Definition at line 237 of file animations.cpp.