diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cgol.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -84,6 +84,7 @@ main(int argc, char **argv) init_curses(); init_game(); + /* TODO: Write a better main event loop with a good controller and timer. */ timeout(1000); for (;;) { c = getch(); @@ -178,7 +179,6 @@ void tick() { int i, j, n; - bool *grid_tmp; for (i = 0; i < height; ++i) { for (j = 0; j < width; ++j) { @@ -233,6 +233,7 @@ set_cell(int i, int j, bool s) void print_cell(int i, int j, bool next) { + /* TODO: Center this. */ if (next) { mvprintw(1 + i, 1 + j * 2, "%c", grid_next[i * width + j] ? 'o' : ' '); } else { |