From 7010781fe755fe0e70b4f1e679b4a8571b02644b Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sun, 27 Oct 2019 16:48:00 -0400 Subject: minor fix in function defintion --- lib/cetris.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/cetris.h b/lib/cetris.h index 57f2a17..4d654c7 100644 --- a/lib/cetris.h +++ b/lib/cetris.h @@ -57,7 +57,6 @@ enum { enum { SLOT_OCCUPIED = 1, - SLOT_GHOST = 1 << 1, }; enum { @@ -106,7 +105,7 @@ typedef struct { uint8_t board[CETRIS_BOARD_X][CETRIS_BOARD_Y]; int8_t highest_line; - // constant queue of all 7 possible tetrimino + // queue of all 7 possible tetrimino uint8_t piece_queue[7]; uint8_t next_queue[7]; uint8_t current_index; @@ -197,7 +196,7 @@ static void update_board(cetris_game *g); CETRIS_EXPORT void update_game_tick(cetris_game *g); CETRIS_EXPORT void hold_piece(cetris_game *g); -CETRIS_EXPORT void init_game(cetris_game *g); +CETRIS_EXPORT void init_game(cetris_game *g, cetris_config *c); CETRIS_EXPORT void hold_piece(cetris_game *g); static void set_piece(uint8_t type, tetrimino* mino) { -- cgit v1.2.3-101-g0448