game works as before without a few things

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent 77ec3991c7
commit 91fd72db36
12 changed files with 136 additions and 332 deletions
+3 -5
View File
@@ -24,12 +24,10 @@ typedef struct Cudoku {
float win_time;
} Cudoku;
void draw_bg_grid_texture(Shader shader, unsigned int vao, unsigned int texture, 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, Color color);
void highlight_mistakes(Shader shader, unsigned int vao, unsigned vbo, float *transform, Cudoku *game);
void draw_selection_box(int x, int y, const Color color);
void highlight_mistakes(Cudoku *game);
void toggle_check(Cudoku *game);
void do_selection(Cudoku *game, int x, int y, int width, int height, float x_scale, float y_scale);
void do_selection(Cudoku *game, int x, int y);
void set_selected_number(Cudoku *game, int number);
void move_selection(Cudoku *game, int x, int y);
void toggle_selection(Cudoku *game);