Changed linebreak; animateLineClear clears a given line with a little animation; Display the correct word on game win

This commit is contained in:
2017-05-23 20:23:00 +02:00
parent bc8560aec5
commit 72385eea81
2 changed files with 31 additions and 18 deletions

View File

@@ -9,7 +9,7 @@
#define ALPHABET 26
#define ALPHABET_NUM 36
#define ANIM_DURATION 1
#define LINEBREAK 8 //Linebreak offset
#define LINEBREAK 16 //Linebreak offset
/* Data structures */
typedef struct {
@@ -58,3 +58,4 @@ int centerDiff(int coordinate, char *str);
void readRandomLine(char *file, char *result);
void trollHitScreen(game_state *gs, int hits);
void drawFigure(game_state *gs, int drawNext);
void animateLineClear(game_state *gs, int line, int offsetMultiplier);