mirror of
https://github.com/IllusionMan1212/cudoku.git
synced 2026-10-24 02:12:25 +00:00
restructure zephr
This commit is contained in:
@@ -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); */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user