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