From 18c26edd6bae8ce5bd26e0ab632086725f492871 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 22 Dec 2023 02:06:49 -0700 Subject: Moved the screens to a better place --- src/screens/mainMenu.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/screens/mainMenu.h (limited to 'src/screens/mainMenu.h') diff --git a/src/screens/mainMenu.h b/src/screens/mainMenu.h new file mode 100644 index 0000000..c8bae78 --- /dev/null +++ b/src/screens/mainMenu.h @@ -0,0 +1,18 @@ +#include "gameCommon.h" + +#ifndef MAIN_MENU_H +#define MAIN_MENU_H + +typedef struct MainMenu { + Vector2 logoPosition; + Texture2D * logoTexture; + + Rectangle startButton; + Rectangle howToPlayButton; +} MainMenu; + +void initMainMenu(Game * game); +void updateMainMenu(Game * game); +void resizeMainMenu(Game * game, MainMenu * mainMenu); + +#endif -- cgit v1.2.3