blob: d3afdab9171e07a905959e954ff596a3f44d556d (
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
26
27
28
29
30
31
32
33
|
#include "global.h"
char* pScreen;
//pointer to the 3 graybuffers
char right = True;
char left = True;
//can move?
char changemap[21][10] = {0};
char globalmap [20][10] = {0};
//the two brickmaps: globalmap is the visible one
char block;
//block type
int xpos = 7, ypos = 3;
char dir;
//position and direction of brick
char level;
//current level
unsigned int points = 0;
//points
char nextdir = Down;
//the direction for the next round
char nextblock = 1;
//the next block
char hold = 0;
//the stored brick
|