summaryrefslogtreecommitdiff
path: root/src/include/common.h
blob: e7624c71fb30b7238e38a3ef48f9c6327a61e7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef TCOMMON_H
#define TCOMMON_H

#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
struct tCell fld_rAttr[20][10];// fld cells attributes

#endif