Conway's game of life - derived from another project, turned into a c++ class, and scaled to support up to a 480x272 display, or a lower resolution color display.
Revision 3:860ae49fedb7, committed 2014-04-23
- Comitter:
- WiredHome
- Date:
- Wed Apr 23 22:54:34 2014 +0000
- Parent:
- 2:c11005ab38db
- Commit message:
- Remove some of the debug stuff.
Changed in this revision
LifeRules.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c11005ab38db -r 860ae49fedb7 LifeRules.cpp --- a/LifeRules.cpp Wed Apr 23 11:42:10 2014 +0000 +++ b/LifeRules.cpp Wed Apr 23 22:54:34 2014 +0000 @@ -43,7 +43,7 @@ uint8_t mask = b << (bitIndex); pLifeMap[byteIndex] = curCell | mask; } else { - ERR(" Out of Bounds value (%d, %d)\r\n", x, y); + error(" Out of bounds value (%d, %d)\r\n", x, y); } } @@ -60,7 +60,7 @@ b = (ValueOfLife)(b & 1); return b; } else { - ERR(" Out of Bounds value (%d, %d)\r\n", x, y); + error(" Out of Bounds value (%d, %d)\r\n", x, y); return dead; } }