[xmoto-dev] Sound and xmoto-edit |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/xmoto-dev Archives
]
* ramus,
there is a sound.h
and
#if defined(_MSC_VER) /* this works around a bug in SDL_mixer
1.2.7 on Windows */
SDL_RWops *rwfp;
rwfp = SDL_RWFromFile(pc, "rb");
m_pMenuMusic = Mix_LoadMUS_RW(rwfp);
#else
m_pMenuMusic = Mix_LoadMUS(pc);
#endif
it makes two way to play music, is there a one which shoudl be removed ?
* ramus, don't forget to package xmoto-edit for windows please when
you'll be back (there is currently less levels, people who install xmoto
0.2.4 disinstall xmoto-edit ;-(