summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2017-12-09 11:45:51 +0300
committerOxore <oxore@protonmail.com>2017-12-09 11:45:51 +0300
commit6ee4bf59b927c31cf9ba7b340d1b03d598b2a527 (patch)
tree90ff3da9d1d9041385642e97cdc2218e8265e624 /include
parent0f23a894e51fe11cecb6fd762a6360224717912c (diff)
Level up condition removed lines count
Diffstat (limited to 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/functions.h2
-rw-r--r--include/tet_conf.h2
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
/*