Add the missing include in GameInterface and the GGameMain

origin/fixingSettings
Jacques THOMAS 3 years ago
parent 2c8c0caafd
commit 332ce97fee

@ -3,6 +3,8 @@
#include <SDL2/SDL_ttf.h>
#include <engine/FontLoader.h>
#include <engine/TextLabel.h>
#include <engine/arrayButton.h>
#include <engine/arrayTextLabel.h>
//void action boutton

@ -3,6 +3,8 @@
#include "engine/GameInputProcessor.h"
#include "engine/InputElement.h"
#include "engine/TextureHandler.h"
#include "engine/arrayButton.h"
#include "engine/arrayTextLabel.h"
#include "model/Game.h"
#include "model/arrayCoord.h"
@ -43,6 +45,8 @@ void gameView(GeneralState* generalState, SDL_Window* window, SDL_Renderer* rend
TextureHandler textureHandler = newTextureHandler(renderer);
inputProcessor.tabButton = createGameInterfaceButtons(renderer, fontHandler);
struct array_TextLabel tabLabel = createGameInterfaceLabels(renderer,fontHandler);
SDL_Rect windowRect = {0,0,0,0};
SDL_GetWindowSize(window, &windowRect.w, &windowRect.h);

Loading…
Cancel
Save