Update render.h

This commit is contained in:
Jason Bou-Samra
2024-09-07 20:47:43 +10:00
committed by GitHub
parent 05ad25af22
commit ae4d8d936f
+21 -1
View File
@@ -15,12 +15,32 @@ 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
int col_update(void);
int Ren_frame();
int Ren_frame(void);
extern int tile_shp;
extern int tilesrc_x, tilesrc_y, tiledst_x, tiledst_y;
extern int row, col;
extern int tile_c;
extern int last_time, current_time, deltatime, score;
extern int spr_x[5][6];
extern int mask[2];
extern int spr_y[6];
extern SDL_Rect logo_src;
extern SDL_Rect logo_dst;
//extern SDL_Rect char_src;
//extern SDL_Rect char_dst;
extern SDL_Rect main_back;
extern SDL_Rect main_trim;
extern SDL_Rect level_back;
extern SDL_Rect level_trim;
extern SDL_Rect next_back;
extern SDL_Rect next_trim;
extern SDL_Rect next_tile;
extern SDL_Rect high_back;
extern SDL_Rect high_trim;
extern SDL_Rect tile_src;
extern SDL_Rect tile_dst;
extern SDL_Rect gameo_back;
#endif