mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
add game music (very rudimentary and hacky)
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
#include "SDL_ttf.h"
|
||||
#include "errors.h"
|
||||
#include "game/game.h"
|
||||
// #include "window/audio.h"
|
||||
#include "window/renderer.h"
|
||||
|
||||
#ifdef __EMSCRIPTEN__ // for web builds
|
||||
@@ -39,10 +38,6 @@ static void init(void) {
|
||||
// initialize units
|
||||
game_init(&game_data);
|
||||
renderer_init(&render_data, &game_data);
|
||||
|
||||
// initialize audio
|
||||
// AudioDevice* audio_device = audio_device_init(32000, AUDIO_S16, 1, 4096);
|
||||
// AudioData audio1 = audio_load_wav(audio_device, "FILE MANE");
|
||||
}
|
||||
|
||||
// handles game application updating
|
||||
|
||||
Reference in New Issue
Block a user