mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
fix: you need to take the square root of the size, not divide by two,
This commit is contained in:
@@ -21,8 +21,8 @@ enum {
|
||||
TETROMINO_ROTATED_270 = 24,
|
||||
};
|
||||
|
||||
#define SHAPE_WIDTH ((uint8_t)(sizeof(Shape) * 8 / 2))
|
||||
#define SHAPE_HEIGHT ((uint8_t)(sizeof(Shape) * 8 / 2))
|
||||
#define SHAPE_WIDTH 4
|
||||
#define SHAPE_HEIGHT 4
|
||||
#define TETROMINO_COUNT 7
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user