Minesweeper prog

This commit is contained in:
2025-10-06 09:35:05 -05:00
parent c0cd4ead04
commit bacd0e6e39
21 changed files with 299 additions and 32 deletions

View File

@@ -45,6 +45,13 @@ typedef color4b_t color_t;
#define color4b(r, g, b, a) ((color4b_t){r, g, b, a})
#define color(r, g, b, a) ((color_t){r, g, b, a})
#define color_hex(hex) color( \
((hex >> 24) & 0xFF), \
((hex >> 16) & 0xFF), \
((hex >> 8) & 0xFF), \
(hex & 0xFF) \
)
#define COLOR_WHITE_3F color3f(1.0f, 1.0f, 1.0f)
#define COLOR_WHITE_4F color4f(1.0f, 1.0f, 1.0f, 1.0f)
#define COLOR_WHITE_3B color3b(255, 255, 255)

View File

@@ -109,11 +109,6 @@ errorret_t displayUpdate(void) {
spriteBatchClear();
frameBufferBind(NULL);
frameBufferClear(
FRAMEBUFFER_CLEAR_COLOR | FRAMEBUFFER_CLEAR_DEPTH,
COLOR_CORNFLOWER_BLUE
);
sceneManagerRender();
spriteBatchFlush();