diff options
author | Oxore <oxore@protonmail.com> | 2017-11-30 17:42:15 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2017-11-30 17:42:15 +0300 |
commit | ae01c7fc02f17105f9e04af493f4dd8986fbcb8b (patch) | |
tree | ea40b11235633946b12b66aba56a412c5db800e4 /include/functions.h | |
parent | 75d123b79dc894f2c2de43f25009b5fa84a00eec (diff) |
Move includes to root dir
Diffstat (limited to 'include/functions.h')
-rw-r--r-- | include/functions.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/functions.h b/include/functions.h new file mode 100644 index 0000000..ef9d42f --- /dev/null +++ b/include/functions.h @@ -0,0 +1,30 @@ +#ifndef TFUNCTIONS_H +#define TFUNCTIONS_H + +/* Prototypes of functions*/ +void tKeyCtrl(); +void initFld(); +void tTick(); +void resetActiveShape(); +void putShape(); +int cellCollisionCheck(int dir); +int wallCollisionCheck(); +int cellRotCollisionCheck(); +int wallRotCollisionCheck(); +void rotateLeft(); +void rotateRight(); +void rotateShape(); +int linesRmScore(); +void scoreDisplay(); +void colorizeFld(); +void colorizeActiSh(); +void drawFld(sfRenderWindow *window); +void menuTick(); +void colorizeRandom(); +void gameover(); +void genNextShape(); +void copyShape(struct shapeSt *localSh); +void drawNextShape(); +void cleanupFld(); + +#endif |