diff options
-rw-r--r-- | src/include/common.h | 4 | ||||
-rw-r--r-- | src/include/functions.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/include/common.h b/src/include/common.h index 84cbe2c..bef85f2 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -1,3 +1,6 @@ +#ifndef TCOMMON_H +#define TCOMMON_H + #include <SFML/Audio.h> #include <SFML/Graphics.h> #include <SFML/System.h> @@ -19,3 +22,4 @@ struct tCell { struct tCell activeShape[4][4], // 4x4 block of active crawling shape field_rAttr[20][10];// field cells attributess +#endif diff --git a/src/include/functions.h b/src/include/functions.h index 1816399..3c54dfd 100644 --- a/src/include/functions.h +++ b/src/include/functions.h @@ -1,3 +1,5 @@ +#ifndef TFUNCTIONS_H +#define TFUNCTIONS_H /* Prototypes of functions*/ void tKeyCtrl(); @@ -16,4 +18,6 @@ void rotateS3(); void rotateS4(); int linesRmScore(); void scoreDisplay(); -void menuTick();
\ No newline at end of file +void menuTick(); + +#endif |