first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include <stdbool.h>
|
||||
#include <ncurses.h>
|
||||
|
||||
typedef struct Grid {
|
||||
unsigned int size;
|
||||
unsigned int width;
|
||||
bool* arr;
|
||||
} Grid;
|
||||
|
||||
void initGrid(Grid* grid, unsigned int width, unsigned int height);
|
||||
|
||||
void clearGrid(Grid* grid);
|
||||
|
||||
void putPixel(Grid* grid, int x, int y);
|
||||
|
||||
void drawGrid(Grid* grid);
|
||||
|
||||
Reference in New Issue
Block a user