summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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
/*