Commit Graph

8 Commits

Author SHA1 Message Date
3cbb090a29 implement logic-based function in rendering 2025-07-03 09:38:16 +02:00
7b3b09ebe7 fix: a tetromino can't appear twice in a row, and rotation is no longer preserved
Tetrominos can now appear twice in a row, and rotation is no longer
preserved for each shape.
(if you rotated a specific shape 90°, now whenever you encounter this
shape, it spawns with a 90° rotation, and so forth)
2025-06-27 12:30:11 +02:00
0f4c9411b0 write constants VX, VY, to make vector component selection more readable 2025-06-26 11:48:15 +02:00
937ecedfe3 implement new code, and remove deprecated old code. Overal optimisation.
this code is currently broken, but this'll be fixed in a subsequent
commit
2025-06-25 16:58:58 +02:00
a202442853 write some TODO comments 2025-06-25 15:44:17 +02:00
9fbc9e0f9a use common integer type in shapes.c/shapes.h, for decreasing namespace pollution 2025-06-25 15:40:52 +02:00
b446a43738 use tabs over spaces 2025-06-25 15:40:52 +02:00
3b306288e9 rename "renderer" to "render" 2025-06-25 15:40:52 +02:00