diff options
author | Oxore <oxore@protonmail.com> | 2017-12-09 11:18:57 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2017-12-09 11:18:57 +0300 |
commit | 0f23a894e51fe11cecb6fd762a6360224717912c (patch) | |
tree | 5b57e64d4bfb773ea3c82e1535eba3174163d881 /include/functions.h | |
parent | 9e7ca39812cf43df65044c2329ec747060a3d372 (diff) |
Extend playfield to 22, change game over condition, shrink fld from 25 to 22
Diffstat (limited to 'include/functions.h')
-rw-r--r-- | include/functions.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/functions.h b/include/functions.h index 4f35bab..0e6e26a 100644 --- a/include/functions.h +++ b/include/functions.h @@ -8,9 +8,11 @@ void tKeyCtrl(); void initFld(); void tTick(); -void resetActiveShape(); +void resetActiveShape(Shape *active); void putShape(); +int outOfFieldCheck(Field *fld, Shape *active); void checkLevelUp(Game *game); +int cellCollisionCheckHere(Field *fld, Shape *active); int cellCollisionCheck(int dir); int wallCollisionCheck(); int cellRotCollisionCheck(); |