Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
menu.h File Reference
#include "raylib.h"
#include "game.h"
+ Include dependency graph for menu.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  menuButton
 
struct  Circle
 Define Circle. More...
 
struct  TransitionFrame
 

Macros

#define transitiopnColor   CLITERAL(Color){ 5, 10, 23, 255 }
 

Functions

void drawMenuButtons (Circle menuHitboxes[3], menuButton menuButtons[3])
 Draw menu buttons. More...
 
void hangleMenuInput (Circle menuHitboxes[3], TransitionFrame *transitionPtr, bool *quitButtonPressedPtr, bool *drawMenuTransitionPtr)
 Handle menu input. More...
 
void drawTransition (TransitionFrame *transitionPtr, bool *drawMenuTransitionPtr)
 Draw transition animation. More...
 

Macro Definition Documentation

◆ transitiopnColor

#define transitiopnColor   CLITERAL(Color){ 5, 10, 23, 255 }

Definition at line 5 of file menu.h.

Function Documentation

◆ drawMenuButtons()

void drawMenuButtons ( Circle  menuHitboxes[3],
menuButton  menuButtons[3] 
)

Draw menu buttons.

Definition at line 8 of file menu.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawTransition()

void drawTransition ( TransitionFrame transitionPtr,
bool drawMenuTransitionPtr 
)

Draw transition animation.

Definition at line 79 of file menu.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hangleMenuInput()

void hangleMenuInput ( Circle  menuHitboxes[3],
TransitionFrame transitionPtr,
bool quitButtonPressedPtr,
bool drawMenuTransitionPtr 
)

Handle menu input.

Definition at line 51 of file menu.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: