From 6ee4bf59b927c31cf9ba7b340d1b03d598b2a527 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 9 Dec 2017 11:45:51 +0300 Subject: Level up condition removed lines count --- include/common.h | 1 + include/functions.h | 2 +- include/tet_conf.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 49c15d3..9e1a847 100644 --- a/include/common.h +++ b/include/common.h @@ -50,6 +50,7 @@ typedef struct Game { int isStarted; int scoreCurrent; int level; + int lines; } Game; /* ======== text.[c|h] types =========== */ diff --git a/include/functions.h b/include/functions.h index 0e6e26a..b307a31 100644 --- a/include/functions.h +++ b/include/functions.h @@ -20,7 +20,7 @@ int wallRotCollisionCheck(); void rotateLeft(); void rotateRight(); void rotateShape(); -int linesRmScore(); +int rmLines(); void valueAfterTextDisplay(int value, List *texts, char *type); void colorizeFld(); void colorizeActive(); diff --git a/include/tet_conf.h b/include/tet_conf.h index 4bf0236..55a4011 100644 --- a/include/tet_conf.h +++ b/include/tet_conf.h @@ -16,7 +16,7 @@ #define basicLatency 500000 #define PUT_LATENCY 300000 #define RM_LINE_SCORE 100 -#define LEVELUP_SCORE 100 +#define LEVELUP_LINES 10 /* -- cgit v1.2.3