arreglos d'estil pa deixar el repo com a plantilla

This commit is contained in:
2025-04-07 13:57:19 +02:00
parent 502ba7297a
commit c3e1abff13
17 changed files with 178 additions and 177 deletions

View File

@@ -1,7 +1,13 @@
#include "audio.h"
#include "jail_audio.h"
#include "options.h"
#include <SDL3/SDL.h>
#include <SDL3/SDL_audio.h> // for SDL_AudioFormat
#include <SDL3/SDL_error.h> // for SDL_GetError
#include <SDL3/SDL_init.h> // for SDL_Init, SDL_INIT_AUDIO
#include <SDL3/SDL_log.h> // for SDL_LogInfo, SDL_LogCategory, SDL_LogError
#include <algorithm> // for clamp
#include "jail_audio.h" // for JA_FadeOutMusic, JA_Init, JA_PauseMusic
#include "options.h" // for Options, OptionsAudio, options, OptionsM...
struct JA_Music_t;
struct JA_Sound_t;
// [SINGLETON] Hay que definir las variables estáticas, desde el .h sólo la hemos declarado
Audio *Audio::audio_ = nullptr;