diff options
author | oxore <oxore@protonmail.com> | 2016-09-04 00:24:25 +0700 |
---|---|---|
committer | oxore <oxore@protonmail.com> | 2016-09-04 00:24:25 +0700 |
commit | 81a072addd62c6c796633ab456b02c586cf86570 (patch) | |
tree | 32f107c66b4a88c208689c849271385983582b45 /src/include/common.h | |
parent | 66af930b6160ded97622ceca97212ab06946599a (diff) |
Structurized. README.md updated.
Diffstat (limited to 'src/include/common.h')
-rw-r--r-- | src/include/common.h | 21 |
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 + |