Skip to content
Snippets Groups Projects
Commit 30e00fdb authored by KosmX's avatar KosmX
Browse files

...

parent 339bd348
No related branches found
No related tags found
No related merge requests found
...@@ -261,6 +261,8 @@ int loop(Matrix *matrix, int tickspeed){ ...@@ -261,6 +261,8 @@ int loop(Matrix *matrix, int tickspeed){
Direction d = DOWN; Direction d = DOWN;
screenData scrDat; screenData scrDat;
snakeChain snake; //TODO init snake, screen data snakeChain snake; //TODO init snake, screen data
scrDat.size.x = 0;
scrDat.size.y = 0;
while(42){ while(42){
tick(matrix, &scrDat, &snake, &d); tick(matrix, &scrDat, &snake, &d);
unisleep(tickspeed); //Special sleep to work both in windows and unix environment unisleep(tickspeed); //Special sleep to work both in windows and unix environment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment