Hi all,
i wanted to know if it was possible to convert a .mod file into a .h file to have a small music stored directly into the executable file.
I mean something like this:
//into .h file
static Mix_Music *MyMusic = {0XFF, 0XBA, 0XCC.... and so on
to be simply called into main.cc in a similar manner:
Mix_PlayMusic(MyMusic, -1);
My idea is to create an executable file that contains within it the piece of music that should sound. In your opinion what is possible using SDL_mixer? And how can convert a .mod file into a .h file?
Thanks to all!