included settings into main.c
This commit is contained in:
parent
c60688dcf8
commit
e69d2435ad
5
main.c
5
main.c
@ -12,6 +12,7 @@
|
||||
#include "startmenu.h"
|
||||
#include "gamestate.h"
|
||||
#include "highscores.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include "main.h"
|
||||
|
||||
@ -50,6 +51,9 @@ int main(int argc, char * args[]){
|
||||
case Highscores:
|
||||
HIGHSCORES_Draw(renderer);
|
||||
break;
|
||||
case Settings:
|
||||
Settings_Draw(renderer);
|
||||
break;
|
||||
default:
|
||||
printf("Unknow state was updated: %d\n", gameState);
|
||||
break;
|
||||
@ -165,6 +169,7 @@ void INITIALIZE() {
|
||||
scenery = BREAKOUT_CreateDefault();
|
||||
Load_Textures(renderer);
|
||||
HIGHSCORES_Initialize();
|
||||
Settings_Initialize(renderer);
|
||||
printf("Initializing finished!\n");
|
||||
} /* INITIALIZE */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user