blob: ece274b472931ebf7b5869f23756f025936f5461 (
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
int 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
|