summary refs log tree commit diff stats
path: root/mazeoflife.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2009-06-22 17:52:37 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2009-06-22 17:52:37 -0400
commitf2ab9f3f0d5fe1ad19881b7dba79b31e3673748a (patch)
treeeab6ed709b3dfa5876c3f52c15f3cd8471a4d833 /mazeoflife.h
parent71a493de351277cc61a36aee47501f64f76cca87 (diff)
downloadmazeoflife-f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a.tar.gz
mazeoflife-f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a.tar.bz2
mazeoflife-f2ab9f3f0d5fe1ad19881b7dba79b31e3673748a.zip
Added tick delay
Diffstat (limited to 'mazeoflife.h')
-rw-r--r--mazeoflife.h2
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
4const int WIDTH = 30; 4const int WIDTH = 30;
5const int HEIGHT = 30; 5const int HEIGHT = 30;
6const int TICKDELAY = 10;
6 7
7void wrap(int* x, int* y); 8void wrap(int* x, int* y);
8Uint32 getColor(int r, int g, int b); 9Uint32 getColor(int r, int g, int b);
9void changeState(State* nState); 10void changeState(State* nState);
11Uint32 tick(Uint32 interval, void *param);
10 12
11#endif 13#endif