summaryrefslogtreecommitdiff
path: root/src/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/common.h')
-rw-r--r--src/include/common.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h
new file mode 100644
index 0000000..84cbe2c
--- /dev/null
+++ b/src/include/common.h
@@ -0,0 +1,21 @@
+#include <SFML/Audio.h>
+#include <SFML/Graphics.h>
+#include <SFML/System.h>
+#include <SFML/Window/Keyboard.h>
+#include <stdio.h>
+#include <time.h>
+#include <stdlib.h>
+#include "functions.h"
+#include "tet_conf.h"
+
+//#define EXIT_FAILURE -1
+//#define EXIT_SUCCESS 0
+
+struct tCell {
+ short a; // active/empty state of cell
+ sfColor fColor, oColor; // fill and outline color of cell
+};
+
+struct tCell activeShape[4][4], // 4x4 block of active crawling shape
+ field_rAttr[20][10];// field cells attributess
+