summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-06-12 19:38:09 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-06-12 19:38:09 +0200
commit847d1a917f6cb17493c66398ce4ce53b89d8c438 (patch)
tree60217c2da82d985d676e95260ae8079ff76b03dc /global.c
downloadfx-matris-847d1a917f6cb17493c66398ce4ce53b89d8c438.tar.gz
fx-matris-847d1a917f6cb17493c66398ce4ce53b89d8c438.zip
import into git
Diffstat (limited to 'global.c')
-rw-r--r--global.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/global.c b/global.c
new file mode 100644
index 0000000..ece274b
--- /dev/null
+++ b/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
+
+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