diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-22 17:52:37 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2009-06-22 17:52:37 -0400 |
commit | f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a (patch) | |
tree | eab6ed709b3dfa5876c3f52c15f3cd8471a4d833 /mazeoflife.h | |
parent | 71a493de351277cc61a36aee47501f64f76cca87 (diff) | |
download | mazeoflife-f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a.tar.gz mazeoflife-f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a.tar.bz2 mazeoflife-f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a.zip |
Added tick delay
Diffstat (limited to 'mazeoflife.h')
-rw-r--r-- | mazeoflife.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mazeoflife.h b/mazeoflife.h index d81c3ea..1f43214 100644 --- a/mazeoflife.h +++ b/mazeoflife.h | |||
@@ -3,9 +3,11 @@ | |||
3 | 3 | ||
4 | const int WIDTH = 30; | 4 | const int WIDTH = 30; |
5 | const int HEIGHT = 30; | 5 | const int HEIGHT = 30; |
6 | const int TICKDELAY = 10; | ||
6 | 7 | ||
7 | void wrap(int* x, int* y); | 8 | void wrap(int* x, int* y); |
8 | Uint32 getColor(int r, int g, int b); | 9 | Uint32 getColor(int r, int g, int b); |
9 | void changeState(State* nState); | 10 | void changeState(State* nState); |
11 | Uint32 tick(Uint32 interval, void *param); | ||
10 | 12 | ||
11 | #endif | 13 | #endif |