mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
fix column size
This commit is contained in:
@@ -4,10 +4,8 @@
|
|||||||
|
|
||||||
#include "../window/colour.h"
|
#include "../window/colour.h"
|
||||||
|
|
||||||
typedef uint32_t PackedRow;
|
|
||||||
|
|
||||||
// stores the data used in the game
|
// stores the data used in the game
|
||||||
#define COLUMNS ((uint8_t)(sizeof(PackedRow) * 8 / 3))
|
#define COLUMNS ((uint8_t)10)
|
||||||
#define ROWS ((uint8_t)(COLUMNS * 2))
|
#define ROWS ((uint8_t)(COLUMNS * 2))
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user