Commit Graph

30 Commits

Author SHA1 Message Date
7583da2ad3 remove TODOs 2025-07-07 10:57:02 +02:00
baf59fa84e refactor: comments and small semantic fixes 2025-07-03 13:33:54 +02:00
ede32b4ff7 function name changes for clairity 2025-07-03 13:33:39 +02:00
c889dee588 execute new formatter 2025-07-03 09:56:50 +02:00
3cbb090a29 implement logic-based function in rendering 2025-07-03 09:38:16 +02:00
b5b51ae555 fix: input dropping sometimes 2025-07-02 15:12:14 +02:00
97f7f05a5c refactor comments 2025-07-02 10:30:59 +02:00
00db0cda7e fix: double input issue 2025-07-01 12:04:30 +02:00
f124076037 code cleanup 2025-07-01 11:44:06 +02:00
9d7d82a9b6 fix: rotation feels rather funky. 2025-07-01 10:45:47 +02:00
1ae6d936eb seperate rotation timeout 2025-06-30 10:59:28 +02:00
63f8260140 add input timeout and input keypresses 2025-06-27 13:01:28 +02:00
21aca01cba rework audio system to be able to call it from anywhere, rather than having to have access to the audio data. 2025-06-27 12:39:04 +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
dd8fc37494 re-implement shape dropping 2025-06-26 14:08:34 +02:00
d852eb2283 add capability of VI keybindings 2025-06-26 13:33:51 +02:00
0f4c9411b0 write constants VX, VY, to make vector component selection more readable 2025-06-26 11:48:15 +02:00
0a0e03a769 fix: not initialising TTF module 2025-06-26 11:04:55 +02:00
c1d7f71a02 make window freeing more manual 2025-06-26 11:02:14 +02:00
a94e2d147b fix: memory leak on exit 2025-06-26 10:55:02 +02:00
d7989c5918 fix: wasn't initialising the window properly 2025-06-26 10:54:52 +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
a7d5f1bb2a write code for input handling 2025-06-25 15:41:49 +02:00
046f7affaf write code for window handling 2025-06-25 15:41:44 +02:00
9fbc9e0f9a use common integer type in shapes.c/shapes.h, for decreasing namespace pollution 2025-06-25 15:40:52 +02:00
6a1b4104cf rework audio handling, since it was flawed 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
7c20704990 rename window io 2025-06-25 15:39:23 +02:00