diff --git a/Pontu/entryPoints/main.c b/Pontu/entryPoints/main.c new file mode 100644 index 0000000..0a8260d --- /dev/null +++ b/Pontu/entryPoints/main.c @@ -0,0 +1,13 @@ +#include +#include +#include "engine/GeneralState.h" + +int main(int argc, char const *argv[]) { + GeneralState generalState = GS_MainMenu; + + while(generalState != GS_Quit){ + + } + + return 0; +} diff --git a/Pontu/include/engine/GeneralState.h b/Pontu/include/engine/GeneralState.h index 9bf3d7f..75a107b 100644 --- a/Pontu/include/engine/GeneralState.h +++ b/Pontu/include/engine/GeneralState.h @@ -1,6 +1,6 @@ #ifndef GENERAL_STATE_INCLUDED #define GENERAL_STATE_INCLUDED -typedef enum {GS_MainMenu, GS_GameCreationMenu, GS_Game, GS_EndOfGameMenu} GeneralState; +typedef enum {GS_MainMenu, GS_GameCreationMenu, GS_Game, GS_EndOfGameMenu, GS_Quit} GeneralState; #endif //GENERAL_STATE_INCLUDED