explosion sounds adapted to sdl_mixer

This commit is contained in:
Vincent-FK
2021-06-04 15:14:03 +02:00
parent 00321a6899
commit 4111592d33
3 changed files with 45 additions and 29 deletions

View File

@@ -19,8 +19,21 @@
#ifdef SOUND_FMOD_ACTIVATED
#include <FMOD/fmod.h>
#endif //SOUND_FMOD_ACTIVATED
#elif defined(SOUND_SDL_ACTIVATED)
#include <SDL/SDL_mixer.h>
#endif //SOUND_SDL_ACTIVATED
struct s_game {
t_map map;
int nb_joueur;
int kill_bomb;
t_player player1;
t_player player2;
t_bomb list_bombs;
t_flamme list_flammes;
t_monster list_monsters;
};
typedef struct s_game * t_game;
// Create a new game