Halfway done

This commit is contained in:
Senad Uka
2022-11-27 18:57:45 +01:00
parent 8f158db4a9
commit 7d0d4881f5
13 changed files with 178 additions and 98 deletions

28
include/letter.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef LETTER_H
#define LETTER_H
#include <stdio.h>
#include <stdbool.h>
#include <SDL.h>
#include "sdlhelpers.h"
#include "utils.h"
struct Letter
{
SDL_Rect rect;
// Grid background color
SDL_Color backgroundColor;
// Grid border thickness and color
unsigned int border;
SDL_Color borderColor;
int isFromPreviousMove;
int letterIndex;
};
#endif // LETTER_H