diff options
author | Oxore <oxore@protonmail.com> | 2017-12-09 11:45:51 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2017-12-09 11:45:51 +0300 |
commit | 6ee4bf59b927c31cf9ba7b340d1b03d598b2a527 (patch) | |
tree | 90ff3da9d1d9041385642e97cdc2218e8265e624 /include | |
parent | 0f23a894e51fe11cecb6fd762a6360224717912c (diff) |
Level up condition removed lines count
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 1 | ||||
-rw-r--r-- | include/functions.h | 2 | ||||
-rw-r--r-- | include/tet_conf.h | 2 |
3 files changed, 3 insertions, 2 deletions
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 /* |