diff --git a/src/game/tetromino/shapes.c b/src/game/tetromino/shapes.c index 4ac0423..25236db 100644 --- a/src/game/tetromino/shapes.c +++ b/src/game/tetromino/shapes.c @@ -11,15 +11,15 @@ #define SHAPE_I_180 ((u16)0x00F0) // 0000 0000 1111 0000 the I tetromino with a 180° rotation #define SHAPE_I_270 ((u16)0x4444) // 0100 0100 0100 0100 the I tetromino with a 270° rotation -#define SHAPE_S ((u16)0xC600) // 1100 0110 0000 0000 the Z tetromino with no rotation -#define SHAPE_S_90 ((u16)0x2640) // 0010 0110 0100 0000 the Z tetromino with a 90° rotation -#define SHAPE_S_180 ((u16)0x0C60) // 0000 1100 0110 0000 the Z tetromino with a 180° rotation -#define SHAPE_S_270 ((u16)0x4C80) // 0100 1100 1000 0000 the Z tetromino with a 270° rotation +#define SHAPE_S ((u16)0x6C00) // 0110 1100 0000 0000 the S tetromino with no rotation +#define SHAPE_S_90 ((u16)0x4620) // 0100 0110 0010 0000 the S tetromino with a 90° rotation +#define SHAPE_S_180 ((u16)0x06C0) // 0000 0110 1100 0000 the S tetromino with a 180° rotation +#define SHAPE_S_270 ((u16)0x8C40) // 1000 1100 0100 0000 the S tetromino with a 270° rotation -#define SHAPE_Z ((u16)0x6C00) // 0110 1100 0000 0000 the S tetromino with no rotation -#define SHAPE_Z_90 ((u16)0x4620) // 0100 0110 0010 0000 the S tetromino with a 90° rotation -#define SHAPE_Z_180 ((u16)0x06C0) // 0000 0110 1100 0000 the S tetromino with a 180° rotation -#define SHAPE_Z_270 ((u16)0x8C40) // 1000 1100 0100 0000 the S tetromino with a 270° rotation +#define SHAPE_Z ((u16)0xC600) // 1100 0110 0000 0000 the Z tetromino with no rotation +#define SHAPE_Z_90 ((u16)0x2640) // 0010 0110 0100 0000 the Z tetromino with a 90° rotation +#define SHAPE_Z_180 ((u16)0x0C60) // 0000 1100 0110 0000 the Z tetromino with a 180° rotation +#define SHAPE_Z_270 ((u16)0x4C80) // 0100 1100 1000 0000 the Z tetromino with a 270° rotation #define SHAPE_T ((u16)0x0E40) // 0000 1110 0100 0000 the T tetromino with no rotation #define SHAPE_T_90 ((u16)0x4C40) // 0100 1100 0100 0000 the T tetromino with a 90° rotation