Changed linebreak; animateLineClear clears a given line with a little animation; Display the correct word on game win
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user