From 699bc7a54791c1428edbe8505d0701d80902eba6 Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 26 Jun 2025 14:12:36 +0200 Subject: [PATCH] add comments to pdat --- src/game/game.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/game.h b/src/game/game.h index 67db584..e0f90f2 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -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 */