mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
add comments to pdat
This commit is contained in:
@@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
/* contains the placement data */
|
/* contains the placement data */
|
||||||
struct pdat {
|
struct pdat {
|
||||||
u8 nxt[TETROMINO_COUNT];
|
u8 nxt[TETROMINO_COUNT]; // shuffled data representing the next shapes
|
||||||
i8vec2 sel;
|
i8vec2 sel; // position of the current shape
|
||||||
u8 idx;
|
u8 idx; // the index of the current shape
|
||||||
};
|
};
|
||||||
|
|
||||||
/* contains game data that's commonly shared */
|
/* contains game data that's commonly shared */
|
||||||
|
|||||||
Reference in New Issue
Block a user