(re)add placing sound effect

This commit is contained in:
2025-06-27 12:40:42 +02:00
parent 21aca01cba
commit d42e5c25f4

View File

@@ -4,8 +4,8 @@
#include <string.h> #include <string.h>
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include "../../io/audio.h"
#include "../../io/input.h" #include "../../io/input.h"
#include "../../io/window.h"
#include "../../util/types.h" #include "../../util/types.h"
#include "../../util/vec.h" #include "../../util/vec.h"
#include "../game.h" #include "../game.h"
@@ -103,8 +103,7 @@ void place_update(struct gamedata* gdat, int movdat) {
set_shape(gdat->rows + gdat->pdat.sel[VY], id, gdat->pdat.sel[VX]); set_shape(gdat->rows + gdat->pdat.sel[VY], id, gdat->pdat.sel[VX]);
clear_rows(gdat->rows, &gdat->pnts); // clear the rows that have been completed clear_rows(gdat->rows, &gdat->pnts); // clear the rows that have been completed
next_shape(); next_shape();
// TODO: play place_sfx audio_play(AUDIO_ID_PLACE);
// return;
} }
// update X axis // update X axis