diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-07-31 04:36:03 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-07-31 04:36:03 -0500 |
| commit | 90d9c0edf7a92b270aadc384e9e366c9a4e6aa79 (patch) | |
| tree | 44877241a685106337dd9a67ede5253ca01d2ca6 /src | |
| parent | 54d07a5ac4d7f08197ce4ce622e99dcb047e6e30 (diff) | |
4-1-maze minor text changes
Diffstat (limited to 'src')
| -rw-r--r-- | src/4-1-maze.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/4-1-maze.c b/src/4-1-maze.c index c48c31e..10b3963 100644 --- a/src/4-1-maze.c +++ b/src/4-1-maze.c @@ -15,7 +15,7 @@ #define grid_cols 10 #define grid_rows grid_cols -#define obj_n grid_cols* grid_rows +#define obj_n grid_cols * grid_rows #define frame_delay 10 @@ -77,6 +77,7 @@ CELL* pop_cell(CELL* arr[], int count){ return NULL; } +// TODO: refactor this. this is dumb. CELL* cell_checkNeighbors(CELL* cell, STUFFS* stuff){ CELL* neighbors[4]; for (int i=0; i<4; i++) { neighbors[i] = NULL; } |
