1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "gameCommon.h" #ifndef MAIN_MENU_H #define MAIN_MENU_H typedef struct MainMenu { Vector2 logoPosition; Texture2D * logoTexture; Rectangle startButton; } MainMenu; void initMainMenu(Game * game); void updateMainMenu(Game * game); void resizeMainMenu(Game * game); #endif