blob: 84cbe2cbade104b698677044be4c161e1966c1ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
|