2022-06-12 17:49:42 +00:00
|
|
|
/*
|
|
|
|
- Avoid ~ a game by Canneddonuts
|
|
|
|
- Filename ~ Screens.h
|
|
|
|
- Author ~ Return0ne
|
|
|
|
- 2022
|
|
|
|
- *no license*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SCREENS_HEADER
|
|
|
|
#define SCREENS_HEADER
|
|
|
|
|
|
|
|
typedef enum GameScreen { TITLE = 0, GAMEPLAY, GAMEOVER, CREDITS } GameScreen;
|
|
|
|
|
|
|
|
extern GameScreen currentScreen;
|
|
|
|
|
|
|
|
void gameReset(void);
|
|
|
|
|
2022-06-17 02:17:26 +00:00
|
|
|
void InitTitleScreen(void);
|
2022-06-12 17:49:42 +00:00
|
|
|
void UpdateTitleScreen(void);
|
|
|
|
void DrawTitleScreen(void);
|
2022-06-17 02:17:26 +00:00
|
|
|
void UnloadTitleScreen(void);
|
2022-06-12 17:49:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
void InitGameplayScreen(void);
|
|
|
|
void UpdateGameplayScreen(void);
|
|
|
|
void DrawGameplayScreen(void);
|
|
|
|
void UnloadGameplayScreen(void);
|
|
|
|
void ResetGameplayScreen(void);
|
|
|
|
|
|
|
|
void UpdateCreditsScreen(void);
|
|
|
|
void DrawCreditsScreen(void);
|
|
|
|
|
|
|
|
void InitGameoverScreen(void);
|
|
|
|
void UpdateGameoverScreen(void);
|
|
|
|
void DrawGameoverScreen(void);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|