Beginig the boardDrawer

merge-requests/1/merge
Allan POINT 4 years ago
parent c2c5cb2e7f
commit b09abd6cc6

@ -0,0 +1,10 @@
#ifndef BOARD_DRAWER_INCLUDED
#define BOARD_DRAWER_INCLUDED
#include <SDL2/SDL.h>
#include <stdbool.h>
bool drawBoard(Renderer* renderer, const SDL_Rect* boardRect, SDL_Texture* island, SDL_Texture* bridge);
#endif

@ -0,0 +1,9 @@
#include "view/BoardDrawer.h"
bool drawBoard(Renderer* renderer, const SDL_Rect* boardRect, Board* board, SDL_Texture* island, SDL_Texture* bridge)
{
int h = boardRect->h / 9;
int w = boardRect->w / 9;
}

@ -1,2 +0,0 @@
#include "view/menu.h"

@ -0,0 +1 @@
int testTextureLoader(void);
Loading…
Cancel
Save