From 81a072addd62c6c796633ab456b02c586cf86570 Mon Sep 17 00:00:00 2001 From: oxore Date: Sun, 4 Sep 2016 00:24:25 +0700 Subject: Structurized. README.md updated. --- src/include/common.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/include/common.h (limited to 'src/include/common.h') 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 +#include +#include +#include +#include +#include +#include +#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 + -- cgit v1.2.3