mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 05:55:46 +01:00
fix: rotation mask incorrect
This commit is contained in:
@@ -17,10 +17,10 @@ enum tetromino {
|
|||||||
TET_L = 0x04,
|
TET_L = 0x04,
|
||||||
TET_S = 0x05,
|
TET_S = 0x05,
|
||||||
TET_Z = 0x06,
|
TET_Z = 0x06,
|
||||||
TET_R0 = 0x08,
|
TET_R0 = 0x00,
|
||||||
TET_R90 = 0x10,
|
TET_R90 = 0x08,
|
||||||
TET_R180 = 0x20,
|
TET_R180 = 0x10,
|
||||||
TET_R270 = 0x40,
|
TET_R270 = 0x18,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Stores the co-ordinates of the four blocks in a 4x4 plane.
|
/* Stores the co-ordinates of the four blocks in a 4x4 plane.
|
||||||
|
|||||||
Reference in New Issue
Block a user