summaryrefslogtreecommitdiff
path: root/include/engine.h
blob: 655eb01e2932068686126001110d3341ea69f68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define RIGHT     1
#define DOWN      2
#define UP        4
#define LEFT      8
#define RIGHTHOLD 16
#define LEFTHOLD  128

void tKeyCtrl();
void tTick();
void checkLevelUp(struct game *game);
int getMoveLatencyOfLevel(int level);
int rmLines();
void valueAfterTextDisplay(int value, List *texts, char *type);
void colorizeActive();
void drawFld(sfRenderWindow *window);
void gameover(struct game *game);
void genNextShape();
void drawNextShape();
void freeFld();