From 1bd516fda441eb832a1b8b3eb7ad808e2896d1fc Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 13 Dec 2011 02:37:15 -0500 Subject: Fix a compiler warning and add TODO tags. --- diff --git a/src/cgol.c b/src/cgol.c index 6add490..b779961 100644 --- a/src/cgol.c +++ b/src/cgol.c @@ -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 { -- cgit v0.9.1