diff options
author | oxore <oxore@protonmail.com> | 2016-07-29 07:16:21 +0700 |
---|---|---|
committer | oxore <oxore@protonmail.com> | 2016-07-29 07:16:21 +0700 |
commit | 03e74d098cc9a0abda9d6d678089a0c6ce1b0066 (patch) | |
tree | 3d3b3ad0029848fac1074ead516223247b2b1c0e /common.h |
Just added to github. Project is too raw.
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/common.h b/common.h new file mode 100644 index 0000000..84cbe2c --- /dev/null +++ b/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 + |