restructure zephr

This commit is contained in:
2023-11-29 01:42:44 +02:00
parent c0d47aa1bc
commit f5a2343646
16 changed files with 618 additions and 760 deletions
+2 -13
View File
@@ -8,9 +8,10 @@
#include "3rdparty/stb/stb_image.h"
#include "cudoku.h"
#include "shader.h"
#include "audio.h"
#include "ui.h"
#include "text.h"
#include "zephr.h"
#define HELP_TEXT_SIZE 13
@@ -199,18 +200,6 @@ void draw_bg_grid_texture(Shader shader, unsigned int vao, unsigned int texture,
glBindVertexArray(0);
}
void draw_numbers(Shader shader, unsigned int vao, unsigned int vbo, float *transform, Cell board[9][9]) {
for (int i = 0; i < 9; i++) {
for (int j = 0; j < 9; j++) {
if (board[i][j].value != 0) {
/* draw_number(shader, board[i][j], i, j, 5.0f, vao, vbo, transform); */
}
}
}
glBindVertexArray(0);
}
/* void draw_pause_overlay(Cudoku *game) { */
/* timer_pause(&game->timer); */