summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 89754ff..bf9014a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,15 +21,14 @@ struct idlist *texts;
struct field fld, nxt;
struct game game = {
- .isStarted = 0,
+ .started = 0,
+ .paused = 0,
.scoreCurrent = 0,
.level = 1,
.moveLatency = L00LATENCY,
.lines = 0
};
-char arrKeys = 0;
-
static void handleWindowEvents() {
sfEvent event;
while (sfRenderWindow_pollEvent(window, &event))