parent
ffe322fabd
commit
be2734a793
@ -0,0 +1,13 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "engine/GeneralState.h"
|
||||||
|
|
||||||
|
int main(int argc, char const *argv[]) {
|
||||||
|
GeneralState generalState = GS_MainMenu;
|
||||||
|
|
||||||
|
while(generalState != GS_Quit){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef GENERAL_STATE_INCLUDED
|
#ifndef GENERAL_STATE_INCLUDED
|
||||||
#define 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
|
#endif //GENERAL_STATE_INCLUDED
|
||||||
|
Loading…
Reference in new issue