From ba07c2bc98fdba991b6d6444d57f0f897cf5959f Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 12 Jun 2016 20:08:57 +0200 Subject: import full project --- global.h | 112 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) (limited to 'global.h') diff --git a/global.h b/global.h index 1447014..f1709b9 100644 --- a/global.h +++ b/global.h @@ -1,57 +1,57 @@ -#ifndef __GLOBAL_H__ -#define __GLOBAL_H__ - -#define Dir_0 0 -#define Dir_90 1 -#define Dir_180 2 -#define Dir_270 3 - -//direction of brick - -#define Down 0 -#define Left -1 -#define Right 1 -#define Fast 30 -#define Rot 20 -#define Swap 10 - -//type of movement - -#define False 0 -#define True 1 - -//for bools - -extern char* pScreen; -//pointer to the 3 graybuffers - -extern char right; -extern char left; -//can move? - -extern char changemap[21][10]; -extern char globalmap [20][10]; -//the two brickmaps: globalmap is the visible one - -extern char block; -//block type -extern int xpos, ypos; -extern char dir; -//position and direction of brick - -extern int level; -//current level - -extern unsigned int points; -//points - -extern char nextdir; -//the direction for the next round - -extern char nextblock; -//the next block - -extern char hold; -//the stored brick - +#ifndef __GLOBAL_H__ +#define __GLOBAL_H__ + +#define Dir_0 0 +#define Dir_90 1 +#define Dir_180 2 +#define Dir_270 3 + +//direction of brick + +#define Down 0 +#define Left -1 +#define Right 1 +#define Fast 30 +#define Rot 20 +#define Swap 10 + +//type of movement + +#define False 0 +#define True 1 + +//for bools + +extern char* pScreen; +//pointer to the 3 graybuffers + +extern char right; +extern char left; +//can move? + +extern char changemap[21][10]; +extern char globalmap [20][10]; +//the two brickmaps: globalmap is the visible one + +extern char block; +//block type +extern int xpos, ypos; +extern char dir; +//position and direction of brick + +extern char level; +//current level + +extern unsigned int points; +//points + +extern char nextdir; +//the direction for the next round + +extern char nextblock; +//the next block + +extern char hold; +//the stored brick + #endif \ No newline at end of file -- cgit v1.3.1