diff options
author | Oxore <oxore@protonmail.com> | 2017-12-02 18:07:04 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2017-12-02 18:07:04 +0300 |
commit | 4e09b4c2e92806dc3230e6b9f1c2a1ff023c6080 (patch) | |
tree | e943a47779d1836c52e8591a9ab347a38016c484 /src/main.c | |
parent | 0edc5e799a5485f405756695491f1a497c21243c (diff) |
Rearrange includes; replace uint8_t by char
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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; |