diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-06-12 20:08:57 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-06-12 20:08:57 +0200 |
| commit | ba07c2bc98fdba991b6d6444d57f0f897cf5959f (patch) | |
| tree | 6ff34bf1bf181a6eebcd59bbeba2ad05ffe4408b /src/global.c | |
| parent | 847d1a917f6cb17493c66398ce4ce53b89d8c438 (diff) | |
| download | fx-matris-master.tar.gz fx-matris-master.zip | |
Diffstat (limited to 'src/global.c')
| -rw-r--r-- | src/global.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/global.c b/src/global.c new file mode 100644 index 0000000..d3afdab --- /dev/null +++ b/src/global.c @@ -0,0 +1,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
|
