|
|
|
@ -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);
|
|
|
|
|