summaryrefslogtreecommitdiff
path: root/src/include/common.h
blob: bef85f2fc85ae32d42c3db32a75d98e676752b1c (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
				field_rAttr[20][10];// field cells attributess

#endif