From 0f23a894e51fe11cecb6fd762a6360224717912c Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 9 Dec 2017 11:18:57 +0300 Subject: Extend playfield to 22, change game over condition, shrink fld from 25 to 22 --- include/functions.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/functions.h') 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(); -- cgit v1.2.3