The user can now click to create a cell anywhere. Terrible main loop for drawing the cells but good enough for quick and dirty testing.

This commit is contained in:
2022-06-06 22:57:22 -05:00
parent 813b0407a4
commit 03883a04de
3 changed files with 62 additions and 13 deletions
+4 -1
View File
@@ -19,8 +19,11 @@ typedef struct cell {
struct cell* BottomRight;
State Status;
SDL_Rect Hitbox;
int Visited;
int x;
int y;
} Cell;
Cell* CreateCell(SDL_Rect);
Cell* CreateCell(int x, int y);
#endif