From 5569093562f6c4adda383a0d6bb264b034dc279e Mon Sep 17 00:00:00 2001 From: Jason Bou-Samra <154414066+bou-samra@users.noreply.github.com> Date: Mon, 12 Aug 2024 18:49:36 +1000 Subject: [PATCH] Update render.h --- src/render.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/render.h b/src/render.h index cd83281..d214769 100644 --- a/src/render.h +++ b/src/render.h @@ -1,7 +1,8 @@ #ifndef RENDER_H #define RENDER_H -int display_grid (); // refresh game board +int update (void); +int display_grid (void); // refresh game board int Ren_restart (void); // game over/restart int Ren_pause (void); // pause int Ren_game (void); // render game @@ -14,4 +15,5 @@ int Ren_next (void); // display next block/brick/piece int Ren_high (void); // display high scores int Ren_line (char line[], int char_x, int char_y, int ln, int ll, bool col ); // parameter names in function prototypes not necessary +extern int row, col; #endif