yayayayayaya

This commit is contained in:
2023-09-13 01:06:19 +02:00
parent 88a5bff3df
commit 078c72c400
7 changed files with 87 additions and 17 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ unsigned int prepare_bg(bool use_texture, unsigned int *texture);
void draw_bg_grid_shader(Shader shader, unsigned int vao, float* transform, float resolution);
void draw_bg_grid_texture(Shader shader, unsigned int vao, unsigned int texture, float* transform);
void draw_numbers(Shader shader, unsigned int vao, unsigned int vbo, float *transform, int board[9][9]);
void draw_win_overlay(Shader shader, unsigned int vao, unsigned int vbo, float *transform);
unsigned int prepare_win_overlay();
void draw_win_overlay(Shader win_shader, Shader font_shader, unsigned int vao, unsigned int font_vao, unsigned int font_vbo, float *transform);
void prepare_selection_box(unsigned int *vao, unsigned int *vbo);
void draw_selection_box(Shader shader, unsigned int vao, unsigned int vbo, int x, int y, float *transform);
void do_selection(Cudoku *game, int x, int y, int width, int height, float x_scale, float y_scale);