use correct 8 bit colourspace instead of including alpha

This commit is contained in:
2025-02-03 15:02:00 +01:00
parent 49b3add8c5
commit c546f78c4c
8 changed files with 55 additions and 78 deletions

View File

@@ -2,15 +2,15 @@
#include <stdint.h>
#include "../window/colour.h"
#include "../window/colour8.h"
#include "tetromino/shapes.h"
// stores the data used in the game
#define COLUMNS ((int8_t)10)
#define ROWS ((int8_t)(COLUMNS * 2))
typedef const Colour* CRow;
typedef Colour* Row;
typedef const Colour8* CRow;
typedef Colour8* Row;
typedef struct {
Row rows[ROWS];