summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2017-12-02 18:07:04 +0300
committerOxore <oxore@protonmail.com>2017-12-02 18:07:04 +0300
commit4e09b4c2e92806dc3230e6b9f1c2a1ff023c6080 (patch)
treee943a47779d1836c52e8591a9ab347a38016c484 /src/main.c
parent0edc5e799a5485f405756695491f1a497c21243c (diff)
Rearrange includes; replace uint8_t by char
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c429ca9..0677e11 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,16 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <SFML/System/Clock.h>
+#include <SFML/Window/Keyboard.h>
+#include <SFML/Graphics/RenderWindow.h>
+#include <SFML/Graphics/Font.h>
+
#include "common.h"
#include "functions.h"
#include "text.h"
+#include "tet_conf.h"
/* --- Variables --- */
Window w = {.mode = {450, 520, 32}};
@@ -10,7 +20,7 @@ sfFont *fontScore;
Shape active, next;
Field fld;
-uint8_t arrKeys = 0b00000000; // Arrow keys states byte container
+char arrKeys = 0b00000000; // Arrow keys states byte container
/* --- Variables End --- */
sfClock *gameTick;