From 7583da2ad37d9ef921c847b9ebb8cdb1c7d5f263 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 7 Jul 2025 10:57:02 +0200 Subject: [PATCH] remove TODOs --- src/game/tetromino/placing.c | 1 - src/io/audio.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/game/tetromino/placing.c b/src/game/tetromino/placing.c index 7dcff2a..c1d1c89 100644 --- a/src/game/tetromino/placing.c +++ b/src/game/tetromino/placing.c @@ -55,7 +55,6 @@ static void clear_rows(u8* restrict* restrict rows, u16* const score) { } } -// TODO: this is suboptimal, ditch the entire "representing shapes as binary-formatted data" and instead use a switch...case. /* writes a shape to the screen */ static void plcmnt_place(u8* restrict const* restrict row, u8 id, i8vec2 pos) { u8 colour = colour_from_id(id); diff --git a/src/io/audio.c b/src/io/audio.c index 5150dd4..72cac5c 100644 --- a/src/io/audio.c +++ b/src/io/audio.c @@ -1,4 +1,3 @@ -// TODO: audio stores audio buffers at indicies that the user specifies. (array growth is the next power of two from the idx) #include "audio.h" #include